MacAlgorithmProvider.CreateKey(IBuffer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a symmetric key that can be used to create the MAC value.
public:
virtual CryptographicKey ^ CreateKey(IBuffer ^ keyMaterial) = CreateKey;
CryptographicKey CreateKey(IBuffer const& keyMaterial);
public CryptographicKey CreateKey(IBuffer keyMaterial);
function createKey(keyMaterial)
Public Function CreateKey (keyMaterial As IBuffer) As CryptographicKey
Parameters
- keyMaterial
- IBuffer
Random data used to help generate the key. You can call the GenerateRandom method to create the random data.
Returns
Symmetric key.