Client SDK Version 1.8.1
Ionic Security client SDK for Python users
Public Member Functions | Static Public Attributes | List of all members
ionicsdk.filecipher.FileCipherOpenXml Class Reference

Cipher that supports OpenXML file encryption / decryption. More...

Inheritance diagram for ionicsdk.filecipher.FileCipherOpenXml:
ionicsdk.filecipher.FileCipherBase

Public Member Functions

def __init__ (self, agentkeyservice, coverpageservice=None)
 Constructs an OpenXml file cipher from key services and optional coverpage services. More...
 
- Public Member Functions inherited from ionicsdk.filecipher.FileCipherBase
def __init__ (self)
 Constructs a file cipher with default values.
 
def family (self)
 Access the instance FileCipherFamily enumeration. More...
 
def familystring (self)
 Access the instance FileCipherFamily string. More...
 
def getLastServerResponse (self)
 Return the Server Response object from the last Agent call. More...
 
def encryptbytes (self, plaintextbytes, attributes=None, metadata=None, mutableAttributes=None)
 Encrypts an input byte buffer into an output byte buffer. More...
 
def encryptbytes2 (self, plaintextbytes, encryptattributesInOut)
 Encrypts an input byte buffer into an output byte buffer. More...
 
def decryptbytes (self, ciphertextbytes, metadata=None)
 Decrypts an input buffer into an output buffer. More...
 
def decryptbytes2 (self, ciphertextbytes, decryptattributesInOut)
 Decrypts an input byte buffer into an output byte buffer. More...
 
def encryptinplace (self, filepath, attributes=None, metadata=None, mutableAttributes=None)
 Encrypts a file in-place. More...
 
def encryptinplace2 (self, filepath, encryptattributesInOut)
 Encrypts a file in-place. More...
 
def decryptinplace (self, filepath, metadata=None)
 Decrypts a file in-place. More...
 
def decryptinplace2 (self, filepath, decryptattributesInOut)
 Decrypts a file in-place. More...
 
def encrypt (self, sourcepath, destpath, attributes=None, metadata=None, mutableAttributes=None)
 Encrypts an input file into an output file. More...
 
def encrypt2 (self, sourcepath, destpath, encryptattributesInOut)
 Encrypts an input file into an output file. More...
 
def decrypt (self, sourcepath, destpath, metadata=None)
 Decrypts an input file into an output output file. More...
 
def decrypt2 (self, sourcepath, destpath, decryptattributesInOut)
 Decrypts an input file into an output output file. More...
 
def getinfobytes (self, inputbytes)
 Determines if a file is Ionic protected and various pieces of information about the file. More...
 
def getinfo (self, filepath)
 Determines if a file is Ionic protected and various pieces of information about the file. More...
 

Static Public Attributes

 FAMILY = FileCipherFamily.OPENXML
 (FileCipherFamily) File Cipher Family enumeration for this class
 
 FAMILY_STRING = FileCipherFamily.tostring(FAMILY)
 (string) File Cipher Family label for this class
 

Detailed Description

Cipher that supports OpenXML file encryption / decryption.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.filecipher.FileCipherOpenXml.__init__ (   self,
  agentkeyservice,
  coverpageservice = None 
)

Constructs an OpenXml file cipher from key services and optional coverpage services.

Parameters
agentkeyservice(class instance) The agent or key service used to retrieve and create keys.
coverpageservice(class instance) The coverpage service used to retrieve cover pages and access denied pages.

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