Package tss.tpm
Class TPMA_OBJECT
- java.lang.Object
-
- tss.TpmEnum<T>
-
- tss.TpmAttribute<TPMA_OBJECT>
-
- tss.tpm.TPMA_OBJECT
-
- All Implemented Interfaces:
TpmMarshaller
public final class TPMA_OBJECT extends TpmAttribute<TPMA_OBJECT>
This attribute structure indicates an objects use, its authorization types, and its relationship to other objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TPMA_OBJECT._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.-
Nested classes/interfaces inherited from class tss.TpmEnum
TpmEnum.ValueMap<T extends TpmEnum<T>>
-
-
Field Summary
Fields Modifier and Type Field Description static TPMA_OBJECT
adminWithPolicy
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
decrypt
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
encrypt
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
encryptedDuplication
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
fixedParent
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
fixedTPM
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
noDA
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
restricted
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
sensitiveDataOrigin
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
sign
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
stClear
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
userWithAuth
These definitions provide mapping of the Java enum constants to their TPM integer valuesstatic TPMA_OBJECT
x509sign
These definitions provide mapping of the Java enum constants to their TPM integer values-
Fields inherited from class tss.TpmEnum
Name, NameAsEnum, Value
-
-
Constructor Summary
Constructors Constructor Description TPMA_OBJECT()
TPMA_OBJECT(int value)
TPMA_OBJECT(TPMA_OBJECT... attrs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TPMA_OBJECT._N
asEnum()
static TPMA_OBJECT
fromInt(int value)
static TPMA_OBJECT
fromTpm(byte[] buf)
static TPMA_OBJECT
fromTpm(TpmBuffer buf)
boolean
hasAttr(TPMA_OBJECT attr)
TPMA_OBJECT
maskAttr(TPMA_OBJECT attr)
static Collection<TPMA_OBJECT>
values()
protected int
wireSize()
-
Methods inherited from class tss.TpmAttribute
attrFromInt, fromInt, hasAttr, maskAttr
-
-
-
-
Field Detail
-
fixedTPM
public static final TPMA_OBJECT fixedTPM
These definitions provide mapping of the Java enum constants to their TPM integer values
-
stClear
public static final TPMA_OBJECT stClear
These definitions provide mapping of the Java enum constants to their TPM integer values
-
fixedParent
public static final TPMA_OBJECT fixedParent
These definitions provide mapping of the Java enum constants to their TPM integer values
-
sensitiveDataOrigin
public static final TPMA_OBJECT sensitiveDataOrigin
These definitions provide mapping of the Java enum constants to their TPM integer values
-
userWithAuth
public static final TPMA_OBJECT userWithAuth
These definitions provide mapping of the Java enum constants to their TPM integer values
-
adminWithPolicy
public static final TPMA_OBJECT adminWithPolicy
These definitions provide mapping of the Java enum constants to their TPM integer values
-
noDA
public static final TPMA_OBJECT noDA
These definitions provide mapping of the Java enum constants to their TPM integer values
-
encryptedDuplication
public static final TPMA_OBJECT encryptedDuplication
These definitions provide mapping of the Java enum constants to their TPM integer values
-
restricted
public static final TPMA_OBJECT restricted
These definitions provide mapping of the Java enum constants to their TPM integer values
-
decrypt
public static final TPMA_OBJECT decrypt
These definitions provide mapping of the Java enum constants to their TPM integer values
-
sign
public static final TPMA_OBJECT sign
These definitions provide mapping of the Java enum constants to their TPM integer values
-
encrypt
public static final TPMA_OBJECT encrypt
These definitions provide mapping of the Java enum constants to their TPM integer values
-
x509sign
public static final TPMA_OBJECT x509sign
These definitions provide mapping of the Java enum constants to their TPM integer values
-
-
Constructor Detail
-
TPMA_OBJECT
public TPMA_OBJECT()
-
TPMA_OBJECT
public TPMA_OBJECT(int value)
-
TPMA_OBJECT
public TPMA_OBJECT(TPMA_OBJECT... attrs)
-
-
Method Detail
-
fromInt
public static TPMA_OBJECT fromInt(int value)
-
fromTpm
public static TPMA_OBJECT fromTpm(byte[] buf)
-
fromTpm
public static TPMA_OBJECT fromTpm(TpmBuffer buf)
-
asEnum
public TPMA_OBJECT._N asEnum()
-
values
public static Collection<TPMA_OBJECT> values()
-
hasAttr
public boolean hasAttr(TPMA_OBJECT attr)
-
maskAttr
public TPMA_OBJECT maskAttr(TPMA_OBJECT attr)
-
wireSize
protected int wireSize()
- Specified by:
wireSize
in classTpmEnum<TPMA_OBJECT>
- Returns:
- The size of the enumeration value used to marshal it to the TPM representation
-
-