Package jadex.ipc

Interface ISecurity

All Known Implementing Classes:
Security

public interface ISecurity
Security is responsible for validating (remote) requests.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Encrypts and signs the message for a receiver.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Special "trusted" role indicating that flagged entity may invoke any service remotely.
  • Method Summary

    Modifier and Type
    Method
    Description
    decryptAndAuth(jadex.core.impl.GlobalProcessIdentifier sender, byte[] content)
    Decrypt and authenticates the message from a sender.
    static ISecurity
    get()
    Get the security instance.
  • Field Details

    • TRUSTED

      static final String TRUSTED
      Special "trusted" role indicating that flagged entity may invoke any service remotely.
      See Also:
  • Method Details

    • get

      static ISecurity get()
      Get the security instance.
    • decryptAndAuth

      ISecurity.DecodedMessage decryptAndAuth(jadex.core.impl.GlobalProcessIdentifier sender, byte[] content)
      Decrypt and authenticates the message from a sender.
      Parameters:
      sender - The sender.
      content - The content.
      Returns:
      Decrypted/authenticated message or null on invalid message.