Registers a third-party (non-Microsoft) certificate authority (CA).
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)

Usage

Visual Basic
Dim name As String
Dim serverName As String
Dim friendlyName As String
Dim type As CAType
Dim assembly As String
Dim templates As ReadOnlyCollection(Of String)
Dim config As String
Dim returnValue As Byte

returnValue = CertificateServerOperations.RegisterCA(name, serverName, friendlyName, type, assembly, templates, config)

Syntax

Visual Basic
Public Shared Function RegisterCA ( _
		name As String, _
		serverName As String, _
		friendlyName As String, _
		type As CAType, _
		assembly As String, _
		templates As ReadOnlyCollection(Of String), _
		config As String _
) As Byte
C#
public static byte RegisterCA (
		string name,
		string serverName,
		string friendlyName,
		CAType type,
		string assembly,
		ReadOnlyCollection<string> templates,
		string config
)
C++
public:
static unsigned char RegisterCA (
		String^ name, 
		String^ serverName, 
		String^ friendlyName, 
		CAType type, 
		String^ assembly, 
		ReadOnlyCollection<String^>^ templates, 
		String^ config
)
J#
public static byte RegisterCA (
		String name, 
		String serverName, 
		String friendlyName, 
		CAType type, 
		String assembly, 
		ReadOnlyCollection<String> templates, 
		String config
)
JScript
public static function RegisterCA (
		name : String, 
		serverName : String, 
		friendlyName : String, 
		type : CAType, 
		assembly : String, 
		templates : ReadOnlyCollection<String>, 
		config : String
) : byte

Parameters

name

Name of the third party CA.

serverName

The CA server name.

friendlyName

Reserved for future use.

type

Type of the CA (Microsoft or 3rd party). See CAType enumeration.

assembly

Name of the assembly that implements the connector. This parameter is specific to third party (non-Microsoft) CAs.

templates

ReadOnlyCollection of String values that contains the common names of certificate templates as they appear in Active Directory. These templates can be used to request certificates from the given third party (non-Microsoft) CA.

config

Configuration data to be passed to the third party CA connector during initialization.

Return Value

Returns Byte.

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