Interface IAS4PModeAwareCryptoFactory

All Superinterfaces:
IAS4CryptoFactory

public interface IAS4PModeAwareCryptoFactory extends IAS4CryptoFactory
An extended IAS4CryptoFactory with the capability to receive a P-Mode that was successfully resolved during reception phase. This information can be used to provide P-Mode specific crypto information for decryption.
Source: https://github.com/phax/phase4/pull/121
Since:
2.1.0
Author:
Gregor Scholtysik
  • Method Details

    • setContextPMode

      void setContextPMode(@Nonnull IPMode pMode)
      Set the P-Mode in context.
      This method is only called on reception side after successful resolving of the P-Mode from the incoming ebms information.
      Parameters:
      pMode - the P-Mode resolved during reception