Versions in this module Expand all Collapse all v0 v0.2.1 Nov 12, 2024 v0.2.0 Oct 4, 2024 Changes in this version + const RSASSA_PKCS1_1_5_SHA256 + const RSASSA_PSS_SHA512 + type RSAPKCS256 struct + Attrs any + PrivateKey *rsa.PrivateKey + PublicKey *rsa.PublicKey + func NewRSAPKCS256Signer(key *rsa.PrivateKey) *RSAPKCS256 + func NewRSAPKCS256Verifier(key *rsa.PublicKey) *RSAPKCS256 + func (a RSAPKCS256) Attributes() any + func (a RSAPKCS256) ContentDigest() contentdigest.Digester + func (a RSAPKCS256) Sign(ctx context.Context, base string) ([]byte, error) + func (a RSAPKCS256) Type() string + func (a RSAPKCS256) Verify(ctx context.Context, base string, signature []byte) error + type RSAPSS512 struct + Attrs any + PrivateKey *rsa.PrivateKey + PublicKey *rsa.PublicKey + func NewRSAPSS512Signer(key *rsa.PrivateKey) *RSAPSS512 + func NewRSAPSS512Verifier(key *rsa.PublicKey) *RSAPSS512 + func (a RSAPSS512) Attributes() any + func (a RSAPSS512) ContentDigest() contentdigest.Digester + func (a RSAPSS512) Sign(ctx context.Context, base string) ([]byte, error) + func (a RSAPSS512) Type() string + func (a RSAPSS512) Verify(ctx context.Context, base string, signature []byte) error