Lines Matching defs:Wrapper
14 type Wrapper struct { struct
15 keyBytes []byte
16 aead cipher.AEAD
31 func (s *Wrapper) GetKeyBytes() []byte {
35 func (s *Wrapper) SetAEAD(aead cipher.AEAD) {
40 func (s *Wrapper) SetAESGCMKeyBytes(key []byte) error {
57 func (s *Wrapper) Init(_ context.Context) error {
63 func (s *Wrapper) Finalize(_ context.Context) error {
68 func (s *Wrapper) Type() string {
73 func (s *Wrapper) KeyID() string {
78 func (s *Wrapper) HMACKeyID() string {
83 … *Wrapper) Encrypt(_ context.Context, plaintext, aad []byte) (*wrapping.EncryptedBlobInfo, error) {
104 … *Wrapper) Decrypt(_ context.Context, in *wrapping.EncryptedBlobInfo, aad []byte) ([]byte, error) {