Trait RsaEncoding
pub trait RsaEncoding:
'static
+ Sync
+ Sealed
+ Debug {
// Required method
fn encoding(&'static self) -> &'static RsaSignatureEncoding;
}Available on crate feature
crypto only.Expand description
An RSA signature encoding as described in RFC 3447 Section 8.
Required Methods§
fn encoding(&'static self) -> &'static RsaSignatureEncoding
fn encoding(&'static self) -> &'static RsaSignatureEncoding
The signature encoding.
Trait Implementations§
§impl TryFrom<JWA> for &'static dyn RsaEncoding
impl TryFrom<JWA> for &'static dyn RsaEncoding
§type Error = OpaqueError
type Error = OpaqueError
The type returned in the event of a conversion error.
§fn try_from(
value: JWA,
) -> Result<&'static dyn RsaEncoding, <&'static dyn RsaEncoding as TryFrom<JWA>>::Error>
fn try_from( value: JWA, ) -> Result<&'static dyn RsaEncoding, <&'static dyn RsaEncoding as TryFrom<JWA>>::Error>
Performs the conversion.