HDInsightClient.EncryptAsBase64String(X509Certificate2, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encrypt payload string into a base 64-encoded string using the certificate. This is suitable for encrypting storage account keys for later use as a job argument.
public static string EncryptAsBase64String (System.Security.Cryptography.X509Certificates.X509Certificate2 cert, string payload);
static member EncryptAsBase64String : System.Security.Cryptography.X509Certificates.X509Certificate2 * string -> string
Public Shared Function EncryptAsBase64String (cert As X509Certificate2, payload As String) As String
Parameters
- cert
- X509Certificate2
Certificate used to encrypt the payload.
- payload
- String
Value to encrypt.
Returns
Encrypted payload.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET