你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EncryptionUtility.EncryptText Method

Definition

Overloads

EncryptText(String, String, String)

public static string EncryptText(string textToEncrypt, string thumbprint, string storeName);
static member EncryptText : string * string * string -> string
Public Shared Function EncryptText (textToEncrypt As String, thumbprint As String, storeName As String) As String

Parameters

textToEncrypt
System.String
thumbprint
System.String
storeName
System.String

Returns

System.String

Applies to

EncryptText(String, String, String, StoreLocation, String)

public static string EncryptText(string textToEncrypt, string thumbprint, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, string algorithmOid);
static member EncryptText : string * string * string * System.Security.Cryptography.X509Certificates.StoreLocation * string -> string
Public Shared Function EncryptText (textToEncrypt As String, thumbprint As String, storeName As String, storeLocation As StoreLocation, algorithmOid As String) As String

Parameters

textToEncrypt
System.String
thumbprint
System.String
storeName
System.String
storeLocation
System.Security.Cryptography.X509Certificates.StoreLocation
algorithmOid
System.String

Returns

System.String

Applies to