Enum did_key::KeyPair [−][src]
pub enum KeyPair {
Ed25519(Ed25519KeyPair),
X25519(X25519KeyPair),
P256(P256KeyPair),
Bls12381G1G2(Bls12381KeyPair),
Secp256k1(Secp256k1KeyPair),
}
Variants
Ed25519(Ed25519KeyPair)
Tuple Fields of Ed25519
X25519(X25519KeyPair)
Tuple Fields of X25519
P256(P256KeyPair)
Tuple Fields of P256
0: P256KeyPair
Bls12381G1G2(Bls12381KeyPair)
Tuple Fields of Bls12381G1G2
Secp256k1(Secp256k1KeyPair)
Tuple Fields of Secp256k1
Trait Implementations
fn get_verification_methods(
&self,
config: Config,
controller: &str
) -> Vec<VerificationMethod>
Perform key exchange operation
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Returns the public key bytes as slice
Returns the secret key bytes as slice