public final class ExtendedKeyUsage extends ExtensionValue
id-ce-extKeyUsage OBJECT IDENTIFIER ::= { id-ce 37 }
ExtKeyUsageSyntax ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
KeyPurposeId ::= OBJECT IDENTIFIER
(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt| Modifier and Type | Field and Description |
|---|---|
static ASN1Type |
ASN1
ASN.1 Encoder/Decoder.
|
encoding| Constructor and Description |
|---|
ExtendedKeyUsage(byte[] encoding)
Creates the extension object on the base of its encoded form.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpValue(StringBuilder sb,
String prefix) |
byte[] |
getEncoded()
Returns encoded form of the object.
|
List<String> |
getExtendedKeyUsage()
Returns the list of string representation of OIDs corresponding
to key purpose IDs.
|
dumpValuepublic static final ASN1Type ASN1
public ExtendedKeyUsage(byte[] encoding)
public List<String> getExtendedKeyUsage() throws IOException
IOExceptionpublic byte[] getEncoded()
ExtensionValuegetEncoded in class ExtensionValuepublic void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue