public Tpm2RsaEncryptRequest ( TpmHandle the_keyHandle, byte the_message, IAsymSchemeUnion the_inScheme, byte the_label ) : System |
the_keyHandle |
TpmHandle |
reference to public portion of RSA key to use for encryption Auth Index: None |
the_message |
byte |
message to be encrypted NOTE 1 The data type was chosen because it limits the overall size of the input to no greater than the size of the largest RSA public key. This may be larger than allowed for keyHandle. |
the_inScheme |
IAsymSchemeUnion |
the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL(One of KeySchemeEcdh, KeySchemeEcmqv, SigSchemeRsassa, SigSchemeRsapss, SigSchemeEcdsa, SigSchemeEcdaa, SigSchemeSm2, SigSchemeEcschnorr, EncSchemeRsaes, EncSchemeOaep, SchemeHash, NullAsymScheme) |
the_label |
byte |
optional label L to be associated with the message Size of the buffer is zero if no label is present NOTE 2 See description of label above. |
Результат |
System |
|