Retrieves the accepted certificate chain and private key from a
response message.
Namespace: Microsoft.Clm
Assembly: Microsoft.Clm.Common (in microsoft.clm.common.dll)
Usage
Visual Basic |
Dim instance As IServerKeyGenerator
Dim response As String
Dim password As String
Dim returnValue As Byte()
returnValue = instance.ExportKey(response, password)
|
Syntax
Visual Basic |
Function ExportKey ( _
response As String, _
password As String _
) As Byte()
|
C# |
byte[] ExportKey (
string response,
string password
)
|
C++ |
array<unsigned char>^ ExportKey (
String^ response,
String^ password
)
|
J# |
byte[] ExportKey (
String response,
String password
)
|
JScript |
function ExportKey (
response : String,
password : String
) : byte[]
|
Parameters
- response
-
A String object that contains the BASE64 encoded
response. The response is either in PKCS #7 format or it is a full
CMC response.
- password
-
A String object that contains the password for the PFX
format message.
Return Value
An array of bytes that contains the accepted certificate chain and
private key in a Personal Information Exchange (PFX) format
string.
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