3738394041424344
public RC2CBCParameter( int parameterVersion, byte[] iv) { this.version = new DERInteger(parameterVersion); this.iv = new DEROctetString(iv); }
424344454647484950
public DSAParameter( BigInteger p, BigInteger q, BigInteger g) { this.p = new DERInteger(p); this.q = new DERInteger(q); this.g = new DERInteger(g); }
85868788899091929394
*/ public DERObject toASN1Object() { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(new DERInteger(getModulus())); v.add(new DERInteger(getPublicExponent())); return new DERSequence(v); }
130131132133134135136
digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); this.keyidentifier = new DEROctetString(resBuf); this.certissuer = GeneralNames.getInstance(name.toASN1Object()); this.certserno = new DERInteger(serialNumber); }
143144145146147148149
GeneralNames name, BigInteger serialNumber) { this.keyidentifier = null; this.certissuer = GeneralNames.getInstance(name.toASN1Object()); this.certserno = new DERInteger(serialNumber); }
168169170171172173174
GeneralNames name, BigInteger serialNumber) { this.keyidentifier = new DEROctetString(keyIdentifier); this.certissuer = GeneralNames.getInstance(name.toASN1Object()); this.certserno = new DERInteger(serialNumber); }
8889909192939495969798
int pathLenConstraint) { if (cA) { this.cA = new DERBoolean(cA); this.pathLenConstraint = new DERInteger(pathLenConstraint); } else { this.cA = null; this.pathLenConstraint = null;
120121122123124125126
*/ public BasicConstraints( int pathLenConstraint) { this.cA = new DERBoolean(true); this.pathLenConstraint = new DERInteger(pathLenConstraint); }
5657585960616263646566
public DERObject toASN1Object() { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(new DERInteger(3)); v.add(contentInfo); if (macData != null) { v.add(macData);
167168169170171172173174175176177
{ version = DERInteger.getInstance(seq.getObjectAt(seqPos++)); } else { version = new DERInteger(0); } signature = AlgorithmIdentifier.getInstance(seq.getObjectAt(seqPos++)); issuer = X509Name.getInstance(seq.getObjectAt(seqPos++)); thisUpdate = Time.getInstance(seq.getObjectAt(seqPos++));