Adds or updates certificate authority (CA) or connector registration data. Returns the ID of the registered connector.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)

Usage

Visual Basic
Dim instance As CertificateServerOperationsByCulture
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 uiCulture As CultureInfo
Dim culture As CultureInfo
Dim returnValue As Byte

returnValue = instance.RegisterCA(name, serverName, friendlyName, type, assembly, templates, config, uiCulture, culture)

Syntax

Visual Basic
Public 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, _
		uiCulture As CultureInfo, _
		culture As CultureInfo _
) As Byte
C#
public byte RegisterCA (
		string name,
		string serverName,
		string friendlyName,
		CAType type,
		string assembly,
		ReadOnlyCollection<string> templates,
		string config,
		CultureInfo uiCulture,
		CultureInfo culture
)
C++
public:
unsigned char RegisterCA (
		String^ name, 
		String^ serverName, 
		String^ friendlyName, 
		CAType type, 
		String^ assembly, 
		ReadOnlyCollection<String^>^ templates, 
		String^ config, 
		CultureInfo^ uiCulture, 
		CultureInfo^ culture
)
J#
public byte RegisterCA (
		String name, 
		String serverName, 
		String friendlyName, 
		CAType type, 
		String assembly, 
		ReadOnlyCollection<String> templates, 
		String config, 
		CultureInfo uiCulture, 
		CultureInfo culture
)
JScript
public function RegisterCA (
		name : String, 
		serverName : String, 
		friendlyName : String, 
		type : CAType, 
		assembly : String, 
		templates : ReadOnlyCollection<String>, 
		config : String, 
		uiCulture : CultureInfo, 
		culture : CultureInfo
) : byte

Parameters

name

Name of the 3rd party CA.

serverName

Name of the CA server.

friendlyName

Reserved for future use.

type

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

assembly

The name of the assembly that implements the connector. This parameter is specific to 3rd party 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

String containing configuration data to be passed to the 3rd party CA connector during initialization.

uiCulture

Cultural settings to be used in the UI. See T:System.Globalization.CultureInfo.

culture

Sets cultural settings. See T:System.Globalization.CultureInfo.

Return Value

Returns the ID of the registered CA connector as a 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