共用方式為


KeyFactorySpi.EngineTranslateKey(IKey) Method

Definition

Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.

[Android.Runtime.Register("engineTranslateKey", "(Ljava/security/Key;)Ljava/security/Key;", "GetEngineTranslateKey_Ljava_security_Key_Handler")]
protected abstract Java.Security.IKey? EngineTranslateKey (Java.Security.IKey? key);
[<Android.Runtime.Register("engineTranslateKey", "(Ljava/security/Key;)Ljava/security/Key;", "GetEngineTranslateKey_Ljava_security_Key_Handler")>]
abstract member EngineTranslateKey : Java.Security.IKey -> Java.Security.IKey

Parameters

key
IKey

the key whose provider is unknown or untrusted.

Returns

the translated key.

Attributes

Exceptions

if the specified key can not be translated by this key factory.

Remarks

Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.

Java documentation for java.security.KeyFactorySpi.engineTranslateKey(java.security.Key).

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