Interface DaveFactory

All Known Subinterfaces:
NettyDaveFactory

public interface DaveFactory
  • Method Details

    • maxSupportedProtocolVersion

      int maxSupportedProtocolVersion()
      Returns the maximum protocol version supported by the underlying native library.
      Returns:
      The maximum supported DAVE protocol version.
    • createDecryptor

      Decryptor createDecryptor()
      Creates a new Decryptor instance.
    • createEncryptor

      Encryptor createEncryptor()
      Creates a new Encryptor instance.
    • createSession

      Session createSession(String context, String authSessionId, MLSFailureCallback callback)
      Creates a new DAVE session.
      Parameters:
      context - A string context for the session, often used for logging or identifying the session.
      authSessionId - The authentication session ID associated with the user.
      callback - Callback to handle MLS failures, such as invalid transitions.