Package tss.tpm
Enum TPMA_X509_KEY_USAGE._N
- java.lang.Object
-
- java.lang.Enum<TPMA_X509_KEY_USAGE._N>
-
- tss.tpm.TPMA_X509_KEY_USAGE._N
-
- All Implemented Interfaces:
Serializable
,Comparable<TPMA_X509_KEY_USAGE._N>
- Enclosing class:
- TPMA_X509_KEY_USAGE
public static enum TPMA_X509_KEY_USAGE._N extends Enum<TPMA_X509_KEY_USAGE._N>
Values from enum _N are only intended to be used in case labels of a switch statement using the result of this.asEnum() method as the switch condition. However, their Java names are identical to those of the constants defined in this class further below, so for any other usage just prepend them with the TPMA_X509_KEY_USAGE. qualifier.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description contentCommitment
Alias to the nonrepudiation value.cRLSign
Attributes.sign SETdataEncipherment
Attributes.Decrypt SETdecipherOnly
Attributes.Decrypt SETdigitalSignature
Sign SET in Subject Key (objectHandle)encipherOnly
Attributes.Decrypt SETkeyAgreement
Attributes.Decrypt SETkeyCertSign
Attributes.sign SETkeyEncipherment
Asymmetric key with decrypt and restricted SET key has the attributes of a parent keynonrepudiation
FixedTPM SET in Subject Key (objectHandle)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TPMA_X509_KEY_USAGE._N
valueOf(String name)
Returns the enum constant of this type with the specified name.static TPMA_X509_KEY_USAGE._N[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
decipherOnly
public static final TPMA_X509_KEY_USAGE._N decipherOnly
Attributes.Decrypt SET
-
encipherOnly
public static final TPMA_X509_KEY_USAGE._N encipherOnly
Attributes.Decrypt SET
-
cRLSign
public static final TPMA_X509_KEY_USAGE._N cRLSign
Attributes.sign SET
-
keyCertSign
public static final TPMA_X509_KEY_USAGE._N keyCertSign
Attributes.sign SET
-
keyAgreement
public static final TPMA_X509_KEY_USAGE._N keyAgreement
Attributes.Decrypt SET
-
dataEncipherment
public static final TPMA_X509_KEY_USAGE._N dataEncipherment
Attributes.Decrypt SET
-
keyEncipherment
public static final TPMA_X509_KEY_USAGE._N keyEncipherment
Asymmetric key with decrypt and restricted SET key has the attributes of a parent key
-
nonrepudiation
public static final TPMA_X509_KEY_USAGE._N nonrepudiation
FixedTPM SET in Subject Key (objectHandle)
-
contentCommitment
public static final TPMA_X509_KEY_USAGE._N contentCommitment
Alias to the nonrepudiation value.
-
digitalSignature
public static final TPMA_X509_KEY_USAGE._N digitalSignature
Sign SET in Subject Key (objectHandle)
-
-
Method Detail
-
values
public static TPMA_X509_KEY_USAGE._N[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TPMA_X509_KEY_USAGE._N c : TPMA_X509_KEY_USAGE._N.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPMA_X509_KEY_USAGE._N valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-