this.p = new DERInteger(p); this.g = new DERInteger(g); if (l != 0) { this.l = new DERInteger(l); } else { this.l = null; }
Enumeration e = seq.getObjects(); p = (DERInteger)e.nextElement(); g = (DERInteger)e.nextElement(); if (e.hasMoreElements()) { l = (DERInteger)e.nextElement(); } else { l = null; }
return g.getPositiveValue();
if (l == null) { return null; } return l.getPositiveValue();
return p.getPositiveValue();
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(p); v.add(g); if (this.getL() != null) { v.add(l); } return new DERSequence(v);