pub struct IssuerPrivateKey { /* private fields */ }Expand description
The private key of the issuer.
Implementations§
Source§impl IssuerPrivateKey
impl IssuerPrivateKey
Sourcepub fn random(rng: impl CryptoRngCore) -> Self
pub fn random(rng: impl CryptoRngCore) -> Self
Generate random private key for the issuer.
Sourcepub fn public(&self) -> IssuerPublicKey
pub fn public(&self) -> IssuerPublicKey
Computes the public key of the issuer given the private one.
Trait Implementations§
Source§impl Clone for IssuerPrivateKey
impl Clone for IssuerPrivateKey
Source§fn clone(&self) -> IssuerPrivateKey
fn clone(&self) -> IssuerPrivateKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IssuerPrivateKey
impl RefUnwindSafe for IssuerPrivateKey
impl Send for IssuerPrivateKey
impl Sync for IssuerPrivateKey
impl Unpin for IssuerPrivateKey
impl UnwindSafe for IssuerPrivateKey
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