Code example for CertPath

Methods: hashCode

0
 
    /** 
     * Tests CodeSigner.hashCode() 
     */ 
    public void testHashCode() { 
        assertTrue(new CodeSigner(cpath, ts).hashCode() == (cpath.hashCode() ^ ts
                .hashCode()));
        assertTrue(new CodeSigner(cpath, null).hashCode() == cpath.hashCode());
    } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java