Namespace: Microsoft.Clm.Shared.CertificateServer
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)
Usage
Visual Basic |
---|
Dim instance As ICertificateServer Dim serialNumbers As ReadOnlyCollection(Of String) Dim pfxPassword As String Dim returnValue As IList(Of String) returnValue = instance.RecoverKeys(serialNumbers, pfxPassword) |
Syntax
Visual Basic |
---|
Function RecoverKeys ( _ serialNumbers As ReadOnlyCollection(Of String), _ pfxPassword As String _ ) As IList(Of String) |
C# |
---|
IList<string> RecoverKeys ( ReadOnlyCollection<string> serialNumbers, string pfxPassword ) |
C++ |
---|
IList<String^>^ RecoverKeys ( ReadOnlyCollection<String^>^ serialNumbers, String^ pfxPassword ) |
J# |
---|
IList<String> RecoverKeys ( ReadOnlyCollection<String> serialNumbers, String pfxPassword ) |
JScript |
---|
function RecoverKeys ( serialNumbers : ReadOnlyCollection<String>, pfxPassword : String ) : IList<String> |
Parameters
- serialNumbers
- pfxPassword
Return Value
Returns IList.Return Value
Returns IList representing base64-encoded PFX files.Exceptions
Exception type | Condition |
---|---|
InvalidOperationException |
Thrown if Initialize method has not been called. |
CertificateOperationException |
Thrown if RecoverKeys operation fails |
ArgumentNullException |
Thrown if any null arguments are passed to the method. |
Remarks
Notes to Implementers: Implementation
must throw a CertificateOperationException after the first
error is encountered. Notes to Callers: Caller of this
method should not make any assumptions about the order of
processing for multiple certificates. Implementation must throw a
CertificateOperationException after the first error is
encountered.
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.