Enum aries_askar::kms::KeyAlg
source ·
[−]pub enum KeyAlg {
Aes(AesTypes),
Bls12_381(BlsCurves),
Chacha20(Chacha20Types),
Ed25519,
X25519,
EcCurve(EcCurves),
}
Expand description
Supported key algorithms
Variants
Aes(AesTypes)
Tuple Fields
0: AesTypes
AES
Bls12_381(BlsCurves)
Tuple Fields
0: BlsCurves
BLS12-381
Chacha20(Chacha20Types)
Tuple Fields
(X)ChaCha20-Poly1305
Ed25519
Curve25519 signing key
X25519
Curve25519 diffie-hellman key exchange key
EcCurve(EcCurves)
Tuple Fields
0: EcCurves
Elliptic Curve key for signing or key exchange
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyAlg
impl UnwindSafe for KeyAlg
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.