Compartir a través de


X509CertSelector.GetAuthorityKeyIdentifier Method

Definition

Returns the authorityKeyIdentifier criterion.

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

Returns

Byte[]

the key identifier (or null)

Attributes

Remarks

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

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

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

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