152153154155156157158159160
* create an AuthorityKeyIdentifier with a precomupted key identifier */ public AuthorityKeyIdentifier( byte[] keyIdentifier) { this.keyidentifier = new DEROctetString(keyIdentifier); this.certissuer = null; this.certserno = null; }
166167168169170171172173174
public AuthorityKeyIdentifier( byte[] keyIdentifier, GeneralNames name, BigInteger serialNumber) { this.keyidentifier = new DEROctetString(keyIdentifier); this.certissuer = GeneralNames.getInstance(name.toASN1Object()); this.certserno = new DERInteger(serialNumber); }
58596061626364
* </li> * </ol> */ public DERObject getDERObject() { return new DEROctetString(f.toBigInteger().toByteArray()); }
41424344454647
* <p> * Octet string produced using ECPoint.getEncoded(). */ public DERObject getDERObject() { return new DEROctetString(p.getEncoded()); }
196197198199200201202203
{ extensions = new Hashtable(); extOrdering = new Vector(); } extensions.put(OID, new X509Extension(critical, new DEROctetString(value))); extOrdering.addElement(OID); }
79808182838485868788
public DERObject getDERObject() { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(digInfo); v.add(new DEROctetString(salt)); v.add(new DERInteger(iterationCount)); return new DERSequence(v); }
151152153154155156157158159160161
} else if (tag == iPAddress) { if (IPAddress.isValid(name)) { this.obj = new DEROctetString(Strings.toUTF8ByteArray(name)); } else { throw new IllegalArgumentException("IP Address is invalid"); }
1920212223242526
public PKCS12PBEParams( byte[] salt, int iterations) { this.iv = new DEROctetString(salt); this.iterations = new DERInteger(iterations); }
29303132333435
public EncryptedPrivateKeyInfo( AlgorithmIdentifier algId, byte[] encoding) { this.algId = algId; this.data = new DEROctetString(encoding); }
30313233343536
public RC2CBCParameter( byte[] iv) { this.version = null; this.iv = new DEROctetString(iv); }