Java.Security.Cert.X509CertSelector.SetSubject Method
Sets the subject that a certificate must match.

Syntax

[Android.Runtime.Register("setSubject", "([B)V", "GetSetSubject_arrayBHandler")]
public virtual void SetSubject (byte[] subjectDN)

Parameters

subjectDN
the subject distinguished name in ASN.1 DER format, or null to not check the subject.

Exceptions

TypeReason
Java.IO.IOExceptionif decoding the subject fails.

Remarks

Sets the subject that a certificate must match.

[Android Documentation]

Requirements

Namespace: Java.Security.Cert
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1