identity_storage::key_storage::bls

Function sign_bbs

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

Signs data and header using the given keys.