Class NotationRegistry


  • public final class NotationRegistry
    extends java.lang.Object
    Registry for known notations. Since signature verification must reject signatures with critical notations that are not known to the application, there must be some way to tell PGPainless which notations actually are known. To add a notation name, call addKnownNotation(String).
    • Method Detail

      • addKnownNotation

        public void addKnownNotation​(java.lang.String notationName)
      • isKnownNotation

        public boolean isKnownNotation​(java.lang.String notationName)