package
1.0.0
Repository: https://github.com/coursant/core_common.git
Documentation: pkg.go.dev

# Constants

BJJSignatureProofType is a proof type for BJJ signature proofs.
CredentialMerklizedRootPositionIndex is merklized root position of W3CCredential in the IndexDataSlotA (core claim).
CredentialMerklizedRootPositionNone is for non-merklized W3CCredential.
CredentialMerklizedRootPositionValue is merklized root position of W3CCredential in the ValueDataSlotA (core claim).
CredentialSubjectPositionIndex is subject position of W3CCredential in index (core claim).
CredentialSubjectPositionNone is for self issued W3CCredential.
CredentialSubjectRootPositionValue is subject position of W3CCredential in value (core claim).
DIDDocumentJSONSchema is a basic schema of did document.
Iden3CommServiceType is service type for iden3comm protocol.
Iden3ReverseSparseMerkleTreeProof is CredentialStatusType for reverse iden3 algorithm.
Iden3SparseMerkleProofType is a proof type for MTP proofs with iden3 metadata Deprecated: Iden3SparseMerkleProofType is not correct semantically and replaced by Iden3SparseMerkleTreeProofType.
Iden3SparseMerkleTreeProofType is a proof type for MTP proofs with iden3 metadata.
JSONLDSchemaIden3Credential is a schema for context with W3CCredential type.
JSONLDSchemaW3CCredential2018 is a schema for context with VerifiableCredential type.
JSONSchemaValidator2018 JSON schema for verification of W3CCredential.
ProofPurposeAuthentication defines a proof for authentication.
PushNotificationServiceType is service type for delivering push notifications to identity.
SparseMerkleTreeProof is CredentialStatusType for standard MTP result handlers.
SparseMerkleTreeProofType ia a standard SMT proof type.
TypeW3CVerifiableCredential is of the w3c verifiable credential standard.

# Variables

ErrProofNotFound is an error when specific proof is not found in the credential.

# Structs

BJJSignatureProof2021 JSON-LD BBJJSignatureProof.
CredentialSchema represent the information about credential schema.
CredentialStatus represents the URL to fetch claim revocation info directly from the issuer.
DeviceMetadata describes the structure of device metadata.
DIDDocument defines current supported did doc model.
EncryptedDeviceMetadata describes the structure of encrypted device metadata.
Iden3SparseMerkleProof JSON-LD structure Deprecated: replaced with Iden3SparseMerkleTreeProof.
Iden3SparseMerkleTreeProof JSON-LD structure.
IssuerData is the data that is used to create a proof.
ProofData is structure that represents SnarkJS library result of proof generation.
PushMetadata describes the structure of the data for push notifications.
PushService describes the services of push notifications.
RevocationStatus status of revocation nonce.
RHSCredentialStatus contains type, url to fetch RHS info, issuer ID and revocation nonce and backup option to fetch credential status.
Service describes standard DID document service field.
State represents the state of the issuer.
W3CCredential is struct that represents claim json-ld document.
ZKProof is proof data with public signals.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
CredentialStatusType type for understanding revocation type.
ProofPurpose is alias for string, represents proof purpose.
ProofType represent proofs types.