package
0.0.0-20240315150211-d9e980b5aa70
Repository: https://github.com/netsec-ethz/fpki.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BytesToIDs takes a sequence of bytes and returns a slice of IDs, where the byte sequence is a set of N blocks of ID size.
No description provided by the author
No description provided by the author
No description provided by the author
JsonFileToPolicyCert: read json files and unmarshal it to Root Policy Certificate.
JsonFileToProof: read json files and unmarshal it to trillian proof.
JsonFileToSPT: read json files and unmarshal it to Signed Policy Timestamp.
JsonFileToSTH: read json files and unmarshal it to Signed Tree Head.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SortIDsAndGlue takes a sequence of IDs, sorts them alphabetically, and glues every byte of them together.
No description provided by the author
ToJSONFile serializes any supported type to a file, using JSON.
WithSkipCopyJSONIntoPolicyObjects avoids copying the raw JSON into each one of the objects that aggregate a PolicyPartBase (RPC, SP, etc).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
MarshallableDocumentBase is used to read and write document from and to json files.
PolicyAttributes is a domain policy that specifies what is or not acceptable for a domain.
PolicyCertificate can be a Root Policy Certificate, or a policy certificate that was issued by a previously existing policy certificate.
No description provided by the author
PolicyCertificateFields contains all the fields that a policy certificate or a signing request have in common.
No description provided by the author
No description provided by the author
PolicyCertificateRevocationSigningRequest is a request to prepare a revocation.
PolicyCertificateSigningRequest is a policy certificate signing request.
PolicyPartBase is the common type to all policy documents.
SignedEntryTimestamp is common to all timestamps returned by a policy log server.
No description provided by the author
SignedPolicyCertificateRevocationTimestamp is a signed policy certificate revocation timestamp.
SignedPolicyCertificateTimestamp is a signed policy certificate timestamp.
# Interfaces
No description provided by the author
MarshallableDocument is an object that can be marshalled and unmarshalled to and from JSON.
PolicyDocument is any policy document that can be exchanged among mapservers, CT log servers, and others.
PolicyPart is an interface that is implemented by all objects that are part of the set of "policy objects".
# Type aliases
No description provided by the author
No description provided by the author
PublicKeyAlgorithm: Enum of supported public key algorithm; Currently only RSA.
No description provided by the author
SignatureAlgorithm: Enum of supported signature algorithm; Currently only SHA256 currently only SHA256 and RSA is supported.