Code example for Vector

Methods: addElement

        byte[]              value)
        if (extensions == null)
            extensions = new Hashtable();
            extOrdering = new Vector();
        extensions.put(OID, new X509Extension(critical, new DEROctetString(value)));
     * generate an X509 certificate, based on the current issuer and subject 
     * using the default provider "BC". 
    public X509Certificate generateX509Certificate(
        PrivateKey      key)
        throws SecurityException, SignatureException, InvalidKeyException 
Contextual code suggestions in your IDE  Get Codota for Java