org.bouncycastle.bcpg.sig
Class NotationData
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.NotationData
- public class NotationData
- extends SignatureSubpacket
Signature Subpacket encoding custom notations.
Notations are key-value pairs.
- See Also:
-
RFC4880 - Notation Data,
RFC9580 - Notation Data
Constructor Summary |
NotationData(boolean critical,
boolean isLongLength,
byte[] data)
|
NotationData(boolean critical,
boolean humanReadable,
java.lang.String notationName,
java.lang.String notationValue)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
HEADER_FLAG_LENGTH
public static final int HEADER_FLAG_LENGTH
- See Also:
- Constant Field Values
HEADER_NAME_LENGTH
public static final int HEADER_NAME_LENGTH
- See Also:
- Constant Field Values
HEADER_VALUE_LENGTH
public static final int HEADER_VALUE_LENGTH
- See Also:
- Constant Field Values
NotationData
public NotationData(boolean critical,
boolean isLongLength,
byte[] data)
NotationData
public NotationData(boolean critical,
boolean humanReadable,
java.lang.String notationName,
java.lang.String notationValue)
isHumanReadable
public boolean isHumanReadable()
getNotationName
public java.lang.String getNotationName()
getNotationValue
public java.lang.String getNotationValue()
getNotationValueBytes
public byte[] getNotationValueBytes()