Struct openssl::x509::X509Ref [−][src]
pub struct X509Ref(_);
Expand description
Reference to X509
.
Implementations
Returns this certificate’s subject name.
This corresponds to X509_get_subject_name
.
Returns the hash of the certificates subject
This corresponds to X509_subject_name_hash
.
Returns this certificate’s issuer name.
This corresponds to X509_get_issuer_name
.
Returns this certificate’s subject alternative name entries, if they exist.
This corresponds to X509_get_ext_d2i
called with NID_subject_alt_name
.
Returns this certificate’s issuer alternative name entries, if they exist.
This corresponds to X509_get_ext_d2i
called with NID_issuer_alt_name
.
Returns this certificate’s authority information access
entries, if they exist.
This corresponds to X509_get_ext_d2i
called with NID_info_access
.
Returns a digest of the DER representation of the certificate.
This corresponds to X509_digest
.
renamed to digest
Returns the certificate’s Not After validity period.
Returns the certificate’s Not Before validity period.
Returns the certificate’s signature
Returns the certificate’s signature algorithm.
Returns the list of OCSP responder URLs specified in the certificate’s Authority Information Access field.
Checks that this certificate issued subject
.
Returns certificate version. If this certificate has no explicit version set, it defaults to version 1.
Note that 0
return value stands for version 1, 1
for version 2 and so on.
This corresponds to X509_get_version
.
Check if the certificate 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_verify“].
Returns this certificate’s serial number.
This corresponds to X509_get_serialNumber
.
Serializes the certificate into a PEM-encoded X509 structure.
The output will have a header of -----BEGIN CERTIFICATE-----
.
This corresponds to PEM_write_bio_X509
.
Trait Implementations
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more