Java.Security.Cert.X509CertSelector.SetSubjectPublicKey Method
Sets the criterion for the subject public key.

Syntax

[Android.Runtime.Register("setSubjectPublicKey", "([B)V", "GetSetSubjectPublicKey_arrayBHandler")]
public virtual void SetSubjectPublicKey (byte[] key)

Parameters

key
the subject public key in ASN.1 DER encoded format or null to not check the key.

Exceptions

TypeReason
Java.IO.IOExceptionif decoding the the public key fails.

Remarks

Sets the criterion for the subject public key.

[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