SecretKeyFactorySpi.EngineTranslateKey(ISecretKey) 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.
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
[Android.Runtime.Register("engineTranslateKey", "(Ljavax/crypto/SecretKey;)Ljavax/crypto/SecretKey;", "GetEngineTranslateKey_Ljavax_crypto_SecretKey_Handler")]
protected abstract Javax.Crypto.ISecretKey? EngineTranslateKey (Javax.Crypto.ISecretKey? key);
[<Android.Runtime.Register("engineTranslateKey", "(Ljavax/crypto/SecretKey;)Ljavax/crypto/SecretKey;", "GetEngineTranslateKey_Ljavax_crypto_SecretKey_Handler")>]
abstract member EngineTranslateKey : Javax.Crypto.ISecretKey -> Javax.Crypto.ISecretKey
Parameters
- key
- ISecretKey
the key whose provider is unknown or untrusted
Returns
the translated key
- Attributes
Exceptions
if the specified key cannot be translated using this key factory.
Remarks
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
Java documentation for javax.crypto.SecretKeyFactorySpi.engineTranslateKey(javax.crypto.SecretKey)
.
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.