Public Member Functions | |
def | __init__ (self) |
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, signature) |
def | vsignature_size (self) |
Base class for symmetric/asymmetric cryprography
Definition at line 247 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.__init__ | ( | self | ) |
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.
def opcua.ua.uaprotocol_hand.CryptographyNone.encrypted_block_size | ( | self | ) |
Size of encrypted text block for block cipher.
Definition at line 261 of file uaprotocol_hand.py.
def opcua.ua.uaprotocol_hand.CryptographyNone.min_padding_size | ( | self | ) |
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.
def opcua.ua.uaprotocol_hand.CryptographyNone.plain_block_size | ( | self | ) |
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.
def opcua.ua.uaprotocol_hand.CryptographyNone.signature_size | ( | self | ) |
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.
def opcua.ua.uaprotocol_hand.CryptographyNone.vsignature_size | ( | self | ) |
Definition at line 290 of file uaprotocol_hand.py.