ComputeSecret Method
Computes a shared secret.
Syntax
procedure ComputeSecret();Remarks
This method computes a shared secret.
When this method is called the component will use the public key specified by RecipientKeyPublicKey to compute a shared secret, or secret agreement. The KeyDerivationFunction specifies the Hash or HMAC algorithm that is applied to the raw secret. The resulting value is held by SharedSecret. The following properties are applicable when calling this method:
- RecipientKeyPublicKey (required)
- KeyDerivationFunction (optional)
- PrependSecret (optional)
- AppendSecret (optional)
- HMACKey (optional)