Table of Contents

Class X509CertSelector

Namespace
Java.Security.Cert
Assembly
MASES.Netdroid.dll
public class X509CertSelector : CertSelector, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICertSelector, ICloneable
Inheritance
X509CertSelector
Implements
Extension Methods

Constructors

X509CertSelector()

public X509CertSelector()

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

AddPathToName(int, String)

public void AddPathToName(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Exceptions

IOException

AddPathToName(int, byte[])

public void AddPathToName(int arg0, byte[] arg1)

Parameters

arg0 int

int

arg1 byte[]

byte

Exceptions

IOException

AddSubjectAlternativeName(int, String)

public void AddSubjectAlternativeName(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Exceptions

IOException

AddSubjectAlternativeName(int, byte[])

public void AddSubjectAlternativeName(int arg0, byte[] arg1)

Parameters

arg0 int

int

arg1 byte[]

byte

Exceptions

IOException

CreatePoolableInstance()

HPA initializer for X509CertSelector()

public static X509CertSelector CreatePoolableInstance()

Returns

X509CertSelector

GetAuthorityKeyIdentifier()

public byte[] GetAuthorityKeyIdentifier()

Returns

byte[]

byte

GetBasicConstraints()

public int GetBasicConstraints()

Returns

int

int

GetCertificate()

public X509Certificate GetCertificate()

Returns

X509Certificate

X509Certificate

GetCertificateValid()

public Date GetCertificateValid()

Returns

Date

Date

GetExtendedKeyUsage()

public Set<String> GetExtendedKeyUsage()

Returns

Set<String>

Set

GetIssuer()

public X500Principal GetIssuer()

Returns

X500Principal

X500Principal

GetIssuerAsBytes()

public byte[] GetIssuerAsBytes()

Returns

byte[]

byte

Exceptions

IOException

GetIssuerAsString()

[Obsolete("Deprecated in JVM")]
public String GetIssuerAsString()

Returns

String

String

GetKeyUsage()

public bool[] GetKeyUsage()

Returns

bool[]

bool

GetMatchAllSubjectAltNames()

public bool GetMatchAllSubjectAltNames()

Returns

bool

bool

GetNameConstraints()

public byte[] GetNameConstraints()

Returns

byte[]

byte

GetPathToNames()

public Collection<List<object>> GetPathToNames()

Returns

Collection<List<object>>

Collection

GetPolicy()

public Set<String> GetPolicy()

Returns

Set<String>

Set

GetPrivateKeyValid()

public Date GetPrivateKeyValid()

Returns

Date

Date

GetSerialNumber()

public BigInteger GetSerialNumber()

Returns

BigInteger

BigInteger

GetSubject()

public X500Principal GetSubject()

Returns

X500Principal

X500Principal

GetSubjectAlternativeNames()

public Collection<List<object>> GetSubjectAlternativeNames()

Returns

Collection<List<object>>

Collection

GetSubjectAsBytes()

public byte[] GetSubjectAsBytes()

Returns

byte[]

byte

Exceptions

IOException

GetSubjectAsString()

[Obsolete("Deprecated in JVM")]
public String GetSubjectAsString()

Returns

String

String

GetSubjectKeyIdentifier()

public byte[] GetSubjectKeyIdentifier()

Returns

byte[]

byte

GetSubjectPublicKey()

public PublicKey GetSubjectPublicKey()

Returns

PublicKey

PublicKey

GetSubjectPublicKeyAlgID()

public String GetSubjectPublicKeyAlgID()

Returns

String

String

Match(Certificate)

public bool Match(Certificate arg0)

Parameters

arg0 Certificate

Certificate

Returns

bool

bool

SetAuthorityKeyIdentifier(byte[])

public void SetAuthorityKeyIdentifier(byte[] arg0)

Parameters

arg0 byte[]

byte

SetBasicConstraints(int)

public void SetBasicConstraints(int arg0)

Parameters

arg0 int

int

SetCertificate(X509Certificate)

public void SetCertificate(X509Certificate arg0)

Parameters

arg0 X509Certificate

X509Certificate

SetCertificateValid(Date)

public void SetCertificateValid(Date arg0)

Parameters

arg0 Date

Date

SetExtendedKeyUsage(Set<String>)

public void SetExtendedKeyUsage(Set<String> arg0)

Parameters

arg0 Set<String>

Set

Exceptions

IOException

SetIssuer(String)

[Obsolete("Deprecated in JVM")]
public void SetIssuer(String arg0)

Parameters

arg0 String

String

Exceptions

IOException

SetIssuer(X500Principal)

public void SetIssuer(X500Principal arg0)

Parameters

arg0 X500Principal

X500Principal

SetIssuer(byte[])

public void SetIssuer(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

SetKeyUsage(bool[])

public void SetKeyUsage(bool[] arg0)

Parameters

arg0 bool[]

bool

SetMatchAllSubjectAltNames(bool)

public void SetMatchAllSubjectAltNames(bool arg0)

Parameters

arg0 bool

bool

SetNameConstraints(byte[])

public void SetNameConstraints(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

SetPathToNames(Collection<List<object>>)

public void SetPathToNames(Collection<List<object>> arg0)

Parameters

arg0 Collection<List<object>>

Collection

Exceptions

IOException

SetPolicy(Set<String>)

public void SetPolicy(Set<String> arg0)

Parameters

arg0 Set<String>

Set

Exceptions

IOException

SetPrivateKeyValid(Date)

public void SetPrivateKeyValid(Date arg0)

Parameters

arg0 Date

Date

SetSerialNumber(BigInteger)

public void SetSerialNumber(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

SetSubject(String)

[Obsolete("Deprecated in JVM")]
public void SetSubject(String arg0)

Parameters

arg0 String

String

Exceptions

IOException

SetSubject(X500Principal)

public void SetSubject(X500Principal arg0)

Parameters

arg0 X500Principal

X500Principal

SetSubject(byte[])

public void SetSubject(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

SetSubjectAlternativeNames(Collection<List<object>>)

public void SetSubjectAlternativeNames(Collection<List<object>> arg0)

Parameters

arg0 Collection<List<object>>

Collection

Exceptions

IOException

SetSubjectKeyIdentifier(byte[])

public void SetSubjectKeyIdentifier(byte[] arg0)

Parameters

arg0 byte[]

byte

SetSubjectPublicKey(PublicKey)

public void SetSubjectPublicKey(PublicKey arg0)

Parameters

arg0 PublicKey

PublicKey

SetSubjectPublicKey(byte[])

public void SetSubjectPublicKey(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

SetSubjectPublicKeyAlgID(String)

public void SetSubjectPublicKeyAlgID(String arg0)

Parameters

arg0 String

String

Exceptions

IOException