Class Index | File Index

Classes


Class KJUR.asn1.x509.DistributionPointName


Extends KJUR.asn1.ASN1Object.
DistributionPointName ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DistributionPointName ASN.1 structure class
This class represents DistributionPointName defined in RFC 5280 4.2.1.13.
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.DistributionPointName(params)
DistributionPointName ASN.1 structure class
This class represents DistributionPointName defined in RFC 5280 4.2.1.13.
DistributionPointName ::= CHOICE {
     fullName                [0]     GeneralNames,
     nameRelativeToCRLIssuer [1]     RelativeDistinguishedName }
Constructor can have following parameter: NOTE1: 'full' parameter have been suppored since jsrsasign 9.0.0 asn1x509 2.0.0.
NOTE2: The 'nameRelativeToCRLIssuer' field is currently not supported.
new KJUR.asn1.x509.DistributionPointName({full: <>})
new KJUR.asn1.x509.DistributionPointName({full: [{uri: <>}]})
new KJUR.asn1.x509.DistributionPointName({full: [{dn: <>}]}
new KJUR.asn1.x509.DistributionPointName({full: [{uri: "http://example.com/root.crl"}]})
new KJUR.asn1.x509.DistributionPointName({full: [{dn {str: "/C=US/O=Test"}}]})
new KJUR.asn1.x509.DistributionPointName(new GeneralNames(...))
Parameters:
{Array} params
JSON object of parameters or GeneralNames object
See:

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