Versions in this module Expand all Collapse all v1 v1.0.0 Dec 15, 2023 Changes in this version + const AlgorithmECDSAP256SHA256 + const AlgorithmECDSAP384SHA384 + const AlgorithmRSAPKCS1v152048SHA256 + const AlgorithmRSAPKCS1v153072SHA256 + const AlgorithmRSAPKCS1v154096SHA256 + const AlgorithmRSAPKCS1v154096SHA512 + const AlgorithmRSAPSS2048SHA256 + const AlgorithmRSAPSS3072SHA256 + const AlgorithmRSAPSS4096SHA256 + const AlgorithmRSAPSS4096SHA512 + const ReferenceScheme + func ValidReference(ref string) error + type SignerVerifier struct + func LoadSignerVerifier(defaultCtx context.Context, referenceStr string, opts ...option.ClientOption) (*SignerVerifier, error) + func (g *SignerVerifier) CreateKey(ctx context.Context, algorithm string) (crypto.PublicKey, error) + func (g *SignerVerifier) CryptoSigner(ctx context.Context, errFunc func(error)) (myhash.Signer, myhash.SignerOpts, error) + func (g *SignerVerifier) DefaultAlgorithm() string + func (g *SignerVerifier) PublicKey(opts ...signature.PublicKeyOption) (crypto.PublicKey, error) + func (g *SignerVerifier) SignMessage(message io.Reader, opts ...signature.SignOption) ([]byte, error) + func (g *SignerVerifier) SupportedAlgorithms() (result []string) + func (g *SignerVerifier) VerifySignature(signature, message io.Reader, opts ...signature.VerifyOption) error