@Test
public void verifySignature() throws Exception
{

    String message = getSignedMessage();
    PGPPublicKeyRing pubKeyRing = PGPKeyUtil.readPublicKeyRing( getPublicKey() );
    assertTrue( PGPEncryptionUtil.verifyClearSign( message.getBytes(), pubKeyRing ) );
}