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