pub(crate) struct PqdsaSigningKey {
kind: PqdsaKeyKind,
inner: Arc<PqdsaKeyPair>,
}Fields§
§kind: PqdsaKeyKind§inner: Arc<PqdsaKeyPair>Implementations§
Source§impl PqdsaSigningKey
impl PqdsaSigningKey
pub(crate) fn from_pkcs8(pkcs8: &PrivatePkcs8KeyDer<'_>) -> Result<Self, Error>
Trait Implementations§
Source§impl Debug for PqdsaSigningKey
impl Debug for PqdsaSigningKey
Source§impl SigningKey for PqdsaSigningKey
impl SigningKey for PqdsaSigningKey
Source§fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
Choose a
SignatureScheme from those offered. Read moreSource§fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
Get the RFC 5280-compliant SubjectPublicKeyInfo (SPKI) of this
SigningKey if available.Source§fn algorithm(&self) -> SignatureAlgorithm
fn algorithm(&self) -> SignatureAlgorithm
What kind of key we have.
Auto Trait Implementations§
impl Freeze for PqdsaSigningKey
impl RefUnwindSafe for PqdsaSigningKey
impl Send for PqdsaSigningKey
impl Sync for PqdsaSigningKey
impl Unpin for PqdsaSigningKey
impl UnsafeUnpin for PqdsaSigningKey
impl UnwindSafe for PqdsaSigningKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more