Top Description Fields Constructors Methods
org.bouncycastle.bcpg.sig

public Class NotationData

extends SignatureSubpacket
Class Inheritance
Imports
java.io.ByteArrayOutputStream, org.bouncycastle.bcpg.SignatureSubpacket, .SignatureSubpacketTags, org.bouncycastle.util.Strings

Class provided a NotationData object according to RFC2440, Chapter 5.2.3.15. Notation Data

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
data

Constructor Summary

AccessConstructor and Description
public
NotationData(boolean critical, boolean isLongLength, byte[] data)

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

Method Summary

Modifier and TypeMethod and Description
private static byte[]
createData(boolean humanReadable, String notationName, String notationValue)

public String
public String
public byte[]
public boolean
Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
encodeequalsgetDatagetTypehashCodeisCriticalisLongLength

Field Detail

HEADER_FLAG_LENGTHback to summary
public static final int HEADER_FLAG_LENGTH
HEADER_NAME_LENGTHback to summary
public static final int HEADER_NAME_LENGTH
HEADER_VALUE_LENGTHback to summary
public static final int HEADER_VALUE_LENGTH

Constructor Detail

NotationDataback to summary
public NotationData(boolean critical, boolean isLongLength, byte[] data)
NotationDataback to summary
public NotationData(boolean critical, boolean humanReadable, String notationName, String notationValue)

Method Detail

createDataback to summary
private static byte[] createData(boolean humanReadable, String notationName, String notationValue)
getNotationNameback to summary
public String getNotationName()
getNotationValueback to summary
public String getNotationValue()
getNotationValueBytesback to summary
public byte[] getNotationValueBytes()
isHumanReadableback to summary
public boolean isHumanReadable()