Enum pgp::types::PublicParams [−][src]
pub enum PublicParams {
RSA {
n: Mpi,
e: Mpi,
},
DSA {
p: Mpi,
q: Mpi,
g: Mpi,
y: Mpi,
},
ECDSA {
curve: ECCCurve,
p: Mpi,
},
ECDH {
curve: ECCCurve,
p: Mpi,
hash: HashAlgorithm,
alg_sym: SymmetricKeyAlgorithm,
},
Elgamal {
p: Mpi,
g: Mpi,
y: Mpi,
},
EdDSA {
curve: ECCCurve,
q: Mpi,
},
}
Expand description
Represent the public paramaters for the different algorithms.
Variants
Fields of ECDH
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PublicParams
impl Send for PublicParams
impl Sync for PublicParams
impl Unpin for PublicParams
impl UnwindSafe for PublicParams
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self