• Home
  • Raw
  • Download

Lines Matching defs:ErrorStack

160     pub fn rsa(&self) -> Result<Rsa<T>, ErrorStack> {  in rsa()  argument
169 pub fn dsa(&self) -> Result<Dsa<T>, ErrorStack> { in dsa() argument
178 pub fn dh(&self) -> Result<Dh<T>, ErrorStack> { in dh() argument
187 pub fn ec_key(&self) -> Result<EcKey<T>, ErrorStack> { in ec_key() argument
264 pub fn raw_public_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_public_key() argument
315 pub fn raw_private_key(&self) -> Result<Vec<u8>, ErrorStack> { in raw_private_key() argument
336 pub fn private_key_to_pkcs8(&self) -> Result<Vec<u8>, ErrorStack> { in private_key_to_pkcs8() argument
360 ) -> Result<Vec<u8>, ErrorStack> { in private_key_to_pkcs8_passphrase() argument
407 pub fn from_rsa(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in from_rsa() argument
419 pub fn from_dsa(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in from_dsa() argument
432 pub fn from_dh(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in from_dh() argument
444 pub fn from_ec_key(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in from_ec_key() argument
463 pub fn hmac(key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in hmac() argument
485 pub fn cmac(cipher: &Cipher, key: &[u8]) -> Result<PKey<Private>, ErrorStack> { in cmac() argument
494 fn generate_eddsa(id: Id) -> Result<PKey<Private>, ErrorStack> { in generate_eddsa() argument
613 pub fn ec_gen(curve: &str) -> Result<PKey<Private>, ErrorStack> { in ec_gen() argument
656 pub fn private_key_from_pkcs8(der: &[u8]) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8() argument
680 ) -> Result<PKey<Private>, ErrorStack> in private_key_from_pkcs8_callback() argument
708 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_pkcs8_passphrase() argument
731 ) -> Result<PKey<Private>, ErrorStack> { in private_key_from_raw_bytes() argument
772 ) -> Result<PKey<Public>, ErrorStack> { in public_key_from_raw_bytes() argument
806 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
814 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() argument
822 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
830 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() argument
838 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
846 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() argument
855 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() argument
863 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() argument
1077 fn test_raw_public_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_public_key() argument
1093 fn test_raw_private_key(gen: fn() -> Result<PKey<Private>, ErrorStack>, key_type: Id) { in test_raw_private_key() argument