Table of Contents

Class Identity

Namespace
Java.Security
Assembly
MASES.Netdroid.dll
[Obsolete("Deprecated in JVM")]
public class Identity : JVMBridgeBase<Identity>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IPrincipal, ISerializable
Inheritance
Identity
Implements
Derived
Extension Methods

Constructors

Identity(String)

public Identity(String arg0)

Parameters

arg0 String

String

Identity(String, IdentityScope)

public Identity(String arg0, IdentityScope arg1)

Parameters

arg0 String

String

arg1 IdentityScope

IdentityScope

Exceptions

KeyManagementException

Identity(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 Identity(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

AddCertificate(Certificate)

public void AddCertificate(Certificate arg0)

Parameters

arg0 Certificate

Certificate

Exceptions

KeyManagementException

Certificates()

public Certificate[] Certificates()

Returns

Certificate[]

Certificate

CreatePoolableInstance(String)

HPA initializer for Identity(Java.Lang.String arg0)

public static Identity CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

Identity

CreatePoolableInstance(String, IdentityScope)

HPA initializer for Identity(Java.Lang.String arg0, Java.Security.IdentityScope arg1)

public static Identity CreatePoolableInstance(String arg0, IdentityScope arg1)

Parameters

arg0 String
arg1 IdentityScope

Returns

Identity

GetInfo()

public String GetInfo()

Returns

String

String

GetName()

public String GetName()

Returns

String

String

GetPublicKey()

public PublicKey GetPublicKey()

Returns

PublicKey

PublicKey

GetScope()

public IdentityScope GetScope()

Returns

IdentityScope

IdentityScope

RemoveCertificate(Certificate)

public void RemoveCertificate(Certificate arg0)

Parameters

arg0 Certificate

Certificate

Exceptions

KeyManagementException

SetInfo(String)

public void SetInfo(String arg0)

Parameters

arg0 String

String

SetPublicKey(PublicKey)

public void SetPublicKey(PublicKey arg0)

Parameters

arg0 PublicKey

PublicKey

Exceptions

KeyManagementException

ToString(bool)

public String ToString(bool arg0)

Parameters

arg0 bool

bool

Returns

String

String

Operators

implicit operator Serializable(Identity)

Converter from Identity to Serializable

public static implicit operator Serializable(Identity t)

Parameters

t Identity

Returns

Serializable

implicit operator Principal(Identity)

Converter from Identity to Principal

public static implicit operator Principal(Identity t)

Parameters

t Identity

Returns

Principal