Struct c509_certificate::signing::PrivateKey
source · pub struct PrivateKey(SigningKey);
Expand description
Ed25519 private key instance.
Wrapper over ed25519_dalek::SigningKey
.
Tuple Fields§
§0: SigningKey
Implementations§
source§impl PrivateKey
impl PrivateKey
source§impl PrivateKey
impl PrivateKey
Trait Implementations§
source§impl Clone for PrivateKey
impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
fn clone(&self) -> PrivateKey
Returns a copy 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 moresource§impl Debug for PrivateKey
impl Debug for PrivateKey
source§impl From<PrivateKey> for JsValue
impl From<PrivateKey> for JsValue
source§fn from(value: PrivateKey) -> Self
fn from(value: PrivateKey) -> Self
Converts to this type from the input type.
source§impl FromStr for PrivateKey
impl FromStr for PrivateKey
source§impl FromWasmAbi for PrivateKey
impl FromWasmAbi for PrivateKey
source§impl IntoWasmAbi for PrivateKey
impl IntoWasmAbi for PrivateKey
source§impl LongRefFromWasmAbi for PrivateKey
impl LongRefFromWasmAbi for PrivateKey
source§impl OptionFromWasmAbi for PrivateKey
impl OptionFromWasmAbi for PrivateKey
source§impl OptionIntoWasmAbi for PrivateKey
impl OptionIntoWasmAbi for PrivateKey
source§impl PartialEq for PrivateKey
impl PartialEq for PrivateKey
source§impl RefFromWasmAbi for PrivateKey
impl RefFromWasmAbi for PrivateKey
source§type Anchor = RcRef<PrivateKey>
type Anchor = RcRef<PrivateKey>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for PrivateKey
impl RefMutFromWasmAbi for PrivateKey
source§impl TryFromJsValue for PrivateKey
impl TryFromJsValue for PrivateKey
source§impl VectorFromWasmAbi for PrivateKey
impl VectorFromWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PrivateKey]>
source§impl VectorIntoJsValue for PrivateKey
impl VectorIntoJsValue for PrivateKey
fn vector_into_jsvalue(vector: Box<[PrivateKey]>) -> JsValue
source§impl VectorIntoWasmAbi for PrivateKey
impl VectorIntoWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PrivateKey]>) -> Self::Abi
source§impl WasmDescribe for PrivateKey
impl WasmDescribe for PrivateKey
source§impl WasmDescribeVector for PrivateKey
impl WasmDescribeVector for PrivateKey
impl Eq for PrivateKey
impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.