Initializes X509ClmCertificate class objects.
Namespace: Microsoft.Clm.Shared.Certificates
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)

Usage

Visual Basic
Dim isKeyHistory As Boolean
Dim archivedOnCa As Boolean
Dim type As CertificateType
Dim templateCommonName As String
Dim thumbprint As String
Dim serialNumber As String

Dim instance As New X509ClmCertificate(isKeyHistory, archivedOnCa, type, templateCommonName, thumbprint, serialNumber)

Syntax

Visual Basic
Public Sub New ( _
		isKeyHistory As Boolean, _
		archivedOnCa As Boolean, _
		type As CertificateType, _
		templateCommonName As String, _
		thumbprint As String, _
		serialNumber As String _
)
C#
public X509ClmCertificate (
		bool isKeyHistory,
		bool archivedOnCa,
		CertificateType type,
		string templateCommonName,
		string thumbprint,
		string serialNumber
)
C++
public:
X509ClmCertificate (
		bool isKeyHistory, 
		bool archivedOnCa, 
		CertificateType type, 
		String^ templateCommonName, 
		String^ thumbprint, 
		String^ serialNumber
)
J#
public X509ClmCertificate (
		boolean isKeyHistory, 
		boolean archivedOnCa, 
		CertificateType type, 
		String templateCommonName, 
		String thumbprint, 
		String serialNumber
)
JScript
public function X509ClmCertificate (
		isKeyHistory : boolean, 
		archivedOnCa : boolean, 
		type : CertificateType, 
		templateCommonName : String, 
		thumbprint : String, 
		serialNumber : String
)

Parameters

isKeyHistory

true to specify that the certificate is a key history certificate; otherwise, false.

archivedOnCa

true to specify that the certificate is archived on the certification authority (CA); otherwise, false.

type

A CertificateType value that specifies the type of the certificate.

templateCommonName

A Guid object that contains certificate template common name for the certificate.

thumbprint

A Guid object that contains the thumbprint for the certificate.

serialNumber

A Guid object that contains the serial number for the certificate.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also