Code example for DSAParams

Methods: getG, getP, getQ

0
            /* 
             * We can shortcut the true case, but it still may be equivalent but 
             * different copies. 
             */ 
            if (key == other.getOpenSSLKey()) {
                return true; 
            } 
        } 
 
        if (!(o instanceof DSAParams)) {
            return false; 
        } 
 
        ensureReadParams(); 
 
        DSAParams other = (DSAParams) o;
        return g.equals(other.getG()) && p.equals(other.getP()) && q.equals(other.getQ());
    } 
 
    @Override 
    public int hashCode() {