this.p = new DERInteger(p); this.q = new DERInteger(q); this.g = new DERInteger(g);
Enumeration e = seq.getObjects(); p = (DERInteger)e.nextElement(); q = (DERInteger)e.nextElement(); g = (DERInteger)e.nextElement();
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(p); v.add(q); v.add(g); return new DERSequence(v);
return g.getPositiveValue();
return getInstance(ASN1Sequence.getInstance(obj, explicit));
if(obj == null || obj instanceof DSAParameter) { return (DSAParameter)obj; } if(obj instanceof ASN1Sequence) { return new DSAParameter((ASN1Sequence)obj); } throw new IllegalArgumentException("Invalid DSAParameter: " + obj.getClass().getName());
return p.getPositiveValue();
return q.getPositiveValue();