You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@peculiar/asn1-rsa

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peculiar/asn1-rsa - npm Package Compare versions

Comparing version

to
2.3.8

6

build/cjs/other_prime_info.js

@@ -15,2 +15,3 @@ "use strict";

}
exports.OtherPrimeInfo = OtherPrimeInfo;
tslib_1.__decorate([

@@ -25,3 +26,2 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Integer, converter: asn1_schema_1.AsnIntegerArrayBufferConverter })

], OtherPrimeInfo.prototype, "coefficient", void 0);
exports.OtherPrimeInfo = OtherPrimeInfo;
let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends asn1_schema_1.AsnArray {

@@ -33,5 +33,5 @@ constructor(items) {

};
OtherPrimeInfos = OtherPrimeInfos_1 = tslib_1.__decorate([
exports.OtherPrimeInfos = OtherPrimeInfos;
exports.OtherPrimeInfos = OtherPrimeInfos = OtherPrimeInfos_1 = tslib_1.__decorate([
(0, asn1_schema_1.AsnType)({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: OtherPrimeInfo })
], OtherPrimeInfos);
exports.OtherPrimeInfos = OtherPrimeInfos;

@@ -20,2 +20,3 @@ "use strict";

}
exports.RsaEsOaepParams = RsaEsOaepParams;
tslib_1.__decorate([

@@ -30,3 +31,2 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 0, defaultValue: algorithms_1.sha1 })

], RsaEsOaepParams.prototype, "pSourceAlgorithm", void 0);
exports.RsaEsOaepParams = RsaEsOaepParams;
exports.RSAES_OAEP = new asn1_x509_1.AlgorithmIdentifier({

@@ -33,0 +33,0 @@ algorithm: object_identifiers_1.id_RSAES_OAEP,

@@ -14,2 +14,3 @@ "use strict";

}
exports.DigestInfo = DigestInfo;
tslib_1.__decorate([

@@ -21,2 +22,1 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier })

], DigestInfo.prototype, "digest", void 0);
exports.DigestInfo = DigestInfo;

@@ -21,2 +21,3 @@ "use strict";

}
exports.RsaSaPssParams = RsaSaPssParams;
tslib_1.__decorate([

@@ -34,3 +35,2 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_x509_1.AlgorithmIdentifier, context: 0, defaultValue: algorithms_1.sha1 })

], RsaSaPssParams.prototype, "trailerField", void 0);
exports.RsaSaPssParams = RsaSaPssParams;
exports.RSASSA_PSS = new asn1_x509_1.AlgorithmIdentifier({

@@ -37,0 +37,0 @@ algorithm: object_identifiers_1.id_RSASSA_PSS,

@@ -21,2 +21,3 @@ "use strict";

}
exports.RSAPrivateKey = RSAPrivateKey;
tslib_1.__decorate([

@@ -52,2 +53,1 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Integer })

], RSAPrivateKey.prototype, "otherPrimeInfos", void 0);
exports.RSAPrivateKey = RSAPrivateKey;

@@ -13,2 +13,3 @@ "use strict";

}
exports.RSAPublicKey = RSAPublicKey;
tslib_1.__decorate([

@@ -20,2 +21,1 @@ (0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Integer, converter: asn1_schema_1.AsnIntegerArrayBufferConverter })

], RSAPublicKey.prototype, "publicExponent", void 0);
exports.RSAPublicKey = RSAPublicKey;

@@ -13,3 +13,3 @@ /**

*/
export declare const id_rsaEncryption: string;
export declare const id_rsaEncryption = "1.2.840.113549.1.1.1";
/**

@@ -20,3 +20,3 @@ * ```

*/
export declare const id_RSAES_OAEP: string;
export declare const id_RSAES_OAEP = "1.2.840.113549.1.1.7";
/**

@@ -27,3 +27,3 @@ * ```

*/
export declare const id_pSpecified: string;
export declare const id_pSpecified = "1.2.840.113549.1.1.9";
/**

@@ -34,3 +34,3 @@ * ```

*/
export declare const id_RSASSA_PSS: string;
export declare const id_RSASSA_PSS = "1.2.840.113549.1.1.10";
/**

@@ -41,3 +41,3 @@ * ```

*/
export declare const id_md2WithRSAEncryption: string;
export declare const id_md2WithRSAEncryption = "1.2.840.113549.1.1.2";
/**

@@ -48,3 +48,3 @@ * ```

*/
export declare const id_md5WithRSAEncryption: string;
export declare const id_md5WithRSAEncryption = "1.2.840.113549.1.1.4";
/**

@@ -55,3 +55,3 @@ * ```

*/
export declare const id_sha1WithRSAEncryption: string;
export declare const id_sha1WithRSAEncryption = "1.2.840.113549.1.1.5";
/**

@@ -62,3 +62,3 @@ * ```

*/
export declare const id_sha224WithRSAEncryption: string;
export declare const id_sha224WithRSAEncryption = "1.2.840.113549.1.1.14";
/**

@@ -70,3 +70,3 @@ * ```

*/
export declare const id_ssha224WithRSAEncryption: string;
export declare const id_ssha224WithRSAEncryption = "1.2.840.113549.1.1.14";
/**

@@ -77,3 +77,3 @@ * ```

*/
export declare const id_sha256WithRSAEncryption: string;
export declare const id_sha256WithRSAEncryption = "1.2.840.113549.1.1.11";
/**

@@ -84,3 +84,3 @@ * ```

*/
export declare const id_sha384WithRSAEncryption: string;
export declare const id_sha384WithRSAEncryption = "1.2.840.113549.1.1.12";
/**

@@ -91,3 +91,3 @@ * ```

*/
export declare const id_sha512WithRSAEncryption: string;
export declare const id_sha512WithRSAEncryption = "1.2.840.113549.1.1.13";
/**

@@ -98,3 +98,3 @@ * ```

*/
export declare const id_sha512_224WithRSAEncryption: string;
export declare const id_sha512_224WithRSAEncryption = "1.2.840.113549.1.1.15";
/**

@@ -105,3 +105,3 @@ * ```

*/
export declare const id_sha512_256WithRSAEncryption: string;
export declare const id_sha512_256WithRSAEncryption = "1.2.840.113549.1.1.16";
/**

@@ -190,2 +190,2 @@ * ```

*/
export declare const id_mgf1: string;
export declare const id_mgf1 = "1.2.840.113549.1.1.8";

@@ -7,3 +7,3 @@ import { AlgorithmIdentifier } from "@peculiar/asn1-x509";

*/
export declare type TrailerField = number;
export type TrailerField = number;
/**

@@ -10,0 +10,0 @@ * RSASSA-PSS-params ::= SEQUENCE {

@@ -9,3 +9,3 @@ import { OtherPrimeInfos } from "./other_prime_info";

*/
export declare type Version = number;
export type Version = number;
/**

@@ -12,0 +12,0 @@ * ```

{
"name": "@peculiar/asn1-rsa",
"version": "2.3.6",
"version": "2.3.8",
"description": "ASN.1 schema of `RSA Cryptography Specifications Version 2.2` (RFC8017)",

@@ -37,8 +37,8 @@ "files": [

"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"@peculiar/asn1-schema": "^2.3.8",
"@peculiar/asn1-x509": "^2.3.8",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"gitHead": "ece27cc0027104a1952ca49220b9f7063bc065c1"
"gitHead": "12e8c8084034c74d8972712d455e6ebb61a99af4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet