Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)
Usage
Visual Basic |
---|
Dim instance As CertificateServerOperationsByCulture Dim caId As Byte Dim certificate As Byte() Dim certificateTemplateOid As String Dim userGuid As Guid Dim archived As Boolean Dim uiCulture As CultureInfo Dim culture As CultureInfo Dim returnValue As Integer returnValue = instance.WriteCertificateData(caId, certificate, certificateTemplateOid, userGuid, archived, uiCulture, culture) |
Syntax
Visual Basic |
---|
Public Function WriteCertificateData ( _ caId As Byte, _ certificate As Byte(), _ certificateTemplateOid As String, _ userGuid As Guid, _ archived As Boolean, _ uiCulture As CultureInfo, _ culture As CultureInfo _ ) As Integer |
C# |
---|
public int WriteCertificateData ( byte caId, byte[] certificate, string certificateTemplateOid, Guid userGuid, bool archived, CultureInfo uiCulture, CultureInfo culture ) |
C++ |
---|
public: int WriteCertificateData ( unsigned char caId, array<unsigned char>^ certificate, String^ certificateTemplateOid, Guid userGuid, bool archived, CultureInfo^ uiCulture, CultureInfo^ culture ) |
J# |
---|
public int WriteCertificateData ( byte caId, byte[] certificate, String certificateTemplateOid, Guid userGuid, boolean archived, CultureInfo uiCulture, CultureInfo culture ) |
JScript |
---|
public function WriteCertificateData ( caId : byte, certificate : byte[], certificateTemplateOid : String, userGuid : Guid, archived : boolean, uiCulture : CultureInfo, culture : CultureInfo ) : int |
Parameters
- caId
-
ID of the CA that issued the certificate.
- certificate
-
Issued certificate.
- certificateTemplateOid
-
OID of the certificate template.
- userGuid
-
The Active Directory GUID of the subscriber.
- archived
-
A Boolean value that indicates if the private key is archived.
- 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 unique persistent id of the certificate record as a Int32.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.