# Functions
CreateCustomCredential creates custom extended credentials from bytes which could be marshalled JSON or serialized JWT.
DiscloseAll sets that all disclosures in the given Credential will be disclosed by Credential.MarshalWithDisclosure.
DiscloseGivenIfAvailable sets that the disclosures with the given claim names will be disclosed by Credential.MarshalWithDisclosure.
DiscloseGivenRequired sets that the disclosures with the given claim names will be disclosed by Credential.MarshalWithDisclosure.
DisclosureHolderBinding option configures Credential.MarshalWithDisclosure to include a holder binding.
DisclosureSigner option provides Credential.MarshalWithDisclosure with a signer that will be used to create an SD-JWT if the given Credential wasn't already parsed from SD-JWT.
DisplayAllDisclosures sets that Credential.CreateDisplayCredential will include all disclosures in the generated credential.
DisplayGivenDisclosures sets that Credential.CreateDisplayCredential will include only the given disclosures in the generated credential.
GetJWTSigner returns JWT Signer.
JSONSchemaLoader creates default schema with the option to disable the check of specific properties.
JWTVCToJSON parses a JWT VC without verifying, and returns the JSON VC contents.
KeyTypeToJWSAlgo returns the JWSAlgorithm based on keyType.
MakeSDJWTWithHash sets the hash to use for an SD-JWT VC.
NewCredentialSchemaLoaderBuilder creates a new instance of CredentialSchemaLoaderBuilder.
NewExpirableSchemaCache creates new instance of ExpirableSchemaCache.
NewPresentation creates a new Presentation with default context and type with the provided credentials.
NewVDRKeyResolver creates VDRKeyResolver.
ParseCredential parses Verifiable Credential from bytes which could be marshalled JSON or serialized JWT.
ParsePresentation creates an instance of Verifiable Presentation by reading a JSON document from bytes.
SingleKey defines the case when only one verification key is used and we don't need to pick the one.
SubjectID gets ID of single subject if present or returns error if there are several subjects or one without ID defined.
WithBaseContextExtendedValidation validates that fields that are specified in base context are as specified.
WithBaseContextValidation validates that only the fields and values (when applicable) are present in the document.
WithCredDisableValidation options for disabling of JSON-LD and json-schema validation.
WithCredentials sets the provided credentials into the presentation.
WithCredentialSchemaLoader option is used to define custom credentials schema loader.
WithDisabledJSONLDChecks disables JSON-LD checks for VP parsing.
WithDisabledProofCheck option for disabling of proof check.
WithDisableRequiredField disabled check of required field in default schema.
WithEmbeddedSignatureSuites defines the suites which are used to check embedded linked data proof of VC.
WithExternalJSONLDContext defines external JSON-LD contexts to be used in JSON-LD validation and Linked Data Signatures verification.
WithJSONLDDocumentLoader defines a JSON-LD document loader.
WithJSONLDOnlyValidRDF indicates the need to remove all invalid RDF dataset from normalize document when verifying linked data signatures of verifiable credential.
WithJSONLDValidation uses the JSON LD parser for validation.
WithJWTCredentials sets the provided base64url encoded JWT credentials into the presentation.
WithNoCustomSchemaCheck option is for disabling of Credential Schemas download if defined in Verifiable Credential.
WithPresDisabledProofCheck option for disabling of proof check.
WithPresEmbeddedSignatureSuites defines the suites which are used to check embedded linked data proof of VP.
WithPresJSONLDDocumentLoader defines custom JSON-LD document loader.
WithPresPublicKeyFetcher indicates that Verifiable Presentation should be decoded from JWS using the public key fetcher.
WithPresStrictValidation enabled strict JSON-LD validation of VP.
WithPublicKeyFetcher set public key fetcher used when decoding from JWS.
WithSchema option to set custom schema.
WithStrictValidation enabled strict validation of VC.
# Constants
ContextID is the non-fragment part of the JSON-LD schema ID for VCs and VPs.
ContextURI is the required JSON-LD context for VCs and VPs.
DefaultSchemaTemplate describes default schema.
ECDSASecp256k1 JWT Algorithm.
ECDSASecp256r1 JWT Algorithm.
ECDSASecp384r1 JWT Algorithm.
ECDSASecp521r1 JWT Algorithm.
EdDSA JWT Algorithm.
PS256 JWT Algorithm.
RS256 JWT Algorithm.
SignatureJWS uses "jws" field in a Proof as an element for representation of detached JSON Web Signatures.
SignatureProofValue uses "proofValue" field in a Proof to put/read a digital signature.
VCType is the required Type for Verifiable Credentials.
VPType is the required Type for Verifiable Credentials.
# Structs
Credential Verifiable Credential definition.
CredentialSchemaLoader defines expirable cache.
CredentialSchemaLoaderBuilder defines a builder of CredentialSchemaLoader.
ExpirableSchemaCache is an implementation of SchemaCache based fastcache.Cache with expirable elements.
Issuer of the Verifiable Credential.
JWTCredClaims is JWT Claims extension by Verifiable Credential (with custom "vc" claim).
JWTPresClaims is JWT Claims extension by Verifiable Presentation (with custom "vp" claim).
JwtSigner implement jose.Signer interface.
LinkedDataProofContext holds options needed to build a Linked Data Proof.
Presentation Verifiable Presentation base data model definition.
Subject of the Verifiable Credential.
TypedID defines a flexible structure with id and name fields and arbitrary extra fields kept in CustomFields.
VDRKeyResolver resolves DID in order to find public keys for VC verification using vdr.Registry.
# Interfaces
CustomCredentialProducer is a factory for Credentials with extended data model.
Evidence defines evidence of Verifiable Credential.
SchemaCache defines a cache of credential schemas.
Signer defines signer interface which is used to sign VC JWT.
# Type aliases
CreatePresentationOpt are options for creating a new presentation.
CredentialDecoder makes a custom decoding of Verifiable Credential in JSON form to existent instance of Credential.
CredentialOpt is the Verifiable Credential decoding option.
CredentialTemplate defines a factory method to create new Credential template.
CustomFields is a map of extra fields of struct build when unmarshalling JSON which are not mapped to the struct fields.
DisplayCredentialOption provides an option for Credential.CreateDisplayCredential.
JWSAlgorithm defines JWT signature algorithms of Verifiable Credential.
JWTCredClaimsUnmarshaller unmarshals verifiable credential bytes into JWT claims with extra "vc" claim.
JWTPresClaimsUnmarshaller parses JWT of certain type to JWT Claims containing "vp" (Presentation) claim.
MakeSDJWTOption provides an option for creating an SD-JWT from a VC.
MarshalDisclosureOption provides an option for Credential.MarshalWithDisclosure.
MarshalledCredential defines marshalled Verifiable Credential enclosed into Presentation.
PresentationOpt is the Verifiable Presentation decoding option.
Proof defines embedded proof of Verifiable Credential.
PublicKeyFetcher fetches public key for JWT signing verification based on Issuer ID (possibly DID) and Key ID.
SchemaOpt is create default schema options.
SignatureRepresentation is a signature value holder type (e.g.