Share via


CertificateRequest Constructor

Initializes CertificateRequest class objects.

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

Usage

'Usage
Dim templateCommonName As String
Dim rawRequest As String
Dim options As CertificateRequestOptions

Dim instance As New CertificateRequest(templateCommonName, rawRequest, options)

Syntax

'Declaration
Public Sub New ( _
    templateCommonName As String, _
    rawRequest As String, _
    options As CertificateRequestOptions _
)
public CertificateRequest (
    string templateCommonName,
    string rawRequest,
    CertificateRequestOptions options
)
public:
CertificateRequest (
    String^ templateCommonName, 
    String^ rawRequest, 
    CertificateRequestOptions^ options
)
public CertificateRequest (
    String templateCommonName, 
    String rawRequest, 
    CertificateRequestOptions options
)
public function CertificateRequest (
    templateCommonName : String, 
    rawRequest : String, 
    options : CertificateRequestOptions
)

Parameters

  • templateCommonName
    A String object that contains the certificate template common name for the certificate request.
  • rawRequest
    A String object that contains the raw BASE64 encoded request.

Remarks

A CertificateRequest object must be created to satisfy all the rules of the certificate template being requested. The certificate request must be compliant with the cryptographic message syntax (CMS) specification.

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

CertificateRequest Class
CertificateRequest Members
Microsoft.Clm.Shared.Certificates Namespace
CertificateRequestOptions