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

Syntax

Visual Basic (Declaration)
Public MustOverride Function C_GenerateKeyPair ( _
	hSession As Integer, _
	pMechanism As Mechanism, _
	pubKeyAttrsColl As ICollection, _
	priKeyAttrsColl As ICollection, _
	<OutAttribute> ByRef phPubKey As Integer, _
	<OutAttribute> ByRef phPriKey As Integer _
) As Integer
C#
public abstract int C_GenerateKeyPair(
	int hSession,
	Mechanism pMechanism,
	ICollection pubKeyAttrsColl,
	ICollection priKeyAttrsColl,
	out int phPubKey,
	out int phPriKey
)
Visual C++
public:
virtual int C_GenerateKeyPair(
	int hSession, 
	Mechanism^ pMechanism, 
	ICollection^ pubKeyAttrsColl, 
	ICollection^ priKeyAttrsColl, 
	[OutAttribute] int% phPubKey, 
	[OutAttribute] int% phPriKey
) abstract
JavaScript
function c_GenerateKeyPair(hSession, pMechanism, pubKeyAttrsColl, priKeyAttrsColl, phPubKey, phPriKey);

Parameters

hSession
Type: System..::..Int32
pMechanism
Type: Cryptware.NCryptoki..::..Mechanism
pubKeyAttrsColl
Type: System.Collections..::..ICollection
priKeyAttrsColl
Type: System.Collections..::..ICollection
phPubKey
Type: System..::..Int32%
phPriKey
Type: System..::..Int32%

See Also