SecretKeyFactory.TranslateKey(ISecretKey) SecretKeyFactory.TranslateKey(ISecretKey) Method

Definition

Translates the specified secret key into an instance of the corresponding key from the provider of this key factory.

[Android.Runtime.Register("translateKey", "(Ljavax/crypto/SecretKey;)Ljavax/crypto/SecretKey;", "")]
public Javax.Crypto.ISecretKey TranslateKey (Javax.Crypto.ISecretKey key);
member this.TranslateKey : Javax.Crypto.ISecretKey -> Javax.Crypto.ISecretKey

Parameters

key
ISecretKey ISecretKey

the secret key to translate.

Returns

Exceptions

if the specified key cannot be translated using this key factory.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to