Enum ssh_key::private::EcdsaKeypair [−][src]
pub enum EcdsaKeypair {
NistP256 {
public: EncodedPoint<U32>,
private: EcdsaPrivateKey<32>,
},
NistP384 {
public: EncodedPoint<U48>,
private: EcdsaPrivateKey<48>,
},
NistP521 {
public: EncodedPoint<U66>,
private: EcdsaPrivateKey<66>,
},
}Expand description
Elliptic Curve Digital Signature Algorithm (ECDSA) private/public keypair.
Variants
NistP256
NIST P-256 ECDSA keypair.
NistP384
NIST P-384 ECDSA keypair.
NistP521
NIST P-521 ECDSA keypair.
Implementations
Get the EcdsaCurve for this key.
Get the bytes representing the public key.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EcdsaKeypair
impl Send for EcdsaKeypair
impl Sync for EcdsaKeypair
impl Unpin for EcdsaKeypair
impl UnwindSafe for EcdsaKeypair
Blanket Implementations
Mutably borrows from an owned value. Read more