pub enum Algorithm {
Reserved,
RSA,
DSA,
ECDSA,
Ed25519,
Unassigned(u8),
}
Expand description
3.1.1. Algorithm Number Specification
This algorithm number octet describes the algorithm of the public
key. The following values are assigned:
Value Algorithm name
----- --------------
0 reserved
1 RSA
2 DSS
Reserving other types requires IETF consensus [4].
```text
The algorithm values have been updated in
[RFC 6594](https://tools.ietf.org/html/rfc6594) and
[RFC 7479](https://tools.ietf.org/html/rfc7479).
Variants
Reserved
Reserved value
RSA
RSA
DSA
DSS/DSA
ECDSA
ECDSA
Ed25519
Ed25519
Unassigned(u8)
Unassigned value
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
Mutably borrows from an owned value. Read more