Struct botan::Certificate[][src]

pub struct Certificate { /* fields omitted */ }

X.509 certificate

Methods

impl Certificate
[src]

Load a X.509 certificate from DER or PEM representation

Read an X.509 certificate from a file

Return the serial number of this certificate

Return the fingerprint of this certificate

Duplicate the certificate object

Since certificate objects are immutable, duplication just involves atomic incrementing a reference count, so is quite cheap

Return the authority key id, if set

Return the subject key id, if set

Return the byte representation of the public key

Return the public key included in this certificate

Return a free-form string representation of this certificate

Test if the certificate is allowed for a particular usage

Attempt to verify this certificate

Return true if the provided hostname is valid for this certificate

Trait Implementations

impl Debug for Certificate
[src]

Formats the value using the given formatter. Read more

impl Drop for Certificate
[src]

Executes the destructor for this type. Read more

impl Clone for Certificate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Certificate

impl !Sync for Certificate