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 |
Security policy: Sign or SignAndEncrypt
Definition at line 96 of file security_policies.py.
def opcua.crypto.security_policies.Cryptography.__init__ | ( | self, | |
mode = MessageSecurityMode.Sign |
|||
) |
Definition at line 101 of file security_policies.py.
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.
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.
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.
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.
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.
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.