diff --git a/pbs-api-types/src/crypto.rs b/pbs-api-types/src/crypto.rs index eda92e23..6f931f8f 100644 --- a/pbs-api-types/src/crypto.rs +++ b/pbs-api-types/src/crypto.rs @@ -33,6 +33,9 @@ impl Fingerprint { pub fn bytes(&self) -> &[u8; 32] { &self.bytes } + pub fn signature(&self) -> String { + as_fingerprint(&self.bytes) + } } /// Display as short key ID