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 int
HEADER_FLAG_LENGTH
static int
HEADER_NAME_LENGTH
static int
HEADER_VALUE_LENGTH

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket

data

Constructor Summary

NotationData(boolean critical, boolean humanReadable, String notationName, String notationValue)
NotationData(boolean critical, byte[] data)

Method Summary

String
getNotationName()
String
getNotationValue()
boolean
isHumanReadable()

Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket

encode, getData, getType, isCritical

Field Details

HEADER_FLAG_LENGTH

public static final int HEADER_FLAG_LENGTH
Field Value:
4

HEADER_NAME_LENGTH

public static final int HEADER_NAME_LENGTH
Field Value:
2

HEADER_VALUE_LENGTH

public static final int HEADER_VALUE_LENGTH
Field Value:
2

Constructor Details

NotationData

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

NotationData

public NotationData(boolean critical,
                    byte[] data)

Method Details

getNotationName

public String getNotationName()

getNotationValue

public String getNotationValue()

isHumanReadable

public boolean isHumanReadable()