pub enum Role {
Show 15 variants
Directory,
Mimetype,
Data,
Cades,
Xades,
Timestamp,
Evidence,
XmlEvidence,
Manifest,
ArchiveManifest,
EvidenceManifest,
OdfManifest,
OcfContainer,
Application,
Reserved,
}Expand description
Original filename role. A matching filename never proves readable content, schema validity, signed coverage, a signature result or a baseline level.
Variants§
Directory
An explicit ZIP directory occurrence, not an implied additional data file.
Mimetype
The exact root-level mimetype member.
Data
A file outside the original root META-INF directory.
Cades
A potential CAdES file matching the normative naming pattern.
Xades
A potential XML signature file, with its original parent context intact.
Timestamp
A potential RFC3161 token file.
Evidence
A potential ASN.1 RFC4998 record file.
XmlEvidence
A named XMLERS record, retained even when its mechanism is unavailable.
Manifest
A potential ordinary ASiCManifest.
ArchiveManifest
A potential ASiCArchiveManifest.
EvidenceManifest
A potential ASiCEvidenceRecordManifest.
OdfManifest
The original ODF package manifest.
OcfContainer
The original OCF rootfile manifest.
Application
Other application-specific metadata without reserved keywords.
Reserved
Metadata with reserved naming that matches no supported format role.