Struct rpgpie_sop::RPGSOP

source ·
pub struct RPGSOP {}

Trait Implementations§

source§

impl Clone for RPGSOP

source§

fn clone(&self) -> RPGSOP

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for RPGSOP

source§

fn default() -> RPGSOP

Returns the “default value” for a type. Read more
source§

impl Load<'_, RPGSOP> for Certs

source§

fn from_reader( _sop: &RPGSOP, source: &mut (dyn Read + Send + Sync) ) -> Result<Self>

Loads objects like certs and keys from the given reader.
source§

fn from_bytes(sop: &'s S, source: &[u8]) -> Result<Self, Error>
where Self: Sized,

Loads objects like certs and keys from the given byte slice.
source§

impl Load<'_, RPGSOP> for Keys

source§

fn from_reader( _sop: &RPGSOP, source: &mut (dyn Read + Send + Sync) ) -> Result<Self>

Loads objects like certs and keys from the given reader.
source§

fn from_bytes(sop: &'s S, source: &[u8]) -> Result<Self, Error>
where Self: Sized,

Loads objects like certs and keys from the given byte slice.
source§

impl Load<'_, RPGSOP> for Sigs

source§

fn from_reader( _sop: &RPGSOP, source: &mut (dyn Read + Send + Sync) ) -> Result<Self>

Loads objects like certs and keys from the given reader.
source§

fn from_bytes(sop: &'s S, source: &[u8]) -> Result<Self, Error>
where Self: Sized,

Loads objects like certs and keys from the given byte slice.
source§

impl SOP<'_> for RPGSOP

§

type Keys = Keys

Secret keys.
§

type Certs = Certs

Public keys.
§

type Sigs = Sigs

Signatures.
source§

fn version(&self) -> Result<Box<dyn Version<'_>>>

Gets version information. Read more
source§

fn generate_key( &self ) -> Result<Box<dyn GenerateKey<'_, Self, Self::Keys> + '_>>

Generates a Secret Key. Read more
source§

fn change_key_password( &self ) -> Result<Box<dyn ChangeKeyPassword<'_, Self, Self::Keys>>>

Updates a key’s password. Read more
source§

fn revoke_key( &self ) -> Result<Box<dyn RevokeKey<'_, Self, Self::Certs, Self::Keys>>>

Creates a Revocation Certificate. Read more
source§

fn extract_cert( &self ) -> Result<Box<dyn ExtractCert<'_, Self, Self::Certs, Self::Keys> + '_>>

Extracts a Certificate from a Secret Key. Read more
source§

fn sign(&self) -> Result<Box<dyn Sign<'_, Self, Self::Keys, Self::Sigs> + '_>>

Creates Detached Signatures. Read more
source§

fn verify( &self ) -> Result<Box<dyn Verify<'_, Self, Self::Certs, Self::Sigs> + '_>>

Verifies Detached Signatures. Read more
source§

fn encrypt( &self ) -> Result<Box<dyn Encrypt<'_, Self, Self::Certs, Self::Keys> + '_>>

Encrypts a Message. Read more
source§

fn decrypt( &self ) -> Result<Box<dyn Decrypt<'_, Self, Self::Certs, Self::Keys> + '_>>

Decrypts a Message. Read more
source§

fn armor(&self) -> Result<Box<dyn Armor<'_>>>

Converts binary OpenPGP data to ASCII. Read more
source§

fn dearmor(&self) -> Result<Box<dyn Dearmor<'_>>>

Converts ASCII OpenPGP data to binary. Read more
source§

fn inline_detach(&self) -> Result<Box<dyn InlineDetach<'_, Self::Sigs>>>

Splits Signatures from an Inline-Signed Message. Read more
source§

fn inline_verify( &self ) -> Result<Box<dyn InlineVerify<'_, Self, Self::Certs> + '_>>

Verifies an Inline-Signed Message. Read more
source§

fn inline_sign(&self) -> Result<Box<dyn InlineSign<'_, Self, Self::Keys> + '_>>

Creates an Inline-Signed Message. Read more
source§

fn spec_version(&'s self) -> &'static str

Gets SOP version information. Read more
source§

impl<'s> SopRef<'s, RPGSOP> for Certs

source§

fn sop(&self) -> &'s RPGSOP

Returns a reference to SOP.
source§

impl<'s> SopRef<'s, RPGSOP> for Keys

source§

fn sop(&self) -> &'s RPGSOP

Returns a reference to SOP.
source§

impl<'s> SopRef<'s, RPGSOP> for Sigs

source§

fn sop(&self) -> &'s RPGSOP

Returns a reference to SOP.
source§

impl Copy for RPGSOP

Auto Trait Implementations§

§

impl Freeze for RPGSOP

§

impl RefUnwindSafe for RPGSOP

§

impl Send for RPGSOP

§

impl Sync for RPGSOP

§

impl Unpin for RPGSOP

§

impl UnwindSafe for RPGSOP

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> NoneValue for T
where T: Default,

§

type NoneType = T

source§

fn null_value() -> T

The none-equivalent value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more