Code example for Certificate

Methods: verify

0
               CertificateException, 
               NoSuchAlgorithmException, 
               NoSuchProviderException, 
               SignatureException { 
        Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding);
        c1.verify(null);
    } 
 
    /** 
     * This test just calls <code>verify(PublicKey,String)</code> method<br> 
     * 
     * @throws InvalidKeyException 
     * @throws CertificateException 
     * @throws NoSuchAlgorithmException 
     * @throws NoSuchProviderException 
     * @throws SignatureException 
     */ 
    public final void testVerifyPublicKeyString() 
        throws InvalidKeyException, 
               CertificateException, 
               NoSuchAlgorithmException,