org.bouncycastle.openpgp
Class PGPV3SignatureGenerator
java.lang.Object
org.bouncycastle.openpgp.PGPV3SignatureGenerator
public class PGPV3SignatureGenerator
extends java.lang.Object
Generator for old style PGP V3 Signatures.
PGPV3SignatureGenerator(int keyAlgorithm, int hashAlgorithm, String provider) - Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
|
PGPV3SignatureGenerator
public PGPV3SignatureGenerator(int keyAlgorithm,
int hashAlgorithm,
String provider)
throws NoSuchAlgorithmException,
NoSuchProviderException,
PGPException
Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
keyAlgorithm
- hashAlgorithm
- provider
-
PGPException
-
generateOnePassVersion
public PGPOnePassSignature generateOnePassVersion(boolean isNested)
throws PGPException
Return the one pass header associated with the current signature.
isNested
-
- PGPOnePassSignature
PGPException
-
update
public void update(byte b)
throws SignatureException
update
public void update(byte[] b)
throws SignatureException
update
public void update(byte[] b,
int off,
int len)
throws SignatureException