public class CertificateExtension extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OID |
extensionId_ |
protected Blob |
extensionValue_ |
protected boolean |
isCritical_ |
| Constructor and Description |
|---|
CertificateExtension(OID oid,
boolean isCritical,
Blob value)
Create a new CertificateExtension.
|
CertificateExtension(String oid,
boolean isCritical,
Blob value)
Create a new CertificateExtension.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsCritical() |
OID |
getOid() |
Blob |
getValue() |
DerNode |
toDer()
Encode the object into DER syntax tree.
|
Blob |
toDerBlob() |
protected final OID extensionId_
protected final boolean isCritical_
protected final Blob extensionValue_
public CertificateExtension(String oid, boolean isCritical, Blob value)
oid - The oid of subject description entry.isCritical - If true, the extension must be handled.value - The extension value.public final DerNode toDer() throws DerEncodingException
DerEncodingExceptionpublic final Blob toDerBlob() throws DerEncodingException
DerEncodingExceptionpublic final OID getOid()
public final boolean getIsCritical()
public final Blob getValue()
Copyright © 2019. All rights reserved.