Struct: s3crypto.CipherData

import "../ibm-cos-sdk-go/service/s3/s3crypto"

Overview

CipherData is used for content encryption. It is used for storing the metadata of the encrypted content.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

CEKAlgorithm string

EncryptedKey []byte

EncryptedKey should be populated when calling GenerateCipherData

IV []byte

Key []byte

MaterialDescription MaterialDescription

Padder Padder

TagLength string

WrapAlgorithm string

Method Details

func (cd CipherData) Clone() (v CipherData)

Clone returns a new copy of CipherData



43
44
45
46
47
// File 'service/s3/s3crypto/cipher_builder.go', line 43

func (cd CipherData) Clone() (v CipherData) { v = cd v.MaterialDescription = cd.MaterialDescription.Clone() return v }