Documentation
¶
Index ¶
- Constants
- Variables
- func ApplyTLSReadinessPolicy(report *InventoryReport, policyID string, now time.Time) error
- func DefaultMTCTreeheadLogID(source string) string
- func MTCLeafHash(entry MTCLogEntry) (string, error)
- func MTCTreeheadEntryID(entry MTCTreeheadEntry) (string, error)
- func MerkleRootHex(leaves [][]byte) string
- func ParseRevocationSubject(subjectType, subject string) (string, string, error)
- func PublicKeyFingerprint(publicKey []byte) string
- func RevocationEventID(event RevocationEvent) (string, error)
- func RevocationManifestDigest(manifest RevocationManifest) (string, error)
- func RevocationManifestRoot(manifest RevocationManifest) (string, error)
- func SignAuditCheckpoint(ctx context.Context, manager interface{ ... }, checkpoint *AuditCheckpoint, ...) error
- func SignMTCCheckpoint(ctx context.Context, manager interface{ ... }, checkpoint *MTCCheckpoint, ...) error
- func SignTransparencyCheckpoint(ctx context.Context, manager interface{ ... }, ...) error
- func ValidateRevocationManifest(manifest RevocationManifest) error
- func VerifyAuditCheckpoint(r io.Reader, checkpoint *AuditCheckpoint, publicKey *PublicKey) error
- func VerifyMTCProof(proof *MTCProof, checkpoint *MTCCheckpoint, publicKey *PublicKey) error
- func VerifyTransparencyBundle(bundle TransparencyBundle, publicKey *PublicKey) error
- func VerifyTransparencyCheckpoint(report InventoryReport, checkpoint *TransparencyCheckpoint, ...) error
- func VerifyTransparencyCheckpointWithRevocations(report InventoryReport, revocations *RevocationManifest, ...) error
- func VerifyWithPublicKey(publicKey PublicKey, message []byte, sig *SignatureEnvelope) error
- func WriteRevocationManifest(w io.Writer, manifest RevocationManifest) error
- type Algorithm
- type AuditCheckpoint
- type AuditEvent
- type Auditor
- type AuditorFunc
- type EncryptOptions
- type Envelope
- type FileAuditor
- type GenerateRequest
- type InventoryEntry
- type InventoryReport
- type KeyMetadata
- type KeyRecord
- type KeyUse
- type MTCCheckpoint
- type MTCLog
- type MTCLogEntry
- type MTCProof
- type MTCProofNode
- type MTCTreeheadCache
- type MTCTreeheadEntry
- type MTCTreeheadFinding
- type MTCTreeheadVerifyResult
- type Manager
- type Option
- type PublicKey
- type ReadinessCategory
- type ReadinessCoverage
- type ReadinessFinding
- type ReadinessScan
- type RevocationEvent
- type RevocationManifest
- type SignOptions
- type SignatureEnvelope
- type Store
- type TLSCertificate
- type TLSInspectOptions
- type TLSReadiness
- type TLSReadinessPolicy
- type TLSReport
- type TransparencyBundle
- type TransparencyCheckpoint
Constants ¶
View Source
const ( AlgorithmMLKEM768 = core.AlgorithmMLKEM768 AlgorithmMLDSA65 = core.AlgorithmMLDSA65 AlgorithmMLDSA87 = core.AlgorithmMLDSA87 KeyUseKEM = core.KeyUseKEM KeyUseSignature = core.KeyUseSignature EnvelopeSchema = core.EnvelopeSchema SignatureSchema = core.SignatureSchema KDFHKDFSHA256 = core.KDFHKDFSHA256 AEADAES256GCM = core.AEADAES256GCM MerkleHashSHA256 = core.MerkleHashSHA256 AuditCheckpointSchema = core.AuditCheckpointSchema InventoryReportSchema = core.InventoryReportSchema TransparencyCheckpointSchema = core.TransparencyCheckpointSchema TransparencyBundleSchema = core.TransparencyBundleSchema MTCLogSchema = core.MTCLogSchema MTCCheckpointSchema = core.MTCCheckpointSchema MTCProofSchema = core.MTCProofSchema MTCTreeheadCacheSchema = core.MTCTreeheadCacheSchema ReadinessScanSchema = core.ReadinessScanSchema RevocationManifestSchema = core.RevocationManifestSchema TLSVerificationSystem = core.TLSVerificationSystem TLSVerificationCustom = core.TLSVerificationCustom TLSVerificationSkipped = core.TLSVerificationSkipped TLSReadinessPolicyPublicWeb2029 = core.TLSReadinessPolicyPublicWeb2029 )
Variables ¶
View Source
var ( ErrKeyNotFound = core.ErrKeyNotFound ErrKeyExists = core.ErrKeyExists ErrInvalidEnvelope = core.ErrInvalidEnvelope ErrInvalidSignature = core.ErrInvalidSignature )
Functions ¶
func ApplyTLSReadinessPolicy ¶
func ApplyTLSReadinessPolicy(report *InventoryReport, policyID string, now time.Time) error
func DefaultMTCTreeheadLogID ¶
func MTCLeafHash ¶
func MTCLeafHash(entry MTCLogEntry) (string, error)
func MTCTreeheadEntryID ¶
func MTCTreeheadEntryID(entry MTCTreeheadEntry) (string, error)
func MerkleRootHex ¶
func ParseRevocationSubject ¶
func PublicKeyFingerprint ¶
func RevocationEventID ¶
func RevocationEventID(event RevocationEvent) (string, error)
func RevocationManifestDigest ¶
func RevocationManifestDigest(manifest RevocationManifest) (string, error)
func RevocationManifestRoot ¶
func RevocationManifestRoot(manifest RevocationManifest) (string, error)
func SignAuditCheckpoint ¶
func SignAuditCheckpoint(ctx context.Context, manager interface { Sign(context.Context, string, []byte, SignOptions) (*SignatureEnvelope, error) }, checkpoint *AuditCheckpoint, signKey string) error
func SignMTCCheckpoint ¶
func SignMTCCheckpoint(ctx context.Context, manager interface { Sign(context.Context, string, []byte, SignOptions) (*SignatureEnvelope, error) }, checkpoint *MTCCheckpoint, signKey string) error
func SignTransparencyCheckpoint ¶
func SignTransparencyCheckpoint(ctx context.Context, manager interface { Sign(context.Context, string, []byte, SignOptions) (*SignatureEnvelope, error) }, checkpoint *TransparencyCheckpoint, signKey string) error
func ValidateRevocationManifest ¶
func ValidateRevocationManifest(manifest RevocationManifest) error
func VerifyAuditCheckpoint ¶
func VerifyAuditCheckpoint(r io.Reader, checkpoint *AuditCheckpoint, publicKey *PublicKey) error
func VerifyMTCProof ¶
func VerifyMTCProof(proof *MTCProof, checkpoint *MTCCheckpoint, publicKey *PublicKey) error
func VerifyTransparencyBundle ¶
func VerifyTransparencyBundle(bundle TransparencyBundle, publicKey *PublicKey) error
func VerifyTransparencyCheckpoint ¶
func VerifyTransparencyCheckpoint(report InventoryReport, checkpoint *TransparencyCheckpoint, publicKey *PublicKey) error
func VerifyTransparencyCheckpointWithRevocations ¶
func VerifyTransparencyCheckpointWithRevocations(report InventoryReport, revocations *RevocationManifest, checkpoint *TransparencyCheckpoint, publicKey *PublicKey) error
func VerifyWithPublicKey ¶
func VerifyWithPublicKey(publicKey PublicKey, message []byte, sig *SignatureEnvelope) error
func WriteRevocationManifest ¶
func WriteRevocationManifest(w io.Writer, manifest RevocationManifest) error
Types ¶
type Algorithm ¶
func ParseAlgorithm ¶
type AuditEvent ¶
type AuditEvent = core.AuditEvent
type AuditorFunc ¶
type AuditorFunc = core.AuditorFunc
type EncryptOptions ¶
type EncryptOptions = core.EncryptOptions
type FileAuditor ¶
type FileAuditor = core.FileAuditor
func NewFileAuditor ¶
func NewFileAuditor(path string) (*FileAuditor, error)
type GenerateRequest ¶
type GenerateRequest = core.GenerateRequest
type InventoryEntry ¶
type InventoryEntry = core.InventoryEntry
type InventoryReport ¶
type InventoryReport = core.InventoryReport
func BuildInventoryReport ¶
func BuildInventoryReport(keys []KeyMetadata, targets []TLSReport, now time.Time) InventoryReport
type KeyMetadata ¶
type KeyMetadata = core.KeyMetadata
type MTCCheckpoint ¶
type MTCCheckpoint = core.MTCCheckpoint
func BuildMTCCheckpoint ¶
func BuildMTCCheckpoint(log MTCLog, now time.Time) (*MTCCheckpoint, error)
type MTCLogEntry ¶
type MTCLogEntry = core.MTCLogEntry
type MTCProofNode ¶
type MTCProofNode = core.MTCProofNode
type MTCTreeheadCache ¶
type MTCTreeheadCache = core.MTCTreeheadCache
func NewMTCTreeheadCache ¶
func NewMTCTreeheadCache(source string, entries []MTCTreeheadEntry, now time.Time) MTCTreeheadCache
func ParseMTCTreeheadSource ¶
type MTCTreeheadEntry ¶
type MTCTreeheadEntry = core.MTCTreeheadEntry
func NewMTCTreeheadEntry ¶
func NewMTCTreeheadEntry(source, logID string, checkpoint MTCCheckpoint, publicKey PublicKey, now time.Time) (MTCTreeheadEntry, error)
type MTCTreeheadFinding ¶
type MTCTreeheadFinding = core.MTCTreeheadFinding
type MTCTreeheadVerifyResult ¶
type MTCTreeheadVerifyResult = core.MTCTreeheadVerifyResult
func VerifyMTCTreeheadCache ¶
func VerifyMTCTreeheadCache(cache MTCTreeheadCache) (*MTCTreeheadVerifyResult, error)
type Manager ¶
func NewManager ¶
type Option ¶
func WithAuditor ¶
type ReadinessCategory ¶
type ReadinessCategory = core.ReadinessCategory
type ReadinessCoverage ¶
type ReadinessCoverage = core.ReadinessCoverage
type ReadinessFinding ¶
type ReadinessFinding = core.ReadinessFinding
type ReadinessScan ¶
type ReadinessScan = core.ReadinessScan
func BuildReadinessScan ¶
func BuildReadinessScan(report InventoryReport, now time.Time) ReadinessScan
type RevocationEvent ¶
type RevocationEvent = core.RevocationEvent
type RevocationManifest ¶
type RevocationManifest = core.RevocationManifest
func NewRevocationManifest ¶
func NewRevocationManifest(now time.Time) RevocationManifest
func ReadRevocationManifest ¶
func ReadRevocationManifest(r io.Reader) (RevocationManifest, error)
type SignOptions ¶
type SignOptions = core.SignOptions
type SignatureEnvelope ¶
type SignatureEnvelope = core.SignatureEnvelope
type TLSCertificate ¶
type TLSCertificate = core.TLSCertificate
type TLSInspectOptions ¶
type TLSInspectOptions = core.TLSInspectOptions
type TLSReadiness ¶
type TLSReadiness = core.TLSReadiness
func EvaluateTLSReadiness ¶
func EvaluateTLSReadiness(report TLSReport, policy TLSReadinessPolicy, now time.Time) TLSReadiness
type TLSReadinessPolicy ¶
type TLSReadinessPolicy = core.TLSReadinessPolicy
func PublicWeb2029TLSReadinessPolicy ¶
func PublicWeb2029TLSReadinessPolicy() TLSReadinessPolicy
func ResolveTLSReadinessPolicy ¶
func ResolveTLSReadinessPolicy(id string) (TLSReadinessPolicy, error)
type TLSReport ¶
func InspectTLS ¶
type TransparencyBundle ¶
type TransparencyBundle = core.TransparencyBundle
func BuildTransparencyBundle ¶
func BuildTransparencyBundle(report InventoryReport, checkpoint *TransparencyCheckpoint) (TransparencyBundle, error)
func BuildTransparencyBundleWithRevocations ¶
func BuildTransparencyBundleWithRevocations(report InventoryReport, revocations *RevocationManifest, checkpoint *TransparencyCheckpoint) (TransparencyBundle, error)
type TransparencyCheckpoint ¶
type TransparencyCheckpoint = core.TransparencyCheckpoint
func BuildTransparencyCheckpoint ¶
func BuildTransparencyCheckpoint(report InventoryReport, now time.Time) (*TransparencyCheckpoint, error)
func BuildTransparencyCheckpointWithRevocations ¶
func BuildTransparencyCheckpointWithRevocations(report InventoryReport, revocations *RevocationManifest, now time.Time) (*TransparencyCheckpoint, error)
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pqc
command
|
|
|
pqcd
command
|
|
|
internal
|
|
|
Package profile defines artifact profile plugins for PQC certificate, signature, and TLS authentication artifact families.
|
Package profile defines artifact profile plugins for PQC certificate, signature, and TLS authentication artifact families. |
|
profiles
|
|
|
store
|
|
Click to show internal directories.
Click to hide internal directories.
