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 |
Base class for symmetric/asymmetric cryprography
Definition at line 247 of file uaprotocol_hand.py.
Definition at line 252 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.decrypt | ( | self, | |
data | |||
) |
Definition at line 287 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.encrypt | ( | self, | |
data | |||
) |
Definition at line 284 of file uaprotocol_hand.py.
Size of encrypted text block for block cipher.
Definition at line 261 of file uaprotocol_hand.py.
Definition at line 275 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.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 267 of file uaprotocol_hand.py.
Size of plain text block for block cipher.
Definition at line 255 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.remove_padding | ( | self, | |
data | |||
) |
Definition at line 299 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.signature | ( | self, | |
data | |||
) |
Definition at line 281 of file uaprotocol_hand.py.
Definition at line 278 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.verify | ( | self, | |
data, | |||
signature | |||
) |
Verify signature and raise exception if signature is invalid
Definition at line 293 of file uaprotocol_hand.py.
Definition at line 290 of file uaprotocol_hand.py.