|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.KeyPurposeId
public class KeyPurposeId
The KeyPurposeId object.
KeyPurposeId ::= OBJECT IDENTIFIER id-kp ::= OBJECT IDENTIFIER { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) 3}To create a new KeyPurposeId where none of the below suit, use
ASN1ObjectIdentifier newKeyPurposeIdOID = new ASN1ObjectIdentifier("1.3.6.1..."); KeyPurposeId newKeyPurposeId = KeyPurposeId.getInstance(newKeyPurposeIdOID);
Constructor Summary | |
---|---|
KeyPurposeId(java.lang.String id)
Deprecated. use getInstance and an OID or one of the constants above. |
Method Summary | |
---|---|
java.lang.String |
getId()
|
static KeyPurposeId |
getInstance(java.lang.Object o)
|
ASN1Primitive |
toASN1Primitive()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final KeyPurposeId anyExtendedKeyUsage
public static final KeyPurposeId id_kp_serverAuth
public static final KeyPurposeId id_kp_clientAuth
public static final KeyPurposeId id_kp_codeSigning
public static final KeyPurposeId id_kp_emailProtection
public static final KeyPurposeId id_kp_ipsecEndSystem
public static final KeyPurposeId id_kp_ipsecTunnel
public static final KeyPurposeId id_kp_ipsecUser
public static final KeyPurposeId id_kp_timeStamping
public static final KeyPurposeId id_kp_OCSPSigning
public static final KeyPurposeId id_kp_dvcs
public static final KeyPurposeId id_kp_sbgpCertAAServerAuth
public static final KeyPurposeId id_kp_scvp_responder
public static final KeyPurposeId id_kp_eapOverPPP
public static final KeyPurposeId id_kp_eapOverLAN
public static final KeyPurposeId id_kp_scvpServer
public static final KeyPurposeId id_kp_scvpClient
public static final KeyPurposeId id_kp_ipsecIKE
public static final KeyPurposeId id_kp_capwapAC
public static final KeyPurposeId id_kp_capwapWTP
public static final KeyPurposeId id_kp_smartcardlogon
Constructor Detail |
---|
public KeyPurposeId(java.lang.String id)
id
- string representation of an OID.Method Detail |
---|
public static KeyPurposeId getInstance(java.lang.Object o)
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public java.lang.String getId()
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |