Class KeyChain
public class KeyChain : JVMBridgeBase<KeyChain>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
KeyChain
- Implements
- Extension Methods
Constructors
KeyChain()
public KeyChain()
KeyChain(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KeyChain(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ACTION_KEYCHAIN_CHANGED
public static String ACTION_KEYCHAIN_CHANGED { get; set; }
Property Value
ACTION_KEY_ACCESS_CHANGED
public static String ACTION_KEY_ACCESS_CHANGED { get; set; }
Property Value
ACTION_STORAGE_CHANGED
[Obsolete("Deprecated in JVM")]
public static String ACTION_STORAGE_CHANGED { get; set; }
Property Value
ACTION_TRUST_STORE_CHANGED
public static String ACTION_TRUST_STORE_CHANGED { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EXTRA_CERTIFICATE
public static String EXTRA_CERTIFICATE { get; set; }
Property Value
EXTRA_KEY_ACCESSIBLE
public static String EXTRA_KEY_ACCESSIBLE { get; set; }
Property Value
EXTRA_KEY_ALIAS
public static String EXTRA_KEY_ALIAS { get; set; }
Property Value
EXTRA_NAME
public static String EXTRA_NAME { get; set; }
Property Value
EXTRA_PKCS12
public static String EXTRA_PKCS12 { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
KEY_ALIAS_SELECTION_DENIED
public static String KEY_ALIAS_SELECTION_DENIED { get; set; }
Property Value
Methods
ChoosePrivateKeyAlias(Activity, KeyChainAliasCallback, String[], Principal[], Uri, String)
public static void ChoosePrivateKeyAlias(Activity arg0, KeyChainAliasCallback arg1, String[] arg2, Principal[] arg3, Uri arg4, String arg5)
Parameters
ChoosePrivateKeyAlias(Activity, KeyChainAliasCallback, String[], Principal[], String, int, String)
public static void ChoosePrivateKeyAlias(Activity arg0, KeyChainAliasCallback arg1, String[] arg2, Principal[] arg3, String arg4, int arg5, String arg6)
Parameters
arg0Activityarg1KeyChainAliasCallbackarg2String[]arg3Principal[]arg4Stringarg5intarg6String
CreateInstallIntent()
public static Intent CreateInstallIntent()
Returns
CreateManageCredentialsIntent(AppUriAuthenticationPolicy)
public static Intent CreateManageCredentialsIntent(AppUriAuthenticationPolicy arg0)
Parameters
Returns
CreatePoolableInstance()
HPA initializer for KeyChain()
public static KeyChain CreatePoolableInstance()
Returns
GetCertificateChain(Context, String)
public static X509Certificate[] GetCertificateChain(Context arg0, String arg1)
Parameters
Returns
Exceptions
GetCredentialManagementAppPolicy(Context)
public static AppUriAuthenticationPolicy GetCredentialManagementAppPolicy(Context arg0)
Parameters
Returns
Exceptions
GetPrivateKey(Context, String)
public static PrivateKey GetPrivateKey(Context arg0, String arg1)
Parameters
Returns
Exceptions
IsBoundKeyAlgorithm(String)
[Obsolete("Deprecated in JVM")]
public static bool IsBoundKeyAlgorithm(String arg0)
Parameters
Returns
IsCredentialManagementApp(Context)
public static bool IsCredentialManagementApp(Context arg0)
Parameters
Returns
IsKeyAlgorithmSupported(String)
public static bool IsKeyAlgorithmSupported(String arg0)
Parameters
Returns
RemoveCredentialManagementApp(Context)
public static bool RemoveCredentialManagementApp(Context arg0)