new CertificateExtension(oid, isCritical, value)
A CertificateExtension represents the Extension entry in a certificate.
Create a new CertificateExtension.
Parameters:
Name | Type | Description |
---|---|---|
oid |
string | OID | The oid of subject description entry. |
isCritical |
boolean | If true, the extension must be handled. |
value |
Blob | The extension value. |
Methods
toDer() → {DerNode}
Encode the object into a DER syntax tree.
Returns:
The encoded DER syntax tree.
- Type
- DerNode