uselesskey-ring
ring 0.17 adapter traits for uselesskey fixtures.
Converts fixture keypairs into native ring signing key types for tests that call ring APIs directly.
Features
| Feature | Description |
|---|---|
rsa |
RSA -> ring::rsa::KeyPair |
ecdsa |
ECDSA -> ring::signature::EcdsaKeyPair |
ed25519 |
Ed25519 -> ring::signature::Ed25519KeyPair |
all |
All key adapters |
Example
[]
= { = "0.2", = ["rsa"] }
use Factory;
use RingRsaKeyPairExt;
use ;
let fx = random;
let rsa = fx.rsa;
let keypair = rsa.rsa_key_pair_ring;
assert!;
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
See the uselesskey crate for full
documentation.