IServerKeyGenerator.ExportKey Method
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
'Usage
Dim instance As IServerKeyGenerator
Dim response As String
Dim password As String
Dim returnValue As Byte()
returnValue = instance.ExportKey(response, password)
Syntax
'Declaration
Function ExportKey ( _
response As String, _
password As String _
) As Byte()
byte[] ExportKey (
string response,
string password
)
array<unsigned char>^ ExportKey (
String^ response,
String^ password
)
byte[] ExportKey (
String response,
String password
)
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
Reference
IServerKeyGenerator Interface
IServerKeyGenerator Members
Microsoft.Clm Namespace