Top Fields Constructors Methods
org.bouncycastle.openpgp

pack-priv abstract Class PGPDefaultSignatureGenerator

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.openpgp.PGPOnePassSignature, org.bouncycastle.openpgp.PGPSignature, org.bouncycastle.openpgp.PGPSignatureGenerator, org.bouncycastle.openpgp.PGPV3SignatureGenerator
Imports
java.io.ByteArrayOutputStream, .IOException, .OutputStream, org.bouncycastle.bcpg.SignaturePacket, .UserAttributeSubpacket

Field Summary

Modifier and TypeField and Description
protected byte
protected OutputStream
protected int
protected final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
blockUpdate(byte[] block, int off, int len)

private void
byteUpdate(byte b)

protected void
private byte[]
public void
update(byte b)

public void
update(byte[] b)

public void
update(byte[] b, int off, int len)

protected void
updateWithIdData(int header, byte[] idBytes)

protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lastbback to summary
protected byte lastb
sigOutback to summary
protected OutputStream sigOut
sigTypeback to summary
protected int sigType
versionback to summary
protected final int version

Constructor Detail

PGPDefaultSignatureGeneratorback to summary
public PGPDefaultSignatureGenerator(int version)

Method Detail

blockUpdateback to summary
protected void blockUpdate(byte[] block, int off, int len)
byteUpdateback to summary
private void byteUpdate(byte b)
getAttributesHashback to summary
protected void getAttributesHash(PGPUserAttributeSubpacketVector userAttributes) throws PGPException
getEncodedPublicKeyback to summary
private byte[] getEncodedPublicKey(PGPPublicKey pubKey) throws PGPException
updateback to summary
public void update(byte b)
updateback to summary
public void update(byte[] b)
updateback to summary
public void update(byte[] b, int off, int len)
updateWithIdDataback to summary
protected void updateWithIdData(int header, byte[] idBytes)
updateWithPublicKeyback to summary
protected void updateWithPublicKey(PGPPublicKey key) throws PGPException