Table of Contents

Class IdentityCredential

Namespace
Android.Security.Identity
Assembly
MASES.Netdroid.dll
public class IdentityCredential : JVMBridgeBase<IdentityCredential>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<IdentityCredential>
IdentityCredential
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<IdentityCredential>.IsAssignableFrom(IJavaType)
JVMBridgeBase<IdentityCredential>.IsAssignableFrom<T>()
JVMBridgeBase<IdentityCredential>.Execute<T>(params T[])
JVMBridgeBase<IdentityCredential>.DynBridgeClazz
JVMBridgeBase<IdentityCredential>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

IdentityCredential()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("IdentityCredential class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public IdentityCredential()

IdentityCredential(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("IdentityCredential class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public IdentityCredential(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreateEphemeralKeyPair()

[Obsolete]
public KeyPair CreateEphemeralKeyPair()

Returns

KeyPair

KeyPair

DecryptMessageFromReader(byte[])

[Obsolete]
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]
public byte[] EncryptMessageToReader(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

GetAuthKeysNeedingCertification()

public Collection<X509Certificate> GetAuthKeysNeedingCertification()

Returns

Collection<X509Certificate>

Collection

GetAuthenticationDataUsageCount()

[Obsolete]
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]
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]
public void SetAllowUsingExhaustedKeys(bool arg0)

Parameters

arg0 bool

bool

SetAllowUsingExpiredKeys(bool)

[Obsolete]
public void SetAllowUsingExpiredKeys(bool arg0)

Parameters

arg0 bool

bool

SetAvailableAuthenticationKeys(int, int)

[Obsolete]
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]
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]
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