Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class KeyPurposeId

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive

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);

Field Summary

Modifier and TypeField and Description
public static final KeyPurposeId
anyExtendedKeyUsage

{ 2 5 29 37 0 }

private ASN1ObjectIdentifier
private static final ASN1ObjectIdentifier
public static final KeyPurposeId
id_kp_capwapAC

{ id-kp 18 }

public static final KeyPurposeId
id_kp_capwapWTP

{ id-kp 19 }

public static final KeyPurposeId
id_kp_clientAuth

{ id-kp 2 }

public static final KeyPurposeId
id_kp_codeSigning

{ id-kp 3 }

public static final KeyPurposeId
id_kp_dvcs

{ id-kp 10 }

public static final KeyPurposeId
id_kp_eapOverLAN

{ id-kp 14 }

public static final KeyPurposeId
id_kp_eapOverPPP

{ id-kp 13 }

public static final KeyPurposeId
public static final KeyPurposeId
id_kp_ipsecEndSystem

Usage deprecated by RFC4945 - was { id-kp 5 }

public static final KeyPurposeId
id_kp_ipsecIKE

{ id-kp 17 }

public static final KeyPurposeId
id_kp_ipsecTunnel

Usage deprecated by RFC4945 - was { id-kp 6 }

public static final KeyPurposeId
id_kp_ipsecUser

Usage deprecated by RFC4945 - was { idkp 7 }

public static final KeyPurposeId
public static final KeyPurposeId
id_kp_msSGC

Microsoft Server Gated Crypto (msSGC) see http://www.alvestrand.no/objectid/1.3.6.1.4.1.311.10.3.3.html

public static final KeyPurposeId
id_kp_nsSGC

Netscape Server Gated Crypto (nsSGC) see http://www.alvestrand.no/objectid/2.16.840.1.113730.4.1.html

public static final KeyPurposeId
id_kp_OCSPSigning

{ id-kp 9 }

public static final KeyPurposeId
public static final KeyPurposeId
public static final KeyPurposeId
id_kp_scvpClient

{ id-kp 16 }

public static final KeyPurposeId
id_kp_scvpServer

{ id-kp 15 }

public static final KeyPurposeId
id_kp_serverAuth

{ id-kp 1 }

public static final KeyPurposeId
id_kp_smartcardlogon

{ 1 3 6 1 4 1 311 20 2 2 }

public static final KeyPurposeId
id_kp_timeStamping

{ id-kp 8 }

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public static KeyPurposeId
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
public ASN1ObjectIdentifier
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

anyExtendedKeyUsageback to summary
public static final KeyPurposeId anyExtendedKeyUsage

{ 2 5 29 37 0 }

idback to summary
private ASN1ObjectIdentifier id
id_kpback to summary
private static final ASN1ObjectIdentifier id_kp
id_kp_capwapACback to summary
public static final KeyPurposeId id_kp_capwapAC

{ id-kp 18 }

id_kp_capwapWTPback to summary
public static final KeyPurposeId id_kp_capwapWTP

{ id-kp 19 }

id_kp_clientAuthback to summary
public static final KeyPurposeId id_kp_clientAuth

{ id-kp 2 }

id_kp_codeSigningback to summary
public static final KeyPurposeId id_kp_codeSigning

{ id-kp 3 }

id_kp_dvcsback to summary
public static final KeyPurposeId id_kp_dvcs

{ id-kp 10 }

id_kp_eapOverLANback to summary
public static final KeyPurposeId id_kp_eapOverLAN

{ id-kp 14 }

id_kp_eapOverPPPback to summary
public static final KeyPurposeId id_kp_eapOverPPP

{ id-kp 13 }

id_kp_emailProtectionback to summary
public static final KeyPurposeId id_kp_emailProtection

{ id-kp 4 }

id_kp_ipsecEndSystemback to summary
public static final KeyPurposeId id_kp_ipsecEndSystem

Usage deprecated by RFC4945 - was { id-kp 5 }

id_kp_ipsecIKEback to summary
public static final KeyPurposeId id_kp_ipsecIKE

{ id-kp 17 }

id_kp_ipsecTunnelback to summary
public static final KeyPurposeId id_kp_ipsecTunnel

Usage deprecated by RFC4945 - was { id-kp 6 }

id_kp_ipsecUserback to summary
public static final KeyPurposeId id_kp_ipsecUser

Usage deprecated by RFC4945 - was { idkp 7 }

id_kp_macAddressback to summary
public static final KeyPurposeId id_kp_macAddress
id_kp_msSGCback to summary
public static final KeyPurposeId id_kp_msSGC

Microsoft Server Gated Crypto (msSGC) see http://www.alvestrand.no/objectid/1.3.6.1.4.1.311.10.3.3.html

id_kp_nsSGCback to summary
public static final KeyPurposeId id_kp_nsSGC

Netscape Server Gated Crypto (nsSGC) see http://www.alvestrand.no/objectid/2.16.840.1.113730.4.1.html

id_kp_OCSPSigningback to summary
public static final KeyPurposeId id_kp_OCSPSigning

{ id-kp 9 }

id_kp_sbgpCertAAServerAuthback to summary
public static final KeyPurposeId id_kp_sbgpCertAAServerAuth

{ id-kp 11 }

id_kp_scvp_responderback to summary
public static final KeyPurposeId id_kp_scvp_responder

{ id-kp 12 }

id_kp_scvpClientback to summary
public static final KeyPurposeId id_kp_scvpClient

{ id-kp 16 }

id_kp_scvpServerback to summary
public static final KeyPurposeId id_kp_scvpServer

{ id-kp 15 }

id_kp_serverAuthback to summary
public static final KeyPurposeId id_kp_serverAuth

{ id-kp 1 }

id_kp_smartcardlogonback to summary
public static final KeyPurposeId id_kp_smartcardlogon

{ 1 3 6 1 4 1 311 20 2 2 }

id_kp_timeStampingback to summary
public static final KeyPurposeId id_kp_timeStamping

{ id-kp 8 }

Constructor Detail

KeyPurposeIdback to summary
private KeyPurposeId(ASN1ObjectIdentifier id)

Method Detail

getIdback to summary
public String getId()
getInstanceback to summary
public static KeyPurposeId getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

toOIDback to summary
public ASN1ObjectIdentifier toOID()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object