pub struct PublicKey<'a>(/* private fields */);Expand description
The public portion of a PrivateKey.
§Internal Encoding
This key holds the raw DER key material bytes (without algorithm identifier).
Specifically this holds the subjectPublicKey bit string field of the
SubjectPublicKeyInfo ASN.1 message as defined in RFC 5280 § 4.1.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PublicKey<'a>
impl<'a> RefUnwindSafe for PublicKey<'a>
impl<'a> Send for PublicKey<'a>
impl<'a> Sync for PublicKey<'a>
impl<'a> Unpin for PublicKey<'a>
impl<'a> UnsafeUnpin for PublicKey<'a>
impl<'a> UnwindSafe for PublicKey<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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