Struct botan::Decryptor [−][src]
pub struct Decryptor { /* fields omitted */ }Methods
impl Decryptor[src]
impl Decryptorpub fn new(key: &Privkey, padding: &str) -> Result<Decryptor>[src]
pub fn new(key: &Privkey, padding: &str) -> Result<Decryptor>pub fn decrypt(&self, ctext: &[u8]) -> Result<Vec<u8>>[src]
pub fn decrypt(&self, ctext: &[u8]) -> Result<Vec<u8>>Trait Implementations
impl Debug for Decryptor[src]
impl Debug for Decryptorfn 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 Decryptor[src]
impl Drop for Decryptor