Documentation ¶ Index ¶ type KMS func NewKMS(sess *session.Session) *KMS func NewKMSFromBinary(bin []byte, sess *session.Session) *KMS func (k *KMS) Decrypt() ([]byte, error) func (k *KMS) Encrypt(plainText []byte) ([]byte, error) func (k *KMS) SetKeyID(keyID string) *KMS func (k *KMS) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type KMS ¶ type KMS struct { Type *string `json:"type"` Cipher []byte `json:"cipher"` // contains filtered or unexported fields } func NewKMS ¶ func NewKMS(sess *session.Session) *KMS func NewKMSFromBinary ¶ func NewKMSFromBinary(bin []byte, sess *session.Session) *KMS func (*KMS) Decrypt ¶ func (k *KMS) Decrypt() ([]byte, error) func (*KMS) Encrypt ¶ func (k *KMS) Encrypt(plainText []byte) ([]byte, error) func (*KMS) SetKeyID ¶ func (k *KMS) SetKeyID(keyID string) *KMS func (*KMS) String ¶ func (k *KMS) String() string Source Files ¶ View all Source files kms.go Click to show internal directories. Click to hide internal directories.