Client SDK Version 2.0.0
Ionic Security client SDK for Python users
|
Base class for all data chunk encryption / decryption ciphers. More...
Public Member Functions | |
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... | |
Base class for all data chunk encryption / decryption ciphers.
Not to be used directly. Use one of the appropriate subclasses:
def ionicsdk.chunkcipher.ChunkCipherBase.decryptbytes | ( | self, | |
ciphertext, | |||
metadata = None |
|||
) |
Decrypts an input string into an output byte buffer.
This function performs data chunk decryption using the method implied by the class name (e.g. ISChunkCryptoV1).
ciphertext | (string): The ciphertext input string. |
metadata | (MetadataDict, optional): The metadata properties to send along with the HTTP request. |
def ionicsdk.chunkcipher.ChunkCipherBase.decryptbytes2 | ( | self, | |
ciphertext, | |||
decryptattributesInOut | |||
) |
Decrypts an input string into an output bytes buffer.
This function performs data chunk decryption using the method implied by the class name (e.g. ISChunkCryptoV1).
ciphertext | (string): The ciphertext input string. |
decryptattributesInOut | (ChunkCipherDecryptAttributes): Object to provide and return detailed information. |
def ionicsdk.chunkcipher.ChunkCipherBase.decryptstr | ( | self, | |
ciphertext, | |||
metadata = None |
|||
) |
Decrypts an input string into an output string.
This function performs data chunk decryption using the method implied by the class name (e.g. ISChunkCryptoV1).
ciphertext | (string): The ciphertext input string. |
metadata | (MetadataDict, optional): The metadata properties to send along with the HTTP request. |
def ionicsdk.chunkcipher.ChunkCipherBase.decryptstr2 | ( | self, | |
ciphertext, | |||
decryptattributesInOut | |||
) |
Decrypts an input string into an output string.
This function performs data chunk decryption using the method implied by the class name (e.g. ISChunkCryptoV1).
ciphertext | (string): The ciphertext input string. |
decryptattributesInOut | (ChunkCipherDecryptAttributes): Object to provide and return detailed information. |
def ionicsdk.chunkcipher.ChunkCipherBase.encryptbytes | ( | self, | |
plaintextbytes, | |||
attributes = None , |
|||
metadata = None , |
|||
mutableAttributes = None |
|||
) |
Encrypts an input bytes buffer into an output string.
This function performs data chunk encryption using the method implied by the class name (e.g. ISChunkCryptoV1).
plaintextbytes | (bytes): The binary plaintext input buffer. |
attributes | (KeyAttributesDict, optional): The attributes to use when creating a key to protect data. |
metadata | (MetadataDict, optional): The metadata properties to send along with the HTTP request. |
mutableAttributes | (KeyAttributesDict, optional): The protection key mutable attributes to use for creating the protection key. |
def ionicsdk.chunkcipher.ChunkCipherBase.encryptbytes2 | ( | self, | |
plaintextbytes, | |||
encryptattributesInOut | |||
) |
Encrypts an input bytes buffer into an output string.
This function performs data chunk encryption using the method implied by the class name (e.g. ISChunkCryptoV1).
plaintextbytes | (bytes): The binary plaintext input buffer. |
encryptattributesInOut | (ChunkCipherEncryptAttributes): Object to provide and return detailed information. |
def ionicsdk.chunkcipher.ChunkCipherBase.encryptstr | ( | self, | |
plaintext, | |||
attributes = None , |
|||
metadata = None , |
|||
mutableAttributes = None |
|||
) |
Encrypts an input string into an output string.
This function performs data chunk encryption using the method implied by the class name (e.g. ISChunkCryptoV1).
plaintext | (string): The plaintext input string. |
attributes | (KeyAttributesDict, optional): The attributes to use when creating a key to protect data. |
metadata | (MetadataDict, optional): The metadata properties to send along with the HTTP request. |
mutableAttributes | (KeyAttributesDict, optional): The protection key mutable attributes to use for creating the protection key. |
def ionicsdk.chunkcipher.ChunkCipherBase.encryptstr2 | ( | self, | |
plaintext, | |||
encryptattributesInOut | |||
) |
Encrypts an input string into an output string.
This function performs data chunk encryption using the method implied by the class name (e.g. ISChunkCryptoV1).
plaintext | (string): The plaintext input string. |
encryptattributesInOut | (ChunkCipherEncryptAttributes): Object to provide and return detailed information. |
def ionicsdk.chunkcipher.ChunkCipherBase.getLastServerResponse | ( | self | ) |
Return the Server Response object from the last Agent call.
def ionicsdk.chunkcipher.ChunkCipherBase.id | ( | self | ) |
Gets the hard-coded cipher ID of this instance.
def ionicsdk.chunkcipher.ChunkCipherBase.label | ( | self | ) |
Gets the hard-coded cipher label of this instance.
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2020 Ionic Security Inc. All rights reserved. -
Generated on Thu Jul 2 2020 12:40:00 for Client SDK Version 2.0.0 by
1.8.18