Documentation ¶
Index ¶
- func BundleHash(bundles []sig.Bundle) []byte
- func BundlePubKeys(bundles []sig.Bundle) []byte
- func Decode(b []byte) (s []sig.Signer, err error)
- func Encode(s []sig.Signer) ([]byte, error)
- func EncodedBundleHash(bundles []sig.Bundle) string
- func NewDefaultSigners() (s []sig.Signer)
- func NewExperimentalSigners() (s []sig.Signer)
- func SignAll(message []byte, signers []sig.Signer) ([]sig.Bundle, error)
- func VerifyAll(message []byte, bundles []sig.Bundle) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleHash ¶
BundleHash returns a byte slice of the blake2b-512 hash of PubKeys
func BundlePubKeys ¶
BundlePubKeys returns a byte slice of all pubkeys concatenated in the index order of the slice of sig.Bundles.
func EncodedBundleHash ¶
EncodedBundleHash returns a url-safe base64 encoded endpoint string of PubKeyHash
func NewDefaultSigners ¶
NewDefaultSigners returns a slice of sig.Signer that includes an ed25519 sig
func NewExperimentalSigners ¶
NewExperimentalSigners returns a slice of sig.Signer that includes an ed25519 sig and an XMSS sig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.