[−][src]Struct krill::commons::util::softsigner::OpenSslSigner
An openssl based signer.
Keeps the keys in memory (for now).
Implementations
impl OpenSslSigner
[src]
pub fn build(work_dir: &PathBuf) -> Result<Self, SignerError>
[src]
Trait Implementations
impl Clone for OpenSslSigner
[src]
fn clone(&self) -> OpenSslSigner
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OpenSslSigner
[src]
impl<'de> Deserialize<'de> for OpenSslSigner
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for OpenSslSigner
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Signer for OpenSslSigner
[src]
type KeyId = KeyIdentifier
The type used for identifying keys.
type Error = SignerError
An operational error happened in the signer.
fn create_key(
&mut self,
_algorithm: PublicKeyFormat
) -> Result<Self::KeyId, Self::Error>
[src]
&mut self,
_algorithm: PublicKeyFormat
) -> Result<Self::KeyId, Self::Error>
fn get_key_info(
&self,
key_id: &Self::KeyId
) -> Result<PublicKey, KeyError<Self::Error>>
[src]
&self,
key_id: &Self::KeyId
) -> Result<PublicKey, KeyError<Self::Error>>
fn destroy_key(
&mut self,
key_id: &Self::KeyId
) -> Result<(), KeyError<Self::Error>>
[src]
&mut self,
key_id: &Self::KeyId
) -> Result<(), KeyError<Self::Error>>
fn sign<D: AsRef<[u8]> + ?Sized>(
&self,
key_id: &Self::KeyId,
_algorithm: SignatureAlgorithm,
data: &D
) -> Result<Signature, SigningError<Self::Error>>
[src]
&self,
key_id: &Self::KeyId,
_algorithm: SignatureAlgorithm,
data: &D
) -> Result<Signature, SigningError<Self::Error>>
fn sign_one_off<D: AsRef<[u8]> + ?Sized>(
&self,
_algorithm: SignatureAlgorithm,
data: &D
) -> Result<(Signature, PublicKey), SignerError>
[src]
&self,
_algorithm: SignatureAlgorithm,
data: &D
) -> Result<(Signature, PublicKey), SignerError>
fn rand(&self, target: &mut [u8]) -> Result<(), SignerError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for OpenSslSigner
impl Send for OpenSslSigner
impl Sync for OpenSslSigner
impl Unpin for OpenSslSigner
impl UnwindSafe for OpenSslSigner
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,