Submits certificate enrollment requests and enrollment attributes to the certificate authority (CA) and returns a list containing certificates and errors.
Namespace: Microsoft.Clm.Shared.CertificateServer
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)

Usage

Visual Basic
Dim instance As ICertificateServer
Dim requests As ReadOnlyCollection(Of CertificateRequest)
Dim attributes As EnrollmentAttributes
Dim returnValue As IList(Of CertificateResponse)

returnValue = instance.RequestCertificates(requests, attributes)

Syntax

Visual Basic
Function RequestCertificates ( _
		requests As ReadOnlyCollection(Of CertificateRequest), _
		attributes As EnrollmentAttributes _
) As IList(Of CertificateResponse)
C#
IList<CertificateResponse> RequestCertificates (
		ReadOnlyCollection<CertificateRequest> requests,
		EnrollmentAttributes attributes
)
C++
IList<CertificateResponse^>^ RequestCertificates (
		ReadOnlyCollection<CertificateRequest^>^ requests, 
		EnrollmentAttributes^ attributes
)
J#
IList<CertificateResponse> RequestCertificates (
		ReadOnlyCollection<CertificateRequest> requests, 
		EnrollmentAttributes attributes
)
JScript
function RequestCertificates (
		requests : ReadOnlyCollection<CertificateRequest>, 
		attributes : EnrollmentAttributes
) : IList<CertificateResponse>

Parameters

requests
attributes

Return Value

Returns IList.

Return Value

Returns IList representing issued certificates or errors.

Exceptions

Exception type Condition
InvalidOperationException

Thrown if Initialize method has not been called.

ArgumentNullException

Thrown if any null arguments are passed to the method.

Remarks


Remarks

Items in the returned list must correspond to the items in the submitted list of requests.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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