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

List of all members.

Public Member Functions

def __init__
def decrypt
def encrypt
def encrypted_block_size
def min_padding_size
def padding
def plain_block_size
def remove_padding
def signature
def signature_size
def verify
def vsignature_size

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

Definition at line 163 of file security_policies.py.

Definition at line 157 of file security_policies.py.

Size of encrypted text block for block cipher.

Definition at line 118 of file security_policies.py.

Definition at line 140 of file security_policies.py.

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.

Size of plain text block for block cipher.

Definition at line 110 of file security_policies.py.

Definition at line 168 of file security_policies.py.

Definition at line 148 of file security_policies.py.

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.

Definition at line 151 of file security_policies.py.


Member Data Documentation

Definition at line 101 of file security_policies.py.

Definition at line 101 of file security_policies.py.

Definition at line 101 of file security_policies.py.

Definition at line 101 of file security_policies.py.

Definition at line 101 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 Sat Jun 8 2019 18:26:24