Class PGPV3SignatureGenerator


  • public class PGPV3SignatureGenerator
    extends java.lang.Object
    Generator for old style PGP V3 Signatures.
    • Constructor Detail

      • PGPV3SignatureGenerator

        public PGPV3SignatureGenerator​(PGPContentSignerBuilder contentSignerBuilder)
        Create a signature generator built on the passed in contentSignerBuilder.
        Parameters:
        contentSignerBuilder - builder to produce PGPContentSigner objects for generating signatures.
    • Method Detail

      • update

        public void update​(byte b)
      • update

        public void update​(byte[] b)
      • update

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

        public PGPOnePassSignature generateOnePassVersion​(boolean isNested)
                                                   throws PGPException
        Return the one pass header associated with the current signature.
        Parameters:
        isNested -
        Returns:
        PGPOnePassSignature
        Throws:
        PGPException