identity_iota::storage::bls

Function sign_bbs

Source
pub fn sign_bbs(
    alg: ProofAlgorithm,
    data: &[Vec<u8>],
    sk: &BBSplusSecretKey,
    pk: &BBSplusPublicKey,
    header: &[u8],
) -> Result<Vec<u8>, SingleStructError<KeyStorageErrorKind>>
Expand description

Signs data and header using the given keys.