Calculates the ID of a IPublicCredentialInput, to be used to retrieve the full credential content from the blockchain.
The ID is formed by first concatenating the SCALE-encoded IPublicCredentialInput with the SCALE-encoded DID and then Blake2b hashing the result.
The input credential object.
The DID of the credential attester.
The credential ID.
Calculates the ID of a IPublicCredentialInput, to be used to retrieve the full credential content from the blockchain.
The ID is formed by first concatenating the SCALE-encoded IPublicCredentialInput with the SCALE-encoded DID and then Blake2b hashing the result.