Trait pkcs8::EncodePublicKey
source · pub trait EncodePublicKey {
// Required method
fn to_public_key_der(&self) -> Result<Document, Error>;
}
Expand description
Serialize a public key object to a SPKI-encoded document.
pub trait EncodePublicKey {
// Required method
fn to_public_key_der(&self) -> Result<Document, Error>;
}
Serialize a public key object to a SPKI-encoded document.