Class KJUR.asn1.x509.DistributionPointName
Extends
KJUR.asn1.ASN1Object.
DistributionPointName ASN.1 structure class
Defined in: asn1x509-1.0.js.
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.
NOTE2: The 'nameRelativeToCRLIssuer' field is currently not supported.
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:
- {String}full - JSON object parameter of KJUR.asn1.x509.GeneralNames for 'fullName' field
- {GeneralNames} - KJUR.asn1.x509.GeneralNames object for 'fullName'
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: