Top Description Fields Constructors Methods
org.bouncycastle.gpg.keybox

public Class Blob

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.gpg.keybox.FirstBlob, org.bouncycastle.gpg.keybox.KeyBlob
Imports
java.io.IOException, org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator, org.bouncycastle.util.Strings

GnuPG keybox blob. Based on:
See Also

Field Summary

Modifier and TypeField and Description
protected final int
protected final long
protected static final byte[]
protected final BlobType
protected final int

Constructor Summary

AccessConstructor and Description
protected
Blob(int base, long length, BlobType type, int version)

Method Summary

Modifier and TypeMethod and Description
pack-priv static Blob
getInstance(Object
The source, KeyBoxByteBuffer, ByteBuffer, byte[], InputStream or File.
source
,
KeyFingerPrintCalculator keyFingerPrintCalculator, BlobVerifier blobVerifier)

Return an instance of a blob from the source.

public BlobType
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baseback to summary
protected final int base
lengthback to summary
protected final long length
magicBytesback to summary
protected static final byte[] magicBytes
typeback to summary
protected final BlobType type
versionback to summary
protected final int version

Constructor Detail

Blobback to summary
protected Blob(int base, long length, BlobType type, int version)

Method Detail

getInstanceback to summary
pack-priv static Blob getInstance(Object source, KeyFingerPrintCalculator keyFingerPrintCalculator, BlobVerifier blobVerifier) throws IOException

Return an instance of a blob from the source. Will return null if no more blobs exist.

Parameters
source:Object

The source, KeyBoxByteBuffer, ByteBuffer, byte[], InputStream or File.

getTypeback to summary
public BlobType getType()
getVersionback to summary
public int getVersion()