Currently the allowed values for the proof_type from ldp_vc format is restricted to a set of known types, namely:
return [
'Ed25519VerificationKey2018',
'Ed25519Signature2018',
'RsaSignature2018',
'EcdsaSecp256k1Signature2019',
'EcdsaSecp256k1RecoverySignature2020',
'JsonWebSignature2020',
'GpgSignature2020',
'JcsEd25519Signature2020',
'BbsBlsSignature2020',
'Bls12381G2Key2020',
];
Is there a specific reason for this. As PEX doesn't handle the signature stuff, it could support any proof types and it would make the PEX library more flexible towards future signature suites that have yet to be defined.
Currently the allowed values for the proof_type from ldp_vc format is restricted to a set of known types, namely:
Is there a specific reason for this. As PEX doesn't handle the signature stuff, it could support any proof types and it would make the PEX library more flexible towards future signature suites that have yet to be defined.