The RsaEncryptedSecret uses RSA based Asymmetric Cryptography.
Additional semantics for the fields in the EncryptedSecret layout for the RsaEncryptedSecret Structure are described in Table 189.
Table 189 – RsaEncryptedSecret structure
Name |
Type |
Description |
TypeId |
NodeId |
The NodeId of the RsaEncryptedSecret DataType Node. |
EncodingMask |
Byte |
See Table 187. |
Length |
UInt32 |
See Table 187. |
SecurityPolicyUri |
String |
See Table 187. |
Certificate |
ByteString |
The SHA1 hash of the DER form of the Certificate used to encrypt the KeyData. |
SigningTime |
DateTime |
See Table 187. |
KeyDataLength |
UInt16 |
The length, in bytes, of the encrypted KeyData. |
KeyData |
|
The KeyData is encrypted with the PublicKey associated with the Certificate. |
SigningKey |
ByteString |
The key used to compute the Signature.
|
EncryptingKey |
ByteString |
The key used to encrypt payload.
|
InitializationVector |
ByteString |
The initialization vector used with the EncryptingKey.
|
Nonce |
ByteString |
A Nonce. This is the last ServerNonce returned in the CreateSession or ActivateSession Response when proving a UserIdentityToken passed in the ActivateSession Request. In other contexts, this is a Nonce created by the sender with a length equal to the SecureChannelNonceLength. |
Secret |
ByteString |
See Table 187. |
PayloadPadding |
Byte[*] |
See Table 187. |
PayloadPaddingSize |
UInt16 |
See Table 187. |
Signature |
Byte[*] |
The Signature calculated with the SigningKey. The Signature calculated is calculated after encrypting the KeyData and the payload. |