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

Syntax

Visual Basic (Declaration)
Public Shared Function ImportCertificate ( _
	cert As X509Certificate2, _
	session As Session, _
	id As Byte(), _
	label As String _
) As X509Certificate
C#
public static X509Certificate ImportCertificate(
	X509Certificate2 cert,
	Session session,
	byte[] id,
	string label
)
Visual C++
public:
static X509Certificate^ ImportCertificate(
	X509Certificate2^ cert, 
	Session^ session, 
	array<unsigned char>^ id, 
	String^ label
)
JavaScript
Cryptware.NCryptoki.Utils.importCertificate = function(cert, session, id, label);

Parameters

cert
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
session
Type: Cryptware.NCryptoki..::..Session
id
Type: array<System..::..Byte>[]()[]
label
Type: System..::..String

See Also