Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, signer, pass, tinkKEKURI, tinkKeysetPath string) (signature.Signer, error)
- func NewTinkSigner(ctx context.Context, kekURI, keysetPath string) (signature.Signer, error)
- func NewTinkSignerWithHandle(kek tink.AEAD, keysetPath string) (signature.Signer, error)
- type File
- type Memory
Constants ¶
View Source
const MemoryScheme = "memory"
View Source
const TinkScheme = "tink"
Variables ¶
This section is empty.
Functions ¶
func NewTinkSigner ¶ added in v1.3.7
NewTinkSignerWithHandle returns a signature.SignerVerifier that wraps crypto.Signer and a hash function. Provide a path to the encrypted keyset and cloud KMS key URI for decryption
func NewTinkSignerWithHandle ¶ added in v1.3.7
NewTinkSignerWithHandle returns a signature.SignerVerifier that wraps crypto.Signer and a hash function. Provide a path to the encrypted keyset and a key handle for decrypting the keyset
Types ¶
type File ¶ added in v0.12.1
type File struct {
signature.SignerVerifier
}
returns an file based signer and verify, used for spinning up local instances
Click to show internal directories.
Click to hide internal directories.