Lines Matching defs:ErrorStack
164 pub fn rsa(&self) -> Result<Rsa<T>, ErrorStack> { in rsa() argument
173 pub fn dsa(&self) -> Result<Dsa<T>, ErrorStack> { in dsa() argument
182 pub fn dh(&self) -> Result<Dh<T>, ErrorStack> { in dh() argument
191 pub fn ec_key(&self) -> Result<EcKey<T>, ErrorStack> { in ec_key() argument
268 pub fn raw_public_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_public_key() argument
319 pub fn raw_private_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_private_key() argument
340 pub fn private_key_to_pkcs8(&self) -> Result<Vec<u8>, ErrorStack> { in private_key_to_pkcs8() argument
364 ) -> Result<Vec<u8>, ErrorStack> { in private_key_to_pkcs8_passphrase() argument
411 pub fn from_rsa(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in from_rsa() argument
423 pub fn from_dsa(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in from_dsa() argument
436 pub fn from_dh(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in from_dh() argument
448 pub fn from_dhx(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in from_dhx() argument
464 pub fn from_ec_key(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in from_ec_key() argument
483 pub fn hmac(key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in hmac() argument
505 pub fn cmac(cipher: &Cipher, key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in cmac() argument
514 fn generate_eddsa(id: Id) -> Result<PKey<Private>, ErrorStack> { in generate_eddsa() argument
633 pub fn ec_gen(curve: &str) -> Result<PKey<Private>, ErrorStack> { in ec_gen() argument
676 pub fn private_key_from_pkcs8(der: &[u8]) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8() argument
700 ) -> Result<PKey<Private>, ErrorStack> in private_key_from_pkcs8_callback() argument
728 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8_passphrase() argument
751 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_raw_bytes() argument
802 ) -> Result<PKey<Public>, ErrorStack> { in public_key_from_raw_bytes() argument
836 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
844 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() argument
852 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
860 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() argument
868 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
876 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() argument
885 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
893 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() argument
1107 fn test_raw_public_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_public_key() argument
1123 fn test_raw_private_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_private_key() argument