Struct pgp::types::ECDHSecretKey [−][src]
pub struct ECDHSecretKey {
pub secret: [u8; 32],
pub hash: HashAlgorithm,
pub oid: Vec<u8>,
pub alg_sym: SymmetricKeyAlgorithm,
}
Expand description
Secret key for ECDH with Curve25519, the only combination we currently support.
Fields
secret: [u8; 32]
The secret point.
hash: HashAlgorithm
oid: Vec<u8>
alg_sym: SymmetricKeyAlgorithm
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 ECDHSecretKey
impl Send for ECDHSecretKey
impl Sync for ECDHSecretKey
impl Unpin for ECDHSecretKey
impl UnwindSafe for ECDHSecretKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self