[−][src]Struct nss::pk11::types::PrivateKey
Fields
ptr: *mut SECKEYPrivateKey
Implementations
impl PrivateKey
[src]
pub fn convert_to_public_key(&self) -> Result<PublicKey>
[src]
pub(crate) fn from_private_key_template(
template: Vec<CK_ATTRIBUTE>
) -> Result<Self>
[src]
template: Vec<CK_ATTRIBUTE>
) -> Result<Self>
Trait Implementations
impl Drop for PrivateKey
[src]
impl Pkcs11Object for PrivateKey
[src]
const PK11_OBJECT_TYPE: PK11ObjectType
[src]
fn read_raw_attribute(
&self,
attribute_type: CK_ATTRIBUTE_TYPE
) -> Result<ScopedSECItem>
[src]
&self,
attribute_type: CK_ATTRIBUTE_TYPE
) -> Result<ScopedSECItem>
impl ScopedPtr for PrivateKey
[src]
type RawType = SECKEYPrivateKey
unsafe fn from_ptr(ptr: *mut SECKEYPrivateKey) -> Result<PrivateKey>
[src]
fn as_ptr(&self) -> *const SECKEYPrivateKey
[src]
fn as_mut_ptr(&self) -> *mut SECKEYPrivateKey
[src]
impl Send for PrivateKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for PrivateKey
impl !Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,