Retrieves the certificate issued from the certificate authority (CA).
Namespace: Microsoft.Clm.Shared.CertificateServer
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)

Usage

Visual Basic
Dim instance As ICertificateServer
Dim serialNumber As String
Dim returnValue As String

returnValue = instance.GetCertificate(serialNumber)

Syntax

Visual Basic
Function GetCertificate ( _
		serialNumber As String _
) As String
C#
string GetCertificate (
		string serialNumber
)
C++
String^ GetCertificate (
		String^ serialNumber
)
J#
String GetCertificate (
		String serialNumber
)
JScript
function GetCertificate (
		serialNumber : String
) : String

Parameters

serialNumber

Return Value

Returns String.

Return Value

Returns String representing a base64-encoded certificate.

Exceptions

Exception type Condition
InvalidOperationException

Thrown if Initialize method has not been called.

ArgumentNullException

Thrown if any null arguments are passed to the method.

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