X509CertSelector X509CertSelector Class

Definition

A certificate selector (CertSelector for selecting X509Certificates that match the specified criteria.

[Android.Runtime.Register("java/security/cert/X509CertSelector", ApiSince=1, DoNotGenerateAcw=true)]
public class X509CertSelector : Java.Lang.Object, IDisposable, Java.Security.Cert.ICertSelector
type X509CertSelector = class
    inherit Object
    interface ICertSelector
    interface ICloneable
    interface IJavaObject
    interface IDisposable
Inheritance
X509CertSelectorX509CertSelector
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

X509CertSelector() X509CertSelector()

Creates a new X509CertSelector.

X509CertSelector(IntPtr, JniHandleOwnership) X509CertSelector(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

BasicConstraints BasicConstraints

Returns the criterion for the basic constraints extension.

Certificate Certificate

Returns the certificate that a matching certificate must be equal to.

CertificateValid CertificateValid

Returns the criterion for the validity date of the certificate.

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
ExtendedKeyUsage ExtendedKeyUsage

Returns the criterion for the ExtendedKeyUsage extension.

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
Issuer Issuer

Returns the issuer that a certificate must match.

IssuerAsString IssuerAsString Do not use , use Issuer or GetIssuerAsBytes() instead.
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
MatchAllSubjectAltNames MatchAllSubjectAltNames

Returns the flag for the matching behavior for subject alternative names.

PathToNames PathToNames

Returns the criterion for the pathToNames constraint.

PeerReference PeerReference Inherited from Object
Policy Policy

Returns the criterion for the policy constraint.

PrivateKeyValid PrivateKeyValid

Returns the criterion for the validity date of the private key.

SerialNumber SerialNumber

Returns the serial number that a certificate must match.

Subject Subject

Returns the subject that a certificate must match.

SubjectAlternativeNames SubjectAlternativeNames

Returns the criterion for subject alternative names.

SubjectAsString SubjectAsString Do not use , use Subject or GetSubjectAsBytes() instead.
SubjectPublicKey SubjectPublicKey

Returns the criterion for the subject public key.

SubjectPublicKeyAlgID SubjectPublicKeyAlgID

Returns the criterion for the subject public key signature algorithm.

ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AddPathToName(Int32, Byte[]) AddPathToName(Int32, Byte[])

Adds a "pathToName" to the respective criterion.

AddPathToName(Int32, String) AddPathToName(Int32, String)

Adds a "pathToName" to the respective criterion.

AddSubjectAlternativeName(Int32, Byte[]) AddSubjectAlternativeName(Int32, Byte[])

Adds a subject alternative name to the respective criterion.

AddSubjectAlternativeName(Int32, String) AddSubjectAlternativeName(Int32, String)

Adds a subject alternative name to the respective criterion.

Clone() Clone()

Clones this X509CertSelector instance.

Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetAuthorityKeyIdentifier() GetAuthorityKeyIdentifier()

Returns the criterion for the AuthorityKeyIdentifier extension.

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetIssuerAsBytes() GetIssuerAsBytes()

Returns the issuer that a certificate must match.

GetKeyUsage() GetKeyUsage()

Returns the criterion for the KeyUsage extension.

GetNameConstraints() GetNameConstraints()

Returns the criterion for the name constraints.

GetSubjectAsBytes() GetSubjectAsBytes()

Returns the subject that a certificate must match.

GetSubjectKeyIdentifier() GetSubjectKeyIdentifier()

Returns the criterion for the SubjectKeyIdentifier extension.

JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Match(Certificate) Match(Certificate)

Returns whether the specified certificate matches all the criteria collected in this instance.

Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetAuthorityKeyIdentifier(Byte[]) SetAuthorityKeyIdentifier(Byte[])

Sets the criterion for the AuthorityKeyIdentifier extension.

SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetIssuer(Byte[]) SetIssuer(Byte[])

Sets the issuer that a certificate must match.

SetIssuer(String) SetIssuer(String) Do not use , use Issuer or GetIssuerAsBytes() instead.
SetKeyUsage(Boolean[]) SetKeyUsage(Boolean[])

Sets the criterion for the KeyUsage extension.

SetNameConstraints(Byte[]) SetNameConstraints(Byte[])

Sets the criterion for the name constraints.

SetSubject(Byte[]) SetSubject(Byte[])

Sets the subject that a certificate must match.

SetSubject(String) SetSubject(String) Do not use , use SetSubject(Byte[]) or Subject instead.
SetSubjectKeyIdentifier(Byte[]) SetSubjectKeyIdentifier(Byte[])

Sets the criterion for the SubjectKeyIdentifier extension.

SetSubjectPublicKey(Byte[]) SetSubjectPublicKey(Byte[])

Sets the criterion for the subject public key.

ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to