Table of Contents

Class IdentityCredential

Namespace
Android.Security.Identity
Assembly
MASES.Netdroid.dll
public class IdentityCredential : JVMBridgeBase<IdentityCredential>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
IdentityCredential
Implements
Extension Methods

Constructors

IdentityCredential(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 IdentityCredential(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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

CreateEphemeralKeyPair()

[Obsolete("Deprecated in JVM")]
public KeyPair CreateEphemeralKeyPair()

Returns

KeyPair

KeyPair

DecryptMessageFromReader(byte[])

[Obsolete("Deprecated in JVM")]
public byte[] DecryptMessageFromReader(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

Exceptions

MessageDecryptionException

Delete(byte[])

public byte[] Delete(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

EncryptMessageToReader(byte[])

[Obsolete("Deprecated in JVM")]
public byte[] EncryptMessageToReader(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

GetAuthKeysNeedingCertification()

public Collection<X509Certificate> GetAuthKeysNeedingCertification()

Returns

Collection<X509Certificate>

Collection

GetAuthenticationDataUsageCount()

[Obsolete("Deprecated in JVM")]
public int[] GetAuthenticationDataUsageCount()

Returns

int[]

int

GetAuthenticationKeyMetadata()

public List<AuthenticationKeyMetadata> GetAuthenticationKeyMetadata()

Returns

List<AuthenticationKeyMetadata>

List

GetCredentialKeyCertificateChain()

public Collection<X509Certificate> GetCredentialKeyCertificateChain()

Returns

Collection<X509Certificate>

Collection

GetEntries(byte[], Map<String, Collection<String>>, byte[], byte[])

[Obsolete("Deprecated in JVM")]
public ResultData GetEntries(byte[] arg0, Map<String, Collection<String>> arg1, byte[] arg2, byte[] arg3)

Parameters

arg0 byte[]

byte

arg1 Map<String, Collection<String>>

Map

arg2 byte[]

byte

arg3 byte[]

byte

Returns

ResultData

ResultData

Exceptions

EphemeralPublicKeyNotFoundException
InvalidReaderSignatureException
InvalidRequestMessageException
NoAuthenticationKeyAvailableException
SessionTranscriptMismatchException

ProveOwnership(byte[])

public byte[] ProveOwnership(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

SetAllowUsingExhaustedKeys(bool)

[Obsolete("Deprecated in JVM")]
public void SetAllowUsingExhaustedKeys(bool arg0)

Parameters

arg0 bool

bool

SetAllowUsingExpiredKeys(bool)

[Obsolete("Deprecated in JVM")]
public void SetAllowUsingExpiredKeys(bool arg0)

Parameters

arg0 bool

bool

SetAvailableAuthenticationKeys(int, int)

[Obsolete("Deprecated in JVM")]
public void SetAvailableAuthenticationKeys(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetAvailableAuthenticationKeys(int, int, long)

public void SetAvailableAuthenticationKeys(int arg0, int arg1, long arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 long

long

SetReaderEphemeralPublicKey(PublicKey)

[Obsolete("Deprecated in JVM")]
public void SetReaderEphemeralPublicKey(PublicKey arg0)

Parameters

arg0 PublicKey

PublicKey

Exceptions

InvalidKeyException

StoreStaticAuthenticationData(X509Certificate, Instant, byte[])

public void StoreStaticAuthenticationData(X509Certificate arg0, Instant arg1, byte[] arg2)

Parameters

arg0 X509Certificate

X509Certificate

arg1 Instant

Instant

arg2 byte[]

byte

Exceptions

UnknownAuthenticationKeyException

StoreStaticAuthenticationData(X509Certificate, byte[])

[Obsolete("Deprecated in JVM")]
public void StoreStaticAuthenticationData(X509Certificate arg0, byte[] arg1)

Parameters

arg0 X509Certificate

X509Certificate

arg1 byte[]

byte

Exceptions

UnknownAuthenticationKeyException

Update(PersonalizationData)

public byte[] Update(PersonalizationData arg0)

Parameters

arg0 PersonalizationData

PersonalizationData

Returns

byte[]

byte