AsymmetricAlgorithmNames.EcdsaP256Sha256 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取包含 「ECDSA_P256_SHA256」 的字串。
public:
static property Platform::String ^ EcdsaP256Sha256 { Platform::String ^ get(); };
static winrt::hstring EcdsaP256Sha256();
public static string EcdsaP256Sha256 { get; }
var string = AsymmetricAlgorithmNames.ecdsaP256Sha256;
Public Shared ReadOnly Property EcdsaP256Sha256 As String
屬性值
包含 「ECDSA_P256_SHA256」 的字串。
備註
當您呼叫 OpenAlgorithm 方法時,請使用此屬性所擷取的字串來設定非對稱演算法名稱。 字串代表橢圓曲線數位簽章演算法 (ECDSA) ,其使用 256 位公開金鑰和安全雜湊演算法 (SHA) 在簽署之前雜湊訊息內容。 雜湊的長度為 256 位。
注意
您必須在呼叫 CreateKeyPair 方法時指定 256 的值,才能建立與此演算法相容的金鑰。