Struct edcert_letter::letter::Letter [] [src]

pub struct Letter<T: Fingerprint> { /* fields omitted */ }

Use this type to sign content.

Methods

impl<T: Fingerprint> Letter<T>
[src]

This method creates a Letter from its parts: A piece of content (which must be convertable to a &u8) and a Signature.

This method creates a Letter by signing itself with the given private key

This method creates a Letter by signing itself with the given certificate. The certificate must have a private key.

This method returns a reference to the contained object.

Trait Implementations

impl<T: PartialEq + Fingerprint> PartialEq for Letter<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Debug + Fingerprint> Debug for Letter<T>
[src]

Formats the value using the given formatter.

impl<T: Fingerprint> Validatable for Letter<T>
[src]

This method is given a validator. It can access the master public key indirectly using the Validator. Read more

impl<T: Fingerprint> Fingerprint for Letter<T>
[src]

The fingerprint method should return a value that is unique to the implementing type.

impl<T: Fingerprint> Deref for Letter<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T: Fingerprint> Revokable for Letter<T>
[src]

This method can use the revoker to check if it has been revoked. Read more