pub fn bls381_generate_proof_of_possession(
id: <PassPointerAndReadCopy<KeyTypeId, 4> as RIType>::Inner,
pub_key: <PassPointerAndRead<&Public, 144> as RIType>::Inner,
) -> <AllocateAndReturnByCodec<Option<Signature>> as RIType>::Inner
Expand description
Generate a ‘bls12-381’ Proof Of Possession for the corresponding public key.
Returns the Proof Of Possession as an option of the [‘bls381::Signature’] type or ‘None’ if an error occurs.