Generates the key pair.

Namespace:  Cryptware.NCryptoki
Assembly:  NCryptoki (in NCryptoki.dll)

Syntax

Visual Basic (Declaration)
Function GenerateKeyPair ( _
	mech As Mechanism, _
	attListPub As CryptokiCollection, _
	attListPri As CryptokiCollection _
) As Key()
C#
Key[] GenerateKeyPair(
	Mechanism mech,
	CryptokiCollection attListPub,
	CryptokiCollection attListPri
)
Visual C++
array<Key^>^ GenerateKeyPair(
	Mechanism^ mech, 
	CryptokiCollection^ attListPub, 
	CryptokiCollection^ attListPri
)
JavaScript
function generateKeyPair(mech, attListPub, attListPri);

Parameters

mech
Type: Cryptware.NCryptoki..::..Mechanism
The mech.
attListPub
Type: Cryptware.NCryptoki..::..CryptokiCollection
The att list pub.
attListPri
Type: Cryptware.NCryptoki..::..CryptokiCollection
The att list pri.

Return Value

See Also