signCredential
Description
Parameters
Returns
Example
const { signature, hash } = await zpass.signCredential({
data: {
issuer: issuer,
subject: subject,
dob: dob,
nationality: nationality,
expiry: expiry,
salt: salt,
},
hashType: HashAlgorithm.POSEIDON2,
});Last updated