Share via


X509ClmCertificate Constructor

Initializes X509ClmCertificate class objects.

Namespace: Microsoft.Clm.Shared.Certificates
Assembly: Microsoft.Clm.Shared (in Microsoft.Clm.Shared.dll)

Usage

'Usage
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

'Declaration
Public Sub New ( _
    isKeyHistory As Boolean, _
    archivedOnCa As Boolean, _
    type As CertificateType, _
    templateCommonName As String, _
    thumbprint As String, _
    serialNumber As String _
)
public X509ClmCertificate (
    bool isKeyHistory,
    bool archivedOnCa,
    CertificateType type,
    string templateCommonName,
    string thumbprint,
    string serialNumber
)
public:
X509ClmCertificate (
    bool isKeyHistory, 
    bool archivedOnCa, 
    CertificateType type, 
    String^ templateCommonName, 
    String^ thumbprint, 
    String^ serialNumber
)
public X509ClmCertificate (
    boolean isKeyHistory, 
    boolean archivedOnCa, 
    CertificateType type, 
    String templateCommonName, 
    String thumbprint, 
    String serialNumber
)
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.
  • 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

Reference

X509ClmCertificate Class
X509ClmCertificate Members
Microsoft.Clm.Shared.Certificates Namespace
CertificateType Enumeration