Class Index | File Index

Classes


Class KJUR.asn1.x509.PolicyMappings


Extends KJUR.asn1.x509.Extension.
PolicyMappings ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
PolicyMappings ASN.1 structure class
This class represents PolicyMappings extension defined in RFC 5280 4.2.1.5.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.x509.PolicyMappings(params)
PolicyMappings ASN.1 structure class
This class represents PolicyMappings extension defined in RFC 5280 4.2.1.5.
id-ce-policyMappings OBJECT IDENTIFIER ::=  { id-ce 33 }
PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
   issuerDomainPolicy      CertPolicyId,
   subjectDomainPolicy     CertPolicyId }
Its constructor can have following parameters:
  • array - Array: one or more pairs of OIDS
  • critical - boolean: critical flag
OID in "array" can use an OID name registered in KJUR.asn1.x509.OID such as "anyPolicy".
e1 = new KJUR.asn1.x509.PolicyMappings({
  array: [["1.2.3", "0.1.2"], ["anyPolicy", "1.2.4"]],
  critical: true
});
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 10.6.1 asn1x509 2.1.17

© 2012-2023 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0