public class TPM2_RSA_Decrypt_REQUEST extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
byte[] |
cipherText
cipher text to be decrypted NOTE An encrypted RSA data block is the size of the public modulus.
|
TPMU_ASYM_SCHEME |
inScheme
the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL
|
TPM_HANDLE |
keyHandle
RSA key to use for decryption Auth Index: 1 Auth Role: USER
|
byte[] |
label
label whose association with the message is to be verified
|
| Constructor and Description |
|---|
TPM2_RSA_Decrypt_REQUEST()
This command performs RSA decryption using the indicated padding scheme according to IETF RFC 3447 ((PKCS#1).
|
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).
|
| Modifier and Type | Method and Description |
|---|---|
static TPM2_RSA_Decrypt_REQUEST |
fromTpm(byte[] x) |
static TPM2_RSA_Decrypt_REQUEST |
fromTpm(InByteBuf buf) |
int |
GetUnionSelector_inScheme() |
void |
initFromTpm(InByteBuf buf)
Populate this object from the TPM representation in the input byte buffer object
|
String |
toString() |
void |
toStringInternal(TpmStructurePrinter _p,
int d)
Serialize this object to the structure printer
|
byte[] |
toTpm()
Convert this object to its TPM representation and return it as a byte array
|
void |
toTpm(OutByteBuf buf)
Convert this object to its TPM representation and store in the output byte buffer object
|
equals, hashCodepublic TPM_HANDLE keyHandle
public byte[] cipherText
public TPMU_ASYM_SCHEME inScheme
public byte[] label
public TPM2_RSA_Decrypt_REQUEST(TPM_HANDLE _keyHandle, byte[] _cipherText, TPMU_ASYM_SCHEME _inScheme, byte[] _label)
_keyHandle - RSA key to use for decryption Auth Index: 1 Auth Role: USER_cipherText - cipher text to be decrypted NOTE An encrypted RSA data block is the size of the public modulus._inScheme - the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL (One of TPMS_KEY_SCHEME_ECDH, TPMS_KEY_SCHEME_ECMQV, TPMS_SIG_SCHEME_RSASSA, TPMS_SIG_SCHEME_RSAPSS, TPMS_SIG_SCHEME_ECDSA, TPMS_SIG_SCHEME_ECDAA, TPMS_SIG_SCHEME_SM2, TPMS_SIG_SCHEME_ECSCHNORR, TPMS_ENC_SCHEME_RSAES, TPMS_ENC_SCHEME_OAEP, TPMS_SCHEME_HASH, TPMS_NULL_ASYM_SCHEME)_label - label whose association with the message is to be verifiedpublic TPM2_RSA_Decrypt_REQUEST()
public int GetUnionSelector_inScheme()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPM2_RSA_Decrypt_REQUEST fromTpm(byte[] x)
public static TPM2_RSA_Decrypt_REQUEST fromTpm(InByteBuf buf)
public void toStringInternal(TpmStructurePrinter _p, int d)
TpmStructuretoStringInternal in class TpmStructure_p - The structure accumulatord - The data to serializeCopyright © 2017. All rights reserved.