UnwrapKey Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: System.Security.Cryptography
Assembly: Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)
Syntax
'Declaration
Public Shared Function UnwrapKey ( _
session As Session, _
mechanism As Mechanism, _
wrappingKey As CryptoKey, _
keyData As Byte(), _
keyTemplate As CryptokiAttribute() _
) As CryptoKey
public static CryptoKey UnwrapKey(
Session session,
Mechanism mechanism,
CryptoKey wrappingKey,
byte[] keyData,
CryptokiAttribute[] keyTemplate
)
public:
static CryptoKey^ UnwrapKey(
Session^ session,
Mechanism^ mechanism,
CryptoKey^ wrappingKey,
array<unsigned char>^ keyData,
array<CryptokiAttribute^>^ keyTemplate
)
static member UnwrapKey :
session:Session *
mechanism:Mechanism *
wrappingKey:CryptoKey *
keyData:byte[] *
keyTemplate:CryptokiAttribute[] -> CryptoKey
public static function UnwrapKey(
session : Session,
mechanism : Mechanism,
wrappingKey : CryptoKey,
keyData : byte[],
keyTemplate : CryptokiAttribute[]
) : CryptoKey
Parameters
- session
Type: Microsoft.SPOT.Cryptoki. . :: . .Session
- mechanism
Type: Microsoft.SPOT.Cryptoki. . :: . .Mechanism
- wrappingKey
Type: System.Security.Cryptography. . :: . .CryptoKey
- keyData
Type: array<System. . :: . .Byte> [] () [] []
- keyTemplate
Type: array<Microsoft.SPOT.Cryptoki. . :: . .CryptokiAttribute> [] () [] []
Return Value
Type: System.Security.Cryptography. . :: . .CryptoKey
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.