Share via


X509CertSelector.GetSubjectKeyIdentifier Method

Definition

Returns the subjectKeyIdentifier criterion.

[Android.Runtime.Register("getSubjectKeyIdentifier", "()[B", "GetGetSubjectKeyIdentifierHandler")]
public virtual byte[]? GetSubjectKeyIdentifier ();
[<Android.Runtime.Register("getSubjectKeyIdentifier", "()[B", "GetGetSubjectKeyIdentifierHandler")>]
abstract member GetSubjectKeyIdentifier : unit -> byte[]
override this.GetSubjectKeyIdentifier : unit -> byte[]

Returns

Byte[]

the key identifier (or null)

Attributes

Remarks

Returns the subjectKeyIdentifier criterion. The X509Certificate must contain a SubjectKeyIdentifier extension with the specified value. If null, no subjectKeyIdentifier check will be done.

Note that the byte array returned is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.X509CertSelector.getSubjectKeyIdentifier().

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.

Applies to