public class KeyPurposeId extends ASN1Object
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);
Modifier and Type | Field and Description |
---|---|
static KeyPurposeId |
anyExtendedKeyUsage
{ 2 5 29 37 0 }
|
static KeyPurposeId |
id_kp_capwapAC
{ id-kp 18 }
|
static KeyPurposeId |
id_kp_capwapWTP
{ id-kp 19 }
|
static KeyPurposeId |
id_kp_clientAuth
{ id-kp 2 }
|
static KeyPurposeId |
id_kp_codeSigning
{ id-kp 3 }
|
static KeyPurposeId |
id_kp_dvcs
{ id-kp 10 }
|
static KeyPurposeId |
id_kp_eapOverLAN
{ id-kp 14 }
|
static KeyPurposeId |
id_kp_eapOverPPP
{ id-kp 13 }
|
static KeyPurposeId |
id_kp_emailProtection
{ id-kp 4 }
|
static KeyPurposeId |
id_kp_ipsecEndSystem
Usage deprecated by RFC4945 - was { id-kp 5 }
|
static KeyPurposeId |
id_kp_ipsecIKE
{ id-kp 17 }
|
static KeyPurposeId |
id_kp_ipsecTunnel
Usage deprecated by RFC4945 - was { id-kp 6 }
|
static KeyPurposeId |
id_kp_ipsecUser
Usage deprecated by RFC4945 - was { idkp 7 }
|
static KeyPurposeId |
id_kp_OCSPSigning
{ id-kp 9 }
|
static KeyPurposeId |
id_kp_sbgpCertAAServerAuth
{ id-kp 11 }
|
static KeyPurposeId |
id_kp_scvp_responder
{ id-kp 12 }
|
static KeyPurposeId |
id_kp_scvpClient
{ id-kp 16 }
|
static KeyPurposeId |
id_kp_scvpServer
{ id-kp 15 }
|
static KeyPurposeId |
id_kp_serverAuth
{ id-kp 1 }
|
static KeyPurposeId |
id_kp_smartcardlogon
{ 1 3 6 1 4 1 311 20 2 2 }
|
static KeyPurposeId |
id_kp_timeStamping
{ id-kp 8 }
|
Constructor and Description |
---|
KeyPurposeId(String id)
Deprecated.
use getInstance and an OID or one of the constants above.
|
Modifier and Type | Method and Description |
---|---|
String |
getId() |
static KeyPurposeId |
getInstance(Object o) |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
ASN1ObjectIdentifier |
toOID() |
String |
toString() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
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
public KeyPurposeId(String id)
id
- string representation of an OID.public static KeyPurposeId getInstance(Object o)
public ASN1ObjectIdentifier toOID()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public String getId()
Copyright © 2018 BouncyCastle.org. All rights reserved.