Struct botan::Privkey [−][src]
pub struct Privkey { /* fields omitted */ }Methods
impl Privkey[src]
impl Privkeypub fn create(
alg: &str,
params: &str,
rng: &RandomNumberGenerator
) -> Result<Privkey>[src]
pub fn create(
alg: &str,
params: &str,
rng: &RandomNumberGenerator
) -> Result<Privkey>pub fn load_der(der: &[u8]) -> Result<Privkey>[src]
pub fn load_der(der: &[u8]) -> Result<Privkey>pub fn check_key(&self, rng: &RandomNumberGenerator) -> Result<bool>[src]
pub fn check_key(&self, rng: &RandomNumberGenerator) -> Result<bool>pub fn pubkey(&self) -> Result<Pubkey>[src]
pub fn pubkey(&self) -> Result<Pubkey>pub fn algo_name(&self) -> Result<String>[src]
pub fn algo_name(&self) -> Result<String>pub fn der_encode(&self) -> Result<Vec<u8>>[src]
pub fn der_encode(&self) -> Result<Vec<u8>>pub fn pem_encode(&self) -> Result<String>[src]
pub fn pem_encode(&self) -> Result<String>pub fn key_agreement_key(&self) -> Result<Vec<u8>>[src]
pub fn key_agreement_key(&self) -> Result<Vec<u8>>Trait Implementations
impl Debug for Privkey[src]
impl Debug for Privkeyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Drop for Privkey[src]
impl Drop for Privkey