Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@peculiar/asn1-x509

Package Overview
Dependencies
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peculiar/asn1-x509 - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

build/cjs/extensions/subject_info_access.js

1

build/cjs/extensions/index.js

@@ -28,1 +28,2 @@ "use strict";

tslib_1.__exportStar(require("./entrust_version_info"), exports);
tslib_1.__exportStar(require("./subject_info_access"), exports);

19

build/cjs/extensions/policy_mappings.js
"use strict";
var PolicyMappings_1;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PolicyMappings = exports.id_ce_policyMappings = void 0;
exports.PolicyMappings = exports.PolicyMapping = exports.id_ce_policyMappings = void 0;
const tslib_1 = require("tslib");

@@ -8,3 +9,3 @@ const asn1_schema_1 = require("@peculiar/asn1-schema");

exports.id_ce_policyMappings = `${object_identifiers_1.id_ce}.33`;
class PolicyMappings {
class PolicyMapping {
constructor(params = {}) {

@@ -18,6 +19,16 @@ this.issuerDomainPolicy = "";

(0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.ObjectIdentifier })
], PolicyMappings.prototype, "issuerDomainPolicy", void 0);
], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
tslib_1.__decorate([
(0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.ObjectIdentifier })
], PolicyMappings.prototype, "subjectDomainPolicy", void 0);
], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
exports.PolicyMapping = PolicyMapping;
let PolicyMappings = PolicyMappings_1 = class PolicyMappings extends asn1_schema_1.AsnArray {
constructor(items) {
super(items);
Object.setPrototypeOf(this, PolicyMappings_1.prototype);
}
};
PolicyMappings = PolicyMappings_1 = tslib_1.__decorate([
(0, asn1_schema_1.AsnType)({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: PolicyMapping })
], PolicyMappings);
exports.PolicyMappings = PolicyMappings;

@@ -25,1 +25,2 @@ export * from "./authority_information_access";

export * from "./entrust_version_info";
export * from "./subject_info_access";

@@ -0,6 +1,7 @@

var PolicyMappings_1;
import { __decorate } from "tslib";
import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
import { AsnArray, AsnProp, AsnPropTypes, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema";
import { id_ce } from "../object_identifiers";
export const id_ce_policyMappings = `${id_ce}.33`;
export class PolicyMappings {
export class PolicyMapping {
constructor(params = {}) {

@@ -14,5 +15,15 @@ this.issuerDomainPolicy = "";

AsnProp({ type: AsnPropTypes.ObjectIdentifier })
], PolicyMappings.prototype, "issuerDomainPolicy", void 0);
], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
__decorate([
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
], PolicyMappings.prototype, "subjectDomainPolicy", void 0);
], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
let PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArray {
constructor(items) {
super(items);
Object.setPrototypeOf(this, PolicyMappings_1.prototype);
}
};
PolicyMappings = PolicyMappings_1 = __decorate([
AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyMapping })
], PolicyMappings);
export { PolicyMappings };

@@ -25,1 +25,2 @@ export * from "./authority_information_access";

export * from "./entrust_version_info";
export * from "./subject_info_access";

@@ -0,1 +1,2 @@

import { AsnArray } from "@peculiar/asn1-schema";
import { CertPolicyId } from "./certificate_policies";

@@ -10,3 +11,3 @@ /**

* ```
* PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
* PolicyMapping ::= SEQUENCE {
* issuerDomainPolicy CertPolicyId,

@@ -16,3 +17,3 @@ * subjectDomainPolicy CertPolicyId }

*/
export declare class PolicyMappings {
export declare class PolicyMapping {
issuerDomainPolicy: CertPolicyId;

@@ -22,1 +23,9 @@ subjectDomainPolicy: CertPolicyId;

}
/**
* ```
* PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF PolicyMapping
* ```
*/
export declare class PolicyMappings extends AsnArray<PolicyMapping> {
constructor(items?: PolicyMapping[]);
}
{
"name": "@peculiar/asn1-x509",
"version": "2.1.3",
"version": "2.1.4",
"description": "ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)",

@@ -46,3 +46,3 @@ "files": [

},
"gitHead": "990033c25e69aa15f6b6dd0ac6e29ef2bd08a151"
"gitHead": "9df55249a444b9f82484c08ab960e37aa09384e3"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc