Encryption Types

class b2sdk.encryption.types.EncryptionAlgorithm(value)[source]

Encryption algorithm.

AES256 = 'AES256'
class b2sdk.encryption.types.EncryptionMode(value)[source]

Encryption mode.

UNKNOWN = None

unknown encryption mode (sdk doesn’t know or used key has no rights to know)

NONE = 'none'

no encryption (plaintext)

SSE_B2 = 'SSE-B2'

server-side encryption with key maintained by B2

SSE_C = 'SSE-C'

server-side encryption with key provided by the client

can_be_set_as_bucket_default()[source]