Struct osshkeys::keys::rsa::RsaPublicKey [−][src]
pub struct RsaPublicKey { /* fields omitted */ }
Expand description
Represent the RSA public key
Implementations
Create the RSA public key from public components
pub fn new_with_signhash(
n: BigNum,
e: BigNum,
sig_hash: RsaSignature
) -> Result<RsaPublicKey, Error>
pub fn new_with_signhash(
n: BigNum,
e: BigNum,
sig_hash: RsaSignature
) -> Result<RsaPublicKey, Error>
Create the RSA public key from public components and set the signature hash
Get the signature hash type
Set the signature hash type
Trait Implementations
Performs the conversion.
Verify the data with a detached signature, returning true if the signature is not malformed
Hash the blob of the public key to generate the fingerprint
Auto Trait Implementations
impl RefUnwindSafe for RsaPublicKey
impl Send for RsaPublicKey
impl Sync for RsaPublicKey
impl Unpin for RsaPublicKey
impl UnwindSafe for RsaPublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more