Share via


X509CRL.GetRevokedCertificate Method

Definition

Overloads

GetRevokedCertificate(BigInteger)

Gets the CRL entry, if any, with the given certificate serialNumber.

GetRevokedCertificate(X509Certificate)

Get the CRL entry, if any, for the given certificate.

GetRevokedCertificate(BigInteger)

Gets the CRL entry, if any, with the given certificate serialNumber.

[Android.Runtime.Register("getRevokedCertificate", "(Ljava/math/BigInteger;)Ljava/security/cert/X509CRLEntry;", "GetGetRevokedCertificate_Ljava_math_BigInteger_Handler")]
public abstract Java.Security.Cert.X509CRLEntry? GetRevokedCertificate (Java.Math.BigInteger? serialNumber);
[<Android.Runtime.Register("getRevokedCertificate", "(Ljava/math/BigInteger;)Ljava/security/cert/X509CRLEntry;", "GetGetRevokedCertificate_Ljava_math_BigInteger_Handler")>]
abstract member GetRevokedCertificate : Java.Math.BigInteger -> Java.Security.Cert.X509CRLEntry

Parameters

serialNumber
BigInteger

the serial number of the certificate for which a CRL entry is to be looked up

Returns

the entry with the given serial number, or null if no such entry exists in this CRL.

Attributes

Remarks

Gets the CRL entry, if any, with the given certificate serialNumber.

Java documentation for java.security.cert.X509CRL.getRevokedCertificate(java.math.BigInteger).

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

GetRevokedCertificate(X509Certificate)

Get the CRL entry, if any, for the given certificate.

[Android.Runtime.Register("getRevokedCertificate", "(Ljava/security/cert/X509Certificate;)Ljava/security/cert/X509CRLEntry;", "GetGetRevokedCertificate_Ljava_security_cert_X509Certificate_Handler")]
public virtual Java.Security.Cert.X509CRLEntry? GetRevokedCertificate (Java.Security.Cert.X509Certificate? certificate);
[<Android.Runtime.Register("getRevokedCertificate", "(Ljava/security/cert/X509Certificate;)Ljava/security/cert/X509CRLEntry;", "GetGetRevokedCertificate_Ljava_security_cert_X509Certificate_Handler")>]
abstract member GetRevokedCertificate : Java.Security.Cert.X509Certificate -> Java.Security.Cert.X509CRLEntry
override this.GetRevokedCertificate : Java.Security.Cert.X509Certificate -> Java.Security.Cert.X509CRLEntry

Parameters

certificate
X509Certificate

the certificate for which a CRL entry is to be looked up

Returns

the entry for the given certificate, or null if no such entry exists in this CRL.

Attributes

Remarks

Get the CRL entry, if any, for the given certificate.

This method can be used to lookup CRL entries in indirect CRLs, that means CRLs that contain entries from issuers other than the CRL issuer. The default implementation will only return entries for certificates issued by the CRL issuer. Subclasses that wish to support indirect CRLs should override this method.

Added in 1.5.

Java documentation for java.security.cert.X509CRL.getRevokedCertificate(java.security.cert.X509Certificate).

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