pub trait SigningKey:
Send
+ Sync
+ 'static {
// Required methods
fn sign(&self, tbs: &TBS) -> Result<Vec<u8>, DnsSecError>;
fn to_public_key(&self) -> Result<PublicKeyBuf, DnsSecError>;
fn algorithm(&self) -> Algorithm;
}Expand description
A key that can be used to sign records.
Required Methods§
Sourcefn to_public_key(&self) -> Result<PublicKeyBuf, DnsSecError>
fn to_public_key(&self) -> Result<PublicKeyBuf, DnsSecError>
Returns a PublicKeyBuf for this SigningKey.