Public Member Functions | Public Attributes | List of all members
opcua.crypto.security_policies.Cryptography Class Reference
Inheritance diagram for opcua.crypto.security_policies.Cryptography:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, mode=MessageSecurityMode.Sign)
 
def decrypt (self, data)
 
def encrypt (self, data)
 
def encrypted_block_size (self)
 
def min_padding_size (self)
 
def padding (self, size)
 
def plain_block_size (self)
 
def remove_padding (self, data)
 
def signature (self, data)
 
def signature_size (self)
 
def verify (self, data, sig)
 
def vsignature_size (self)
 

Public Attributes

 Decryptor
 
 Encryptor
 
 is_encrypted
 
 Signer
 
 Verifier
 

Detailed Description

Security policy: Sign or SignAndEncrypt

Definition at line 96 of file security_policies.py.

Constructor & Destructor Documentation

def opcua.crypto.security_policies.Cryptography.__init__ (   self,
  mode = MessageSecurityMode.Sign 
)

Definition at line 101 of file security_policies.py.

Member Function Documentation

def opcua.crypto.security_policies.Cryptography.decrypt (   self,
  data 
)

Definition at line 163 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.encrypt (   self,
  data 
)

Definition at line 157 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.encrypted_block_size (   self)
Size of encrypted text block for block cipher.

Definition at line 118 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.min_padding_size (   self)

Definition at line 140 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.padding (   self,
  size 
)
Create padding for a block of given size.
plain_size = size + len(padding) + signature_size()
plain_size = N * plain_block_size()

Definition at line 126 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.plain_block_size (   self)
Size of plain text block for block cipher.

Definition at line 110 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.remove_padding (   self,
  data 
)

Definition at line 168 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.signature (   self,
  data 
)

Definition at line 148 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.signature_size (   self)

Definition at line 145 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.verify (   self,
  data,
  sig 
)

Definition at line 154 of file security_policies.py.

def opcua.crypto.security_policies.Cryptography.vsignature_size (   self)

Definition at line 151 of file security_policies.py.

Member Data Documentation

opcua.crypto.security_policies.Cryptography.Decryptor

Definition at line 105 of file security_policies.py.

opcua.crypto.security_policies.Cryptography.Encryptor

Definition at line 104 of file security_policies.py.

opcua.crypto.security_policies.Cryptography.is_encrypted

Definition at line 108 of file security_policies.py.

opcua.crypto.security_policies.Cryptography.Signer

Definition at line 102 of file security_policies.py.

opcua.crypto.security_policies.Cryptography.Verifier

Definition at line 103 of file security_policies.py.


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


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:44