Section 3.5 lists 3 options to receive the key of an issuer:
- JWT VC Issuer Metadata
- X.509 Certificates
- DID Document resolution
Right now the library defines "bring your own crypto". Meaning the the user has to implement the getVerifier(publicKeyJWK: object): Promise<(data: string, signatureBase64url: string) => Promise<boolean>>; by himself. The data field includes the encoded header and payload field, therefore all three options can be implemented.
@lukasjhan do you think it makes sense? We can not implement to resolve all did elements, but we could give some examples for this.