Package org.bouncycastle.bcpg.sig
Class NotationData
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.NotationData
Signature Subpacket encoding custom notations.
Notations are key-value pairs.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
ConstructorDescriptionNotationData
(boolean critical, boolean isLongLength, byte[] data) NotationData
(boolean critical, boolean humanReadable, String notationName, String notationValue) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
boolean
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Field Details
-
HEADER_FLAG_LENGTH
public static final int HEADER_FLAG_LENGTH- See Also:
-
HEADER_NAME_LENGTH
public static final int HEADER_NAME_LENGTH- See Also:
-
HEADER_VALUE_LENGTH
public static final int HEADER_VALUE_LENGTH- See Also:
-
-
Constructor Details
-
NotationData
public NotationData(boolean critical, boolean isLongLength, byte[] data) -
NotationData
-
-
Method Details
-
isHumanReadable
public boolean isHumanReadable() -
getNotationName
-
getNotationValue
-
getNotationValueBytes
public byte[] getNotationValueBytes()
-