Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
opcua.crypto.security_policies.SecurityPolicyBasic256 Class Reference

List of all members.

Public Member Functions

def __init__
def make_symmetric_key

Static Public Member Functions

def encrypt_asymmetric

Public Attributes

 asymmetric_cryptography
 client_certificate
 Mode
 server_certificate
 symmetric_cryptography

Static Public Attributes

string AsymmetricEncryptionURI = "http://www.w3.org/2001/04/xmlenc#rsa-oaep"
int signature_key_size = 24
int symmetric_key_size = 32
string URI = "http://opcfoundation.org/UA/SecurityPolicy#Basic256"

Detailed Description

Security Basic 256
A suite of algorithms that are for 256-Bit (32 bytes) encryption,
algorithms include:
- SymmetricSignatureAlgorithm - HmacSha1
  (http://www.w3.org/2000/09/xmldsig#hmac-sha1)
- SymmetricEncryptionAlgorithm - Aes256
  (http://www.w3.org/2001/04/xmlenc#aes256-cbc)
- AsymmetricSignatureAlgorithm - RsaSha1
  (http://www.w3.org/2000/09/xmldsig#rsa-sha1)
- AsymmetricKeyWrapAlgorithm - KwRsaOaep
  (http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p)
- AsymmetricEncryptionAlgorithm - RsaOaep
  (http://www.w3.org/2001/04/xmlenc#rsa-oaep)
- KeyDerivationAlgorithm - PSha1
  (http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512/dk/p_sha1)
- DerivedSignatureKeyLength - 192 (24 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 377 of file security_policies.py.


Constructor & Destructor Documentation

def opcua.crypto.security_policies.SecurityPolicyBasic256.__init__ (   self,
  server_cert,
  client_cert,
  client_pk,
  mode 
)

Definition at line 412 of file security_policies.py.


Member Function Documentation

Definition at line 409 of file security_policies.py.

Definition at line 431 of file security_policies.py.


Member Data Documentation

Definition at line 412 of file security_policies.py.

string opcua::crypto::security_policies.SecurityPolicyBasic256::AsymmetricEncryptionURI = "http://www.w3.org/2001/04/xmlenc#rsa-oaep" [static]

Definition at line 406 of file security_policies.py.

Definition at line 412 of file security_policies.py.

Definition at line 412 of file security_policies.py.

Definition at line 412 of file security_policies.py.

Definition at line 404 of file security_policies.py.

Definition at line 412 of file security_policies.py.

Definition at line 405 of file security_policies.py.

string opcua::crypto::security_policies.SecurityPolicyBasic256::URI = "http://opcfoundation.org/UA/SecurityPolicy#Basic256" [static]

Definition at line 403 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