Package org.pgpainless.util
Class NotationRegistry
- java.lang.Object
-
- org.pgpainless.util.NotationRegistry
-
public final class NotationRegistry extends java.lang.ObjectRegistry 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, calladdKnownNotation(String).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKnownNotation(java.lang.String notationName)static NotationRegistrygetInstance()booleanisKnownNotation(java.lang.String notationName)
-
-
-
Method Detail
-
getInstance
public static NotationRegistry getInstance()
-
addKnownNotation
public void addKnownNotation(java.lang.String notationName)
-
isKnownNotation
public boolean isKnownNotation(java.lang.String notationName)
-
-