Class KeyProtection.Builder
public class KeyProtection.Builder : JVMBridgeBase<KeyProtection.Builder>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
KeyProtection.Builder
- Implements
- Extension Methods
Constructors
Builder(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 Builder(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Builder(int)
public Builder(int arg0)
Parameters
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
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
Methods
Build()
https://developer.android.com/reference/android/security/keystore/KeyProtection.Builder.html#build()
public KeyProtection Build()
Returns
CreatePoolableInstance(int)
HPA initializer for Builder(int arg0)
public static KeyProtection.Builder CreatePoolableInstance(int arg0)
Parameters
arg0int
Returns
SetBlockModes(params String[])
public KeyProtection.Builder SetBlockModes(params String[] arg0)
Parameters
Returns
SetDigests(params String[])
public KeyProtection.Builder SetDigests(params String[] arg0)
Parameters
Returns
SetEncryptionPaddings(params String[])
public KeyProtection.Builder SetEncryptionPaddings(params String[] arg0)
Parameters
Returns
SetInvalidatedByBiometricEnrollment(bool)
public KeyProtection.Builder SetInvalidatedByBiometricEnrollment(bool arg0)
Parameters
Returns
SetIsStrongBoxBacked(bool)
public KeyProtection.Builder SetIsStrongBoxBacked(bool arg0)
Parameters
Returns
SetKeyValidityEnd(Date)
public KeyProtection.Builder SetKeyValidityEnd(Date arg0)
Parameters
Returns
SetKeyValidityForConsumptionEnd(Date)
public KeyProtection.Builder SetKeyValidityForConsumptionEnd(Date arg0)
Parameters
Returns
SetKeyValidityForOriginationEnd(Date)
public KeyProtection.Builder SetKeyValidityForOriginationEnd(Date arg0)
Parameters
Returns
SetKeyValidityStart(Date)
public KeyProtection.Builder SetKeyValidityStart(Date arg0)
Parameters
Returns
SetMaxUsageCount(int)
public KeyProtection.Builder SetMaxUsageCount(int arg0)
Parameters
Returns
SetMgf1Digests(params String[])
public KeyProtection.Builder SetMgf1Digests(params String[] arg0)
Parameters
Returns
SetRandomizedEncryptionRequired(bool)
public KeyProtection.Builder SetRandomizedEncryptionRequired(bool arg0)
Parameters
Returns
SetSignaturePaddings(params String[])
public KeyProtection.Builder SetSignaturePaddings(params String[] arg0)
Parameters
Returns
SetUnlockedDeviceRequired(bool)
public KeyProtection.Builder SetUnlockedDeviceRequired(bool arg0)
Parameters
Returns
SetUserAuthenticationParameters(int, int)
public KeyProtection.Builder SetUserAuthenticationParameters(int arg0, int arg1)
Parameters
Returns
SetUserAuthenticationRequired(bool)
public KeyProtection.Builder SetUserAuthenticationRequired(bool arg0)
Parameters
Returns
SetUserAuthenticationValidWhileOnBody(bool)
public KeyProtection.Builder SetUserAuthenticationValidWhileOnBody(bool arg0)
Parameters
Returns
SetUserAuthenticationValidityDurationSeconds(int)
[Obsolete("Deprecated in JVM")]
public KeyProtection.Builder SetUserAuthenticationValidityDurationSeconds(int arg0)
Parameters
Returns
SetUserConfirmationRequired(bool)
public KeyProtection.Builder SetUserConfirmationRequired(bool arg0)
Parameters
Returns
SetUserPresenceRequired(bool)
public KeyProtection.Builder SetUserPresenceRequired(bool arg0)