Table of Contents

Class KeyProtection.Builder

Namespace
Android.Security.Keystore
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Builder(int)

public Builder(int arg0)

Parameters

arg0 int

int

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Build()

public KeyProtection Build()

Returns

KeyProtection

KeyProtection

CreatePoolableInstance(int)

HPA initializer for Builder(int arg0)

public static KeyProtection.Builder CreatePoolableInstance(int arg0)

Parameters

arg0 int

Returns

KeyProtection.Builder

SetBlockModes(params String[])

public KeyProtection.Builder SetBlockModes(params String[] arg0)

Parameters

arg0 String[]

String

Returns

KeyProtection.Builder

KeyProtection.Builder

SetDigests(params String[])

public KeyProtection.Builder SetDigests(params String[] arg0)

Parameters

arg0 String[]

String

Returns

KeyProtection.Builder

KeyProtection.Builder

SetEncryptionPaddings(params String[])

public KeyProtection.Builder SetEncryptionPaddings(params String[] arg0)

Parameters

arg0 String[]

String

Returns

KeyProtection.Builder

KeyProtection.Builder

SetInvalidatedByBiometricEnrollment(bool)

public KeyProtection.Builder SetInvalidatedByBiometricEnrollment(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetIsStrongBoxBacked(bool)

public KeyProtection.Builder SetIsStrongBoxBacked(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetKeyValidityEnd(Date)

public KeyProtection.Builder SetKeyValidityEnd(Date arg0)

Parameters

arg0 Date

Date

Returns

KeyProtection.Builder

KeyProtection.Builder

SetKeyValidityForConsumptionEnd(Date)

public KeyProtection.Builder SetKeyValidityForConsumptionEnd(Date arg0)

Parameters

arg0 Date

Date

Returns

KeyProtection.Builder

KeyProtection.Builder

SetKeyValidityForOriginationEnd(Date)

public KeyProtection.Builder SetKeyValidityForOriginationEnd(Date arg0)

Parameters

arg0 Date

Date

Returns

KeyProtection.Builder

KeyProtection.Builder

SetKeyValidityStart(Date)

public KeyProtection.Builder SetKeyValidityStart(Date arg0)

Parameters

arg0 Date

Date

Returns

KeyProtection.Builder

KeyProtection.Builder

SetMaxUsageCount(int)

public KeyProtection.Builder SetMaxUsageCount(int arg0)

Parameters

arg0 int

int

Returns

KeyProtection.Builder

KeyProtection.Builder

SetMgf1Digests(params String[])

public KeyProtection.Builder SetMgf1Digests(params String[] arg0)

Parameters

arg0 String[]

String

Returns

KeyProtection.Builder

KeyProtection.Builder

SetRandomizedEncryptionRequired(bool)

public KeyProtection.Builder SetRandomizedEncryptionRequired(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetSignaturePaddings(params String[])

public KeyProtection.Builder SetSignaturePaddings(params String[] arg0)

Parameters

arg0 String[]

String

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUnlockedDeviceRequired(bool)

public KeyProtection.Builder SetUnlockedDeviceRequired(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserAuthenticationParameters(int, int)

public KeyProtection.Builder SetUserAuthenticationParameters(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserAuthenticationRequired(bool)

public KeyProtection.Builder SetUserAuthenticationRequired(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserAuthenticationValidWhileOnBody(bool)

public KeyProtection.Builder SetUserAuthenticationValidWhileOnBody(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserAuthenticationValidityDurationSeconds(int)

[Obsolete("Deprecated in JVM")]
public KeyProtection.Builder SetUserAuthenticationValidityDurationSeconds(int arg0)

Parameters

arg0 int

int

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserConfirmationRequired(bool)

public KeyProtection.Builder SetUserConfirmationRequired(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder

SetUserPresenceRequired(bool)

public KeyProtection.Builder SetUserPresenceRequired(bool arg0)

Parameters

arg0 bool

bool

Returns

KeyProtection.Builder

KeyProtection.Builder