Client SDK Version 2.0.0
Ionic Security client SDK for Python users
Public Member Functions | Static Public Attributes | List of all members
ionicsdk.chunkcipher.ChunkCipherV1 Class Reference

Cipher that supports version 1 data chunk encryption / decryption. More...

Inheritance diagram for ionicsdk.chunkcipher.ChunkCipherV1:
ionicsdk.chunkcipher.ChunkCipherBase

Public Member Functions

def __init__ (self, agentkeyservice)
 Constructor which takes an key service refernce. More...
 
- Public Member Functions inherited from ionicsdk.chunkcipher.ChunkCipherBase
def __init__ (self)
 Constructor for base class.
 
def id (self)
 Gets the hard-coded cipher ID of this instance. More...
 
def label (self)
 Gets the hard-coded cipher label of this instance. More...
 
def getLastServerResponse (self)
 Return the Server Response object from the last Agent call. More...
 
def encryptstr (self, plaintext, attributes=None, metadata=None, mutableAttributes=None)
 Encrypts an input string into an output string. More...
 
def encryptstr2 (self, plaintext, encryptattributesInOut)
 Encrypts an input string into an output string. More...
 
def encryptbytes (self, plaintextbytes, attributes=None, metadata=None, mutableAttributes=None)
 Encrypts an input bytes buffer into an output string. More...
 
def encryptbytes2 (self, plaintextbytes, encryptattributesInOut)
 Encrypts an input bytes buffer into an output string. More...
 
def decryptstr (self, ciphertext, metadata=None)
 Decrypts an input string into an output string. More...
 
def decryptstr2 (self, ciphertext, decryptattributesInOut)
 Decrypts an input string into an output string. More...
 
def decryptbytes (self, ciphertext, metadata=None)
 Decrypts an input string into an output byte buffer. More...
 
def decryptbytes2 (self, ciphertext, decryptattributesInOut)
 Decrypts an input string into an output bytes buffer. More...
 

Static Public Attributes

string ID = "ChunkV1"
 ChunkV1 Chunk Cipher ID.
 
string LABEL = "Chunk Cipher V1"
 ChunkV1 Chunk Cipher text label.
 

Detailed Description

Cipher that supports version 1 data chunk encryption / decryption.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.chunkcipher.ChunkCipherV1.__init__ (   self,
  agentkeyservice 
)

Constructor which takes an key service refernce.

Parameters
agentkeyservice(class instance) An Agent or key service used to retrieve and create keys

The documentation for this class was generated from the following file: