Share via


GenerateKey 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 GenerateKey ( _
    session As Session, _
    mechanism As Mechanism, _
    template As CryptokiAttribute() _
) As CryptoKey
public static CryptoKey GenerateKey(
    Session session,
    Mechanism mechanism,
    CryptokiAttribute[] template
)
public:
static CryptoKey^ GenerateKey(
    Session^ session, 
    Mechanism^ mechanism, 
    array<CryptokiAttribute^>^ template
)
static member GenerateKey : 
        session:Session * 
        mechanism:Mechanism * 
        template:CryptokiAttribute[] -> CryptoKey 
public static function GenerateKey(
    session : Session, 
    mechanism : Mechanism, 
    template : CryptokiAttribute[]
) : CryptoKey

Parameters

Return Value

Type: System.Security.Cryptography. . :: . .CryptoKey

.NET Framework Security

See Also

Reference

CryptoKey Class

System.Security.Cryptography Namespace