org.apache.geronimo.util.asn1.x509
Class ExtendedKeyUsage
java.lang.Object
org.apache.geronimo.util.asn1.ASN1Encodable
org.apache.geronimo.util.asn1.x509.ExtendedKeyUsage
- All Implemented Interfaces:
- DEREncodable
public class ExtendedKeyUsage
- extends ASN1Encodable
The extendedKeyUsage object.
extendedKeyUsage ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
ExtendedKeyUsage
public ExtendedKeyUsage(KeyPurposeId usage)
ExtendedKeyUsage
public ExtendedKeyUsage(ASN1Sequence seq)
ExtendedKeyUsage
public ExtendedKeyUsage(Vector usages)
getInstance
public static ExtendedKeyUsage getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static ExtendedKeyUsage getInstance(Object obj)
hasKeyPurposeId
public boolean hasKeyPurposeId(KeyPurposeId keyPurposeId)
size
public int size()
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.