Class EncryptionHandler
- java.lang.Object
-
- org.apache.plc4x.java.opcua.context.EncryptionHandler
-
public class EncryptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description EncryptionHandler(Conversation conversation, PrivateKey senderPrivateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureDatacreateClientSignature()MessagePDUdecodeMessage(MessagePDU message)List<MessagePDU>encodeMessage(MessagePDU message, Supplier<Integer> sequenceSupplier)byte[]encryptPassword(byte[] data)
-
-
-
Constructor Detail
-
EncryptionHandler
public EncryptionHandler(Conversation conversation, PrivateKey senderPrivateKey)
-
-
Method Detail
-
encodeMessage
public List<MessagePDU> encodeMessage(MessagePDU message, Supplier<Integer> sequenceSupplier)
-
decodeMessage
public MessagePDU decodeMessage(MessagePDU message)
-
createClientSignature
public SignatureData createClientSignature() throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
encryptPassword
public byte[] encryptPassword(byte[] data)
-
-