org.bouncycastle.bcpg.sig

Class NotationData

public class NotationData extends SignatureSubpacket

Class provided a NotationData object according to RFC2440, Chapter 5.2.3.15. Notation Data
Field Summary
static intHEADER_FLAG_LENGTH
static intHEADER_NAME_LENGTH
static intHEADER_VALUE_LENGTH
Constructor Summary
NotationData(boolean critical, byte[] data)
NotationData(boolean critical, boolean humanReadable, String notationName, String notationValue)
Method Summary
StringgetNotationName()
StringgetNotationValue()
booleanisHumanReadable()

Field Detail

HEADER_FLAG_LENGTH

public static final int HEADER_FLAG_LENGTH

HEADER_NAME_LENGTH

public static final int HEADER_NAME_LENGTH

HEADER_VALUE_LENGTH

public static final int HEADER_VALUE_LENGTH

Constructor Detail

NotationData

public NotationData(boolean critical, byte[] data)

NotationData

public NotationData(boolean critical, boolean humanReadable, String notationName, String notationValue)

Method Detail

getNotationName

public String getNotationName()

getNotationValue

public String getNotationValue()

isHumanReadable

public boolean isHumanReadable()