EncryptionUtils.GetCertificateFromStore Method (String)
Gets the certificate from store.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Shared Function GetCertificateFromStore ( _
certificateThumbprint As String _
) As X509Certificate2
'Usage
Dim certificateThumbprint As String
Dim returnValue As X509Certificate2
returnValue = EncryptionUtils.GetCertificateFromStore(certificateThumbprint)
public static X509Certificate2 GetCertificateFromStore(
string certificateThumbprint
)
public:
static X509Certificate2^ GetCertificateFromStore(
String^ certificateThumbprint
)
static member GetCertificateFromStore :
certificateThumbprint:string -> X509Certificate2
public static function GetCertificateFromStore(
certificateThumbprint : String
) : X509Certificate2
Parameters
- certificateThumbprint
Type: System.String
The certificate thumbprint.
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
The X509 certificate.