Versions in this module Expand all Collapse all v1 v1.0.0 Dec 23, 2023 Changes in this version + const NonceProperty + const VCJWTProperty + const VCMediaType + const VPJWTProperty + func JWTClaimSetFromVC(cred credential.VerifiableCredential) (jwt.Token, error) + func ParseVerifiableCredentialFromJWS(token string) (*jws.Message, *credential.VerifiableCredential, error) + func ParseVerifiableCredentialFromJWT(token string) (jws.Headers, jwt.Token, *credential.VerifiableCredential, error) + func ParseVerifiableCredentialFromToken(token jwt.Token) (*credential.VerifiableCredential, error) + func ParseVerifiablePresentationFromJWT(token string) (jws.Headers, jwt.Token, *credential.VerifiablePresentation, error) + func SignVerifiableCredentialJWS(signer jwx.Signer, cred credential.VerifiableCredential) ([]byte, error) + func SignVerifiableCredentialJWT(signer jwx.Signer, cred credential.VerifiableCredential) ([]byte, error) + func SignVerifiablePresentationJWT(signer jwx.Signer, parameters *JWTVVPParameters, ...) ([]byte, error) + func VerifyCredentialSignature(ctx context.Context, genericCred any, r resolution.Resolver) (bool, error) + func VerifyDataIntegrityCredential(_ context.Context, cred credential.VerifiableCredential, _ resolution.Resolver) (bool, error) + func VerifyJWTCredential(ctx context.Context, cred string, r resolution.Resolver) (bool, error) + func VerifyJWTPresentation(ctx context.Context, pres string, r resolution.Resolver) (bool, error) + func VerifyVerifiableCredentialJWS(verifier jwx.Verifier, token string) (*jws.Message, *credential.VerifiableCredential, error) + func VerifyVerifiableCredentialJWT(verifier jwx.Verifier, token string) (jws.Headers, jwt.Token, *credential.VerifiableCredential, error) + func VerifyVerifiablePresentationJWT(ctx context.Context, verifier jwx.Verifier, r resolution.Resolver, ...) (jws.Headers, jwt.Token, *credential.VerifiablePresentation, error) + type JWTVVPParameters struct + Audience []string + Expiration int