Trait pkcs8::ToPublicKey
source · [−]pub trait ToPublicKey {
fn to_public_key_der(&self) -> Result<PublicKeyDocument>;
}
Expand description
Serialize a public key object to a SPKI-encoded document.
Required Methods
fn to_public_key_der(&self) -> Result<PublicKeyDocument>
fn to_public_key_der(&self) -> Result<PublicKeyDocument>
Serialize a PublicKeyDocument
containing a SPKI-encoded public key.