WrapKey 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 WrapKey ( _
    session As Session, _
    mechanism As Mechanism, _
    wrappingKey As CryptoKey, _
    key As CryptoKey _
) As Byte()
public static byte[] WrapKey(
    Session session,
    Mechanism mechanism,
    CryptoKey wrappingKey,
    CryptoKey key
)
public:
static array<unsigned char>^ WrapKey(
    Session^ session, 
    Mechanism^ mechanism, 
    CryptoKey^ wrappingKey, 
    CryptoKey^ key
)
static member WrapKey : 
        session:Session * 
        mechanism:Mechanism * 
        wrappingKey:CryptoKey * 
        key:CryptoKey -> byte[] 
public static function WrapKey(
    session : Session, 
    mechanism : Mechanism, 
    wrappingKey : CryptoKey, 
    key : CryptoKey
) : byte[]

Parameters

Return Value

Type: array<System. . :: . .Byte> [] () [] []

.NET Framework Security

See Also

Reference

CryptoKey Class

System.Security.Cryptography Namespace