Lines Matching defs:ErrorStack
156 pub fn rsa(&self) -> Result<Rsa<T>, ErrorStack> { in rsa() argument
165 pub fn dsa(&self) -> Result<Dsa<T>, ErrorStack> { in dsa() argument
174 pub fn dh(&self) -> Result<Dh<T>, ErrorStack> { in dh() argument
183 pub fn ec_key(&self) -> Result<EcKey<T>, ErrorStack> { in ec_key() argument
256 pub fn raw_public_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_public_key() argument
307 pub fn raw_private_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_private_key() argument
337 ) -> Result<Vec<u8>, ErrorStack> { in private_key_to_pkcs8_passphrase() argument
386 pub fn from_rsa(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in from_rsa() argument
402 pub fn from_dsa(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in from_dsa() argument
418 pub fn from_dh(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in from_dh() argument
434 pub fn from_ec_key(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in from_ec_key() argument
457 pub fn hmac(key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in hmac() argument
479 pub fn cmac(cipher: &Cipher, key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in cmac() argument
488 fn generate_eddsa(id: Id) -> Result<PKey<Private>, ErrorStack> { in generate_eddsa() argument
607 pub fn ec_gen(curve: &str) -> Result<PKey<Private>, ErrorStack> { in ec_gen() argument
650 pub fn private_key_from_pkcs8(der: &[u8]) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8() argument
674 ) -> Result<PKey<Private>, ErrorStack> in private_key_from_pkcs8_callback() argument
702 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8_passphrase() argument
725 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_raw_bytes() argument
766 ) -> Result<PKey<Public>, ErrorStack> { in public_key_from_raw_bytes() argument
800 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
808 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() argument
816 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
824 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() argument
832 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
840 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() argument
848 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
856 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() argument
1062 fn test_raw_public_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_public_key() argument
1078 fn test_raw_private_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_private_key() argument