pub fn add_certificate(
nethsm: &NetHsm,
flags: KeyUsageFlags,
key_id: &KeyId,
user_id: OpenPgpUserId,
created_at: DateTime<Utc>,
version: OpenPgpVersion,
) -> Result<Vec<u8>, Error>
Expand description
Generates an OpenPGP certificate for the given NetHSM key.