Searched defs:MockPrivateKey (Results 1 – 2 of 2) sorted by relevance
25 pub struct MockPrivateKey(Vec<u8>); struct27 impl AsRef<[u8]> for MockPrivateKey { implementation33 impl DecodeEcPrivateKey for MockPrivateKey { implementation34 fn from_sec1_der(bytes: &[u8]) -> Result<MockPrivateKey> { in from_sec1_der()39 impl EncodeEcPrivateKey for MockPrivateKey { implementation
25 pub struct MockPrivateKey(Vec<u8>); struct27 impl AsRef<[u8]> for MockPrivateKey { implementation33 impl DecodeRsaPrivateKey for MockPrivateKey { implementation34 fn from_pkcs1_der(bytes: &[u8]) -> Result<MockPrivateKey> { in from_pkcs1_der()39 impl EncodeRsaPrivateKey for MockPrivateKey { implementation