org.bouncycastle.asn1.x509
Class ExtendedKeyUsage
java.lang.Object
org.bouncycastle.asn1.x509.ExtendedKeyUsage
- All Implemented Interfaces:
- DEREncodable
public class ExtendedKeyUsage
- extends java.lang.Object
- implements DEREncodable
The extendedKeyUsage object.
extendedKeyUsage ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedKeyUsage
public ExtendedKeyUsage(ASN1Sequence seq)
ExtendedKeyUsage
public ExtendedKeyUsage(java.util.Vector usages)
getInstance
public static ExtendedKeyUsage getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static ExtendedKeyUsage getInstance(java.lang.Object obj)
hasKeyPurposeId
public boolean hasKeyPurposeId(KeyPurposeId keyPurposeId)
getDERObject
public DERObject getDERObject()
- Specified by:
getDERObject
in interface DEREncodable