语言

KeyFactorySpi.EngineTranslateKey(IKey) 方法

定义

将密钥对象(其提供程序可能未知或可能不受信任)转换为此密钥工厂的相应密钥对象。

[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

参数

key
IKey

提供程序未知或不受信任的密钥。

返回

已转换的键。

特性

例外

如果此密钥工厂无法转换指定的密钥,则为

注解

将密钥对象(其提供程序可能未知或可能不受信任)转换为此密钥工厂的相应密钥对象。

Java文档java.security.KeyFactorySpi.engineTranslateKey(java.security.Key)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于