Enum cose::SignatureAlgorithm [] [src]

pub enum SignatureAlgorithm {
    ES256,
    ES384,
    ES512,
    PS256,
}

An enum identifying supported signature algorithms. Currently ES256 (ECDSA with P256 and SHA256), ES384 (ECDSA with P384 and SHA384) ES512 (ECDSA with P521 and SHA512), and PS256 (RSASSA-PSS with SHA256) are supported. Note that with PS256, the salt length is defined to be 32 bytes.

Variants

Trait Implementations

impl Debug for SignatureAlgorithm
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SignatureAlgorithm
[src]

[src]

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

1.0.0
[src]

This method tests for !=.