KeyStore.PasswordProtection.ProtectionAlgorithm 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得保護演算法的名稱。
public virtual string ProtectionAlgorithm { [Android.Runtime.Register("getProtectionAlgorithm", "()Ljava/lang/String;", "GetGetProtectionAlgorithmHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getProtectionAlgorithm", "()Ljava/lang/String;", "GetGetProtectionAlgorithmHandler", ApiSince=26)>]
member this.ProtectionAlgorithm : string
屬性值
演算法名稱,或 null 若未設定 則為
- 屬性
備註
取得保護演算法的名稱。 若未設定,金鑰存儲提供者將使用其預設保護演算法。 特定金鑰儲存類型的預設保護演算法名稱是利用 'keystore.<type>.keyProtectionAlgorithm' 安全屬性設定的。 例如,屬性 keystore.PKCS12.keyProtectionAlgorithm 儲存了用於 PKCS12 密鑰庫的預設金鑰保護演算法名稱。 若安全屬性未設定,則會使用實作特定的演算法。
新增於1.8版本。
Java 文件 java.security.KeyStore.PasswordProtection.getProtectionAlgorithm()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。