question: public void addExtension ( ASN1ObjectIdentifier oid , boolean critical , byte [ ] value ) { if ( extensions . containsKey ( oid ) ) { throw new IllegalArgumentException ( "extension " + oid + " already added" ) ; } extOrdering . addElement ( oid ) ; extensions . put ( oid , new X509Extension ( critical , new DEROctetString ( value ) ) ) ; }
target:  Add an extension with the given oid and the passed in byte array to be wrapped in the OCTET STRING associated with the extension.