using System;
using Net.Sf.Pkcs11.Wrapper;

namespace Net.Sf.Pkcs11.Delegates
{
     [System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute(System.Runtime.InteropServices.CallingConvention.Cdecl)]
	internal delegate CKR  C_GenerateKeyPair(
		uint hSession,
		ref CK_MECHANISM pMechanism,
		CK_ATTRIBUTE[] pPublicKeyTemplate,
		uint ulPublicKeyAttributeCount,
		CK_ATTRIBUTE[] pPrivateKeyTemplate,
		uint ulPrivateKeyAttributeCount,
		ref uint phPublicKey,
		ref uint phPrivateKey
	);
}