Trait minerva_voucher::Sign
source · [−]pub trait Sign {
fn sign(
&mut self,
privkey_pem: &[u8],
alg: SignatureAlgorithm
) -> Result<&mut Self, VoucherError>;
}
Expand description
Used to COSE-sign a Voucher
.
pub trait Sign {
fn sign(
&mut self,
privkey_pem: &[u8],
alg: SignatureAlgorithm
) -> Result<&mut Self, VoucherError>;
}
Used to COSE-sign a Voucher
.