Compartilhar via


X509Certificate.GetIssuerUniqueID Method

Definition

Gets the issuerUniqueID value from the certificate.

[Android.Runtime.Register("getIssuerUniqueID", "()[Z", "GetGetIssuerUniqueIDHandler")]
public abstract bool[]? GetIssuerUniqueID ();
[<Android.Runtime.Register("getIssuerUniqueID", "()[Z", "GetGetIssuerUniqueIDHandler")>]
abstract member GetIssuerUniqueID : unit -> bool[]

Returns

the issuer unique identifier or null if it is not present in the certificate.

Attributes

Remarks

Gets the issuerUniqueID value from the certificate. The issuer unique identifier is present in the certificate to handle the possibility of reuse of issuer names over time. RFC 3280 recommends that names not be reused and that conforming certificates not make use of unique identifiers. Applications conforming to that profile should be capable of parsing unique identifiers and making comparisons.

The ASN.1 definition for this is:

issuerUniqueID  [1]  IMPLICIT UniqueIdentifier OPTIONAL

            UniqueIdentifier  ::=  BIT STRING

Java documentation for java.security.cert.X509Certificate.getIssuerUniqueID().

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