GenerateKeyPair 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)


Public Shared Function GenerateKeyPair ( _
    session As Session, _
    mechanism As Mechanism, _
    publicKeyTemplate As CryptokiAttribute(), _
    privateKeyTemplate As CryptokiAttribute() _
) As CryptoKey
public static CryptoKey GenerateKeyPair(
    Session session,
    Mechanism mechanism,
    CryptokiAttribute[] publicKeyTemplate,
    CryptokiAttribute[] privateKeyTemplate
static CryptoKey^ GenerateKeyPair(
    Session^ session, 
    Mechanism^ mechanism, 
    array<CryptokiAttribute^>^ publicKeyTemplate, 
    array<CryptokiAttribute^>^ privateKeyTemplate
static member GenerateKeyPair : 
        session:Session * 
        mechanism:Mechanism * 
        publicKeyTemplate:CryptokiAttribute[] * 
        privateKeyTemplate:CryptokiAttribute[] -> CryptoKey 
public static function GenerateKeyPair(
    session : Session, 
    mechanism : Mechanism, 
    publicKeyTemplate : CryptokiAttribute[], 
    privateKeyTemplate : CryptokiAttribute[]
) : CryptoKey


Return Value

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

.NET Framework Security

See Also


CryptoKey Class

System.Security.Cryptography Namespace