Public Member Functions | |
def | __init__ (self, server_cert, client_cert, client_pk, mode) |
def | make_symmetric_key (self, nonce1, nonce2) |
Static Public Member Functions | |
def | encrypt_asymmetric (pubkey, data) |
Public Attributes | |
asymmetric_cryptography | |
client_certificate | |
Mode | |
server_certificate | |
symmetric_cryptography | |
Static Public Attributes | |
string | AsymmetricEncryptionURI = "http://www.w3.org/2001/04/xmlenc#rsa-1_5" |
int | signature_key_size = 16 |
int | symmetric_key_size = 16 |
string | URI = "http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15" |
Security Basic 128Rsa15 A suite of algorithms that uses RSA15 as Key-Wrap-algorithm and 128-Bit (16 bytes) for encryption algorithms. - SymmetricSignatureAlgorithm - HmacSha1 (http://www.w3.org/2000/09/xmldsig#hmac-sha1) - SymmetricEncryptionAlgorithm - Aes128 (http://www.w3.org/2001/04/xmlenc#aes128-cbc) - AsymmetricSignatureAlgorithm - RsaSha1 (http://www.w3.org/2000/09/xmldsig#rsa-sha1) - AsymmetricKeyWrapAlgorithm - KwRsa15 (http://www.w3.org/2001/04/xmlenc#rsa-1_5) - AsymmetricEncryptionAlgorithm - Rsa15 (http://www.w3.org/2001/04/xmlenc#rsa-1_5) - KeyDerivationAlgorithm - PSha1 (http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512/dk/p_sha1) - DerivedSignatureKeyLength - 128 (16 bytes) - MinAsymmetricKeyLength - 1024 (128 bytes) - MaxAsymmetricKeyLength - 2048 (256 bytes) - CertificateSignatureAlgorithm - Sha1 If a certificate or any certificate in the chain is not signed with a hash that is Sha1 or stronger then the certificate shall be rejected.
Definition at line 311 of file security_policies.py.
def opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.__init__ | ( | self, | |
server_cert, | |||
client_cert, | |||
client_pk, | |||
mode | |||
) |
Definition at line 346 of file security_policies.py.
|
static |
Definition at line 343 of file security_policies.py.
def opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.make_symmetric_key | ( | self, | |
nonce1, | |||
nonce2 | |||
) |
Definition at line 365 of file security_policies.py.
opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.asymmetric_cryptography |
Definition at line 352 of file security_policies.py.
|
static |
Definition at line 340 of file security_policies.py.
opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.client_certificate |
Definition at line 363 of file security_policies.py.
opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.Mode |
Definition at line 361 of file security_policies.py.
opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.server_certificate |
Definition at line 362 of file security_policies.py.
|
static |
Definition at line 338 of file security_policies.py.
opcua.crypto.security_policies.SecurityPolicyBasic128Rsa15.symmetric_cryptography |
Definition at line 360 of file security_policies.py.
|
static |
Definition at line 339 of file security_policies.py.
|
static |
Definition at line 337 of file security_policies.py.