| Package | Description |
|---|---|
| tss | |
| tss.tpm |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Tpm.RSA_Decrypt(TPM_HANDLE keyHandle,
byte[] cipherText,
TPMU_ASYM_SCHEME inScheme,
byte[] label)
This command performs RSA decryption using the indicated padding scheme according to IETF RFC 3447 ((PKCS#1).
|
byte[] |
Tpm.RSA_Encrypt(TPM_HANDLE keyHandle,
byte[] message,
TPMU_ASYM_SCHEME inScheme,
byte[] label)
This command performs RSA encryption using the indicated padding scheme according to IETF RFC 3447.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TPMS_AES_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_ANY_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_CAMELLIA_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_EMPTY
This structure is used as a placeholder.
|
class |
TPMS_ENC_SCHEME_OAEP
These are the RSA encryption schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_ENC_SCHEME_RSAES
These are the RSA encryption schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_KEY_SCHEME_ECDH
These are the ECC schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_KEY_SCHEME_ECMQV
These are the ECC schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_NULL_ASYM_SCHEME
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_KDF_SCHEME
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SCHEME_KEYEDHASH
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SIG_SCHEME
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SIGNATURE
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SYM_KEY_BITS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_SYM_MODE
Custom data structure representing an empty element (i.e.
|
class |
TPMS_NULL_UNION
Base class for empty union elements.
|
class |
TPMS_SCHEME_ECDAA
This definition is for split signing schemes that require a commit count.
|
class |
TPMS_SCHEME_ECDH
Underlying type comment: These are the ECC schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_SCHEME_ECDSA
Underlying type comment: Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SCHEME_ECMQV
Underlying type comment: These are the ECC schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_SCHEME_ECSCHNORR
Underlying type comment: Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SCHEME_HASH
This structure is the scheme data for schemes that only require a hash to complete their definition.
|
class |
TPMS_SCHEME_HMAC
Table 145 Definition of Types for HMAC_SIG_SCHEME
|
class |
TPMS_SCHEME_KDF1_SP800_108
These structures are used to define the key derivation for symmetric secret sharing using asymmetric methods.
|
class |
TPMS_SCHEME_KDF1_SP800_56A
These structures are used to define the key derivation for symmetric secret sharing using asymmetric methods.
|
class |
TPMS_SCHEME_KDF2
These structures are used to define the key derivation for symmetric secret sharing using asymmetric methods.
|
class |
TPMS_SCHEME_MGF1
These structures are used to define the key derivation for symmetric secret sharing using asymmetric methods.
|
class |
TPMS_SCHEME_OAEP
Underlying type comment: These are the RSA encryption schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_SCHEME_RSAES
Underlying type comment: These are the RSA encryption schemes that only need a hash algorithm as a controlling parameter.
|
class |
TPMS_SCHEME_RSAPSS
Underlying type comment: These are the RSA schemes that only need a hash algorithm as a scheme parameter.
|
class |
TPMS_SCHEME_RSASSA
Underlying type comment: These are the RSA schemes that only need a hash algorithm as a scheme parameter.
|
class |
TPMS_SCHEME_SM2
Underlying type comment: Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SIG_SCHEME_ECDAA
Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SIG_SCHEME_ECDSA
Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SIG_SCHEME_ECSCHNORR
Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SIG_SCHEME_RSAPSS
These are the RSA schemes that only need a hash algorithm as a scheme parameter.
|
class |
TPMS_SIG_SCHEME_RSASSA
These are the RSA schemes that only need a hash algorithm as a scheme parameter.
|
class |
TPMS_SIG_SCHEME_SM2
Most of the ECC signature schemes only require a hash algorithm to complete the definition and can be typed as TPMS_SCHEME_HASH.
|
class |
TPMS_SM4_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_TDES_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_XOR_SYM_DETAILS
Custom data structure representing an empty element (i.e.
|
class |
TPMS_XOR_SYM_MODE
Custom data structure representing an empty element (i.e.
|
| Modifier and Type | Field and Description |
|---|---|
TPMU_ASYM_SCHEME |
TPMT_RSA_SCHEME.details
scheme parameters
|
TPMU_ASYM_SCHEME |
TPMT_RSA_DECRYPT.details
scheme parameters
|
TPMU_ASYM_SCHEME |
TPMT_ECC_SCHEME.details
scheme parameters
|
TPMU_ASYM_SCHEME |
TPMT_ASYM_SCHEME.details
scheme parameters
|
TPMU_ASYM_SCHEME |
TPM2_RSA_Encrypt_REQUEST.inScheme
the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL
|
TPMU_ASYM_SCHEME |
TPM2_RSA_Decrypt_REQUEST.inScheme
the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL
|
TPMU_ASYM_SCHEME |
TPMS_RSA_PARMS.scheme
scheme.scheme shall be: for an unrestricted signing key, either TPM_ALG_RSAPSS TPM_ALG_RSASSA or TPM_ALG_NULL for a restricted signing key, either TPM_ALG_RSAPSS or TPM_ALG_RSASSA for an unrestricted decryption key, TPM_ALG_RSAES, TPM_ALG_OAEP, or TPM_ALG_NULL unless the object also has the sign attribute for a restricted decryption key, TPM_ALG_NULL NOTE When both sign and decrypt are SET, restricted shall be CLEAR and scheme shall be TPM_ALG_NULL.
|
TPMU_ASYM_SCHEME |
TPMS_ECC_PARMS.scheme
If the sign attribute of the key is SET, then this shall be a valid signing scheme.
|
TPMU_ASYM_SCHEME |
TPMS_ASYM_PARMS.scheme
for a key with the sign attribute SET, a valid signing scheme for the key type for a key with the decrypt attribute SET, a valid key exchange protocol for a key with sign and decrypt attributes, shall be TPM_ALG_NULL
|
TPMU_ASYM_SCHEME |
TPMS_ALGORITHM_DETAIL_ECC.sign
If not TPM_ALG_NULL, this is the mandatory signature scheme that is required to be used with this curve.
|
| Constructor and Description |
|---|
TPM2_RSA_Decrypt_REQUEST(TPM_HANDLE _keyHandle,
byte[] _cipherText,
TPMU_ASYM_SCHEME _inScheme,
byte[] _label)
This command performs RSA decryption using the indicated padding scheme according to IETF RFC 3447 ((PKCS#1).
|
TPM2_RSA_Encrypt_REQUEST(TPM_HANDLE _keyHandle,
byte[] _message,
TPMU_ASYM_SCHEME _inScheme,
byte[] _label)
This command performs RSA encryption using the indicated padding scheme according to IETF RFC 3447.
|
TPMS_ALGORITHM_DETAIL_ECC(TPM_ECC_CURVE _curveID,
int _keySize,
TPMU_KDF_SCHEME _kdf,
TPMU_ASYM_SCHEME _sign,
byte[] _p,
byte[] _a,
byte[] _b,
byte[] _gX,
byte[] _gY,
byte[] _n,
byte[] _h)
This structure is used to report on the curve parameters of an ECC curve.
|
TPMS_ASYM_PARMS(TPMT_SYM_DEF_OBJECT _symmetric,
TPMU_ASYM_SCHEME _scheme)
This structure contains the common public area parameters for an asymmetric key.
|
TPMS_ECC_PARMS(TPMT_SYM_DEF_OBJECT _symmetric,
TPMU_ASYM_SCHEME _scheme,
TPM_ECC_CURVE _curveID,
TPMU_KDF_SCHEME _kdf)
This structure contains the parameters for prime modulus ECC.
|
TPMS_RSA_PARMS(TPMT_SYM_DEF_OBJECT _symmetric,
TPMU_ASYM_SCHEME _scheme,
int _keyBits,
int _exponent)
A TPM compatible with this specification and supporting RSA shall support two primes and an exponent of zero.
|
TPMT_ASYM_SCHEME(TPMU_ASYM_SCHEME _details)
This structure is defined to allow overlay of all of the schemes for any asymmetric object.
|
TPMT_ECC_SCHEME(TPMU_ASYM_SCHEME _details)
Table 173 Definition of (TPMT_SIG_SCHEME) {ECC} TPMT_ECC_SCHEME Structure
|
TPMT_RSA_DECRYPT(TPMU_ASYM_SCHEME _details)
Table 164 Definition of {RSA} TPMT_RSA_DECRYPT Structure
|
TPMT_RSA_SCHEME(TPMU_ASYM_SCHEME _details)
Table 162 Definition of {RSA} TPMT_RSA_SCHEME Structure
|
Copyright © 2017. All rights reserved.