Code example for Signature

Methods: update, verify

0
     */ 
    public boolean verify( 
        PGPSignature    pgpSig)
        throws PGPException, SignatureException 
    { 
        sig.update(pgpSig.getSignatureTrailer());
         
        return sig.verify(pgpSig.getSignature());
    } 
     
    public long getKeyID() 
    { 
        return sigPack.getKeyID();
    } 
     
    public int getSignatureType() 
    { 
        return sigPack.getSignatureType();
    } 
 
    public int getHashAlgorithm()