pub struct X509VerifyingKey(pub VerifyingKey);Expand description
Wrapper to implement x509-cert builder traits for VerifyingKey.
Tuple Fields§
§0: VerifyingKeyTrait Implementations§
Source§impl Clone for X509VerifyingKey
impl Clone for X509VerifyingKey
Source§fn clone(&self) -> X509VerifyingKey
fn clone(&self) -> X509VerifyingKey
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 moreSource§impl Debug for X509VerifyingKey
impl Debug for X509VerifyingKey
Source§impl EncodePublicKey for X509VerifyingKey
impl EncodePublicKey for X509VerifyingKey
Source§fn to_public_key_der(&self) -> Result<Document>
fn to_public_key_der(&self) -> Result<Document>
Serialize a
Document containing a SPKI-encoded public key.Source§fn to_public_key_pem(&self, line_ending: LineEnding) -> Result<String, Error>
fn to_public_key_pem(&self, line_ending: LineEnding) -> Result<String, Error>
Serialize this public key as PEM-encoded SPKI with the given
LineEnding.Source§fn write_public_key_der_file(&self, path: impl AsRef<Path>) -> Result<(), Error>
fn write_public_key_der_file(&self, path: impl AsRef<Path>) -> Result<(), Error>
Write ASN.1 DER-encoded public key to the given path
Source§fn write_public_key_pem_file(
&self,
path: impl AsRef<Path>,
line_ending: LineEnding,
) -> Result<(), Error>
fn write_public_key_pem_file( &self, path: impl AsRef<Path>, line_ending: LineEnding, ) -> Result<(), Error>
Write ASN.1 DER-encoded public key to the given path
Auto Trait Implementations§
impl Freeze for X509VerifyingKey
impl RefUnwindSafe for X509VerifyingKey
impl Send for X509VerifyingKey
impl Sync for X509VerifyingKey
impl Unpin for X509VerifyingKey
impl UnsafeUnpin for X509VerifyingKey
impl UnwindSafe for X509VerifyingKey
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