pub struct X509CrlRef(_);
Expand description

Reference to X509Crl.

Implementations

Serializes the certificate request to a PEM-encoded Certificate Revocation List.

The output will have a header of -----BEGIN X509 CRL-----.

This corresponds to PEM_write_bio_X509_CRL.

Serializes the certificate request to a DER-encoded Certificate Revocation List.

This corresponds to i2d_X509_CRL.

Get the stack of revocation entries

Returns the CRL’s lastUpdate time.

This corresponds to X509_CRL_get0_lastUpdate.

Returns the CRL’s nextUpdate time.

If the nextUpdate field is missing, returns None.

This corresponds to X509_CRL_get0_nextUpdate.

Get the revocation status of a certificate by its serial number

This corresponds to X509_CRL_get0_by_serial.

Get the revocation status of a certificate

This corresponds to X509_CRL_get0_by_cert.

Get the issuer name from the revocation list.

This corresponds to X509_CRL_get_issuer.

Check if the CRL is signed using the given public key.

Only the signature is checked: no other checks (such as certificate chain validity) are performed.

Returns true if verification succeeds.

This corresponds to X509_CRL_verify.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.