public class CryptoPlugin extends Object
| Modifier and Type | Method and Description |
|---|---|
Message |
decodeMessage(GuidPrefix sourceGuidPrefix,
SecureSubMessage msg)
Decodes a SecureSubMessage into Message.
|
Message |
encodeMessage(Guid remoteGuid,
Message message)
This method is called by jRTPS when a message is being sent.
|
static void |
registerTransformer(Transformer ct)
Registers a Transformer to this CryptoPlugin
|
public static void registerTransformer(Transformer ct)
ct - Transformer to registerpublic Message encodeMessage(Guid remoteGuid, Message message) throws SecurityException
remoteGuid - Guid of the remote entitymessage - Message to be sent.SecurityException - on SecurityExceptionpublic Message decodeMessage(GuidPrefix sourceGuidPrefix, SecureSubMessage msg) throws SecurityException
sourceGuidPrefix - GuidPrefixmsg - SecureSubMessage to decodeSecurityException - on SecurityExceptionCopyright © 2016. All rights reserved.