be.cardon.asn1.x509
Class ExtendedKeyUsage

java.lang.Object
  extended by ASN1Encodable
      extended by be.cardon.asn1.x509.ExtendedKeyUsage

public class ExtendedKeyUsage
extends ASN1Encodable

Implements the ExtendedKeyUsage extension from RFC 3280.

      extendedKeyUsage ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
 


Field Summary
static DERObjectIdentifier ClientAuth
           
static DERObjectIdentifier codeSigning
           
static DERObjectIdentifier emailProtection
           
static DERObjectIdentifier OCSPSigning
           
static DERObjectIdentifier ServerAuth
           
static DERObjectIdentifier timeStamping
           
 
Constructor Summary
ExtendedKeyUsage(ASN1Sequence seq)
           
 
Method Summary
static ExtendedKeyUsage getInstance(ASN1TaggedObject obj, boolean explicit)
           
static ExtendedKeyUsage getInstance(java.lang.Object obj)
           
 java.util.Vector<DERObjectIdentifier> getKeyPurposeIds()
           
 DERObject toASN1Object()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ServerAuth

public static final DERObjectIdentifier ServerAuth

ClientAuth

public static final DERObjectIdentifier ClientAuth

codeSigning

public static final DERObjectIdentifier codeSigning

emailProtection

public static final DERObjectIdentifier emailProtection

timeStamping

public static final DERObjectIdentifier timeStamping

OCSPSigning

public static final DERObjectIdentifier OCSPSigning
Constructor Detail

ExtendedKeyUsage

public ExtendedKeyUsage(ASN1Sequence seq)
Method Detail

getInstance

public static ExtendedKeyUsage getInstance(ASN1TaggedObject obj,
                                           boolean explicit)

getInstance

public static ExtendedKeyUsage getInstance(java.lang.Object obj)

getKeyPurposeIds

public java.util.Vector<DERObjectIdentifier> getKeyPurposeIds()

toASN1Object

public DERObject toASN1Object()