KeyFactory.TranslateKey(IKey) 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 key factory.
[Android.Runtime.Register("translateKey", "(Ljava/security/Key;)Ljava/security/Key;", "")]
public Java.Security.IKey? TranslateKey (Java.Security.IKey? key);
[<Android.Runtime.Register("translateKey", "(Ljava/security/Key;)Ljava/security/Key;", "")>]
member this.TranslateKey : 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.KeyFactory.translateKey(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.