Class KJUR.asn1.x509.GeneralSubtree
GeneralSubtree ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
GeneralSubtree ASN.1 structure class
This class provides a encoder for GeneralSubtree defined in RFC 5280 4.2.1.10. |
Class Detail
KJUR.asn1.x509.GeneralSubtree()
GeneralSubtree ASN.1 structure class
This class provides a encoder for GeneralSubtree defined in RFC 5280 4.2.1.10. This will be used for nameConstraints extension.
Here is definition of the ASN.1 syntax:
This class provides a encoder for GeneralSubtree defined in RFC 5280 4.2.1.10. This will be used for nameConstraints extension.
Here is definition of the ASN.1 syntax:
GeneralSubtree ::= SEQUENCE { base GeneralName, minimum [0] BaseDistance DEFAULT 0, maximum [1] BaseDistance OPTIONAL } BaseDistance ::= INTEGER (0..MAX)An argument for constructor is the same as KJUR.asn1.x509.GeneralName except this has following optional members:
- min - {Number} value for the minimum field
- max - {Number} value for the maximum field
new GeneralSubtree({dns: "example.com"}) new GeneralSubtree({uri: ".example.com"}) new GeneralSubtree({dn: "/C=JP/O=Test1"})
- Since:
- jsrsasign 10.5.16 asn1x509 2.1.13