public static class C509CertificationRequestTemplate.ExtensionTemplate
extends java.lang.Object
| Constructor and Description |
|---|
ExtensionTemplate(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean optional,
byte[] valueEncoding) |
ExtensionTemplate(long registryValue,
boolean optional,
byte[] valueEncoding) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getExtnId()
Return the extension OID for the ~oid form, or null for the int form.
|
java.lang.Long |
getRegistryValue()
Return the registered extension value, or null for the ~oid form.
|
byte[] |
getValueEncoding()
Return the CBOR encoding of the prescribed extension value, or null when
the template leaves it undefined.
|
boolean |
isOptional() |
public ExtensionTemplate(long registryValue,
boolean optional,
byte[] valueEncoding)
public ExtensionTemplate(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean optional,
byte[] valueEncoding)
public java.lang.Long getRegistryValue()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getExtnId()
public boolean isOptional()
public byte[] getValueEncoding()