# Functions
AddDigestsToComponentDescriptor adds digest to componentReferences and resources as returned in the resolver functions.
CreateRSASignerFromKeyFile creates an Instance of RSASigner with the given private key.
CreateRSAVerifier creates an instance of RsaVerifier from a given rsa public key.
CreateRSAVerifierFromKeyFile creates an instance of RsaVerifier from a rsa public key file.
GetSignatureByName returns the Signature (Digest and SigantureSpec) matching the given name.
GetSignaturePEMBlocks returns all signature pem blocks from a list of pem blocks.
HasherForName creates a Hasher instance for the algorithmName.
HashForComponentDescriptor return the hash for the component-descriptor, if it is normaliseable (= componentReferences and resources contain digest field).
SignComponentDescriptor signs the given component-descriptor with the signer.
VerifySignedComponentDescriptor verifies the signature (selected by signatureName) and hash of the component-descriptor (as specified in the signature).
# Constants
No description provided by the author
# Variables
No description provided by the author
# Structs
Hasher encapsulates a hash.Hash interface with an algorithm name.
RSASigner is a signatures.Signer compatible struct to sign with RSASSA-PKCS1-V1_5.
RSAVerifier is a signatures.Verifier compatible struct to verify RSASSA-PKCS1-V1_5 signatures.
# Interfaces
No description provided by the author
Signer interface is used to implement different signing algorithms.
Verifier interface is used to implement different verification algorithms.
# Type aliases
Entry is used for normalisation and has to contain one key.