#[non_exhaustive]pub enum DTGCredentialType {
Membership,
Relationship,
Invitation,
Persona,
Endorsement,
Witness,
Authority,
Delegation,
RCard,
}Expand description
TDG VC Type Identifiers
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Membership
Relationship
Invitation
Persona
Endorsement
Witness
Authority
Verifiable Authority Credential (VAC) — confers authority on a party to perform specified actions within a named scope governed by the issuer.
Merged into DTG Core Credentials at Working Draft 02
(trustoverip/dtgwg-cred-spec PR #29). Key control at invocation — a VAC is not a
bearer credential — is implemented in crate::authority::verify_chain, ahead of
PR #41 which states it normatively and removes the audience property it made
redundant. Two further changes are in flight and not implemented here: revocation
(PR #39) and a maxAttenuation ceiling (PR #40).
Delegation
Verifiable Delegation Credential (VDC) — establishes that one entity may act in another’s name.
Merged into DTG Core Credentials at Working Draft 02
(trustoverip/dtgwg-cred-spec PR #19).
RCard
The r-card is a verifiable data structure (VDS), not a DTGCredential subtype. It was removed from the DTG Core Credentials specification in Working Draft 01 and will be defined by the planned DTG Verifiable Data Structures specification. This variant will be removed in a future release.
R-Card is no longer a DTG credential type.
Trait Implementations§
Source§impl Clone for DTGCredentialType
impl Clone for DTGCredentialType
Source§fn clone(&self) -> DTGCredentialType
fn clone(&self) -> DTGCredentialType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more