public X509Ext(ASN1ObjectIdentifier oid,byte[] value,boolean critical){
  this.oid=oid;
  this.value=new byte[value.length];
  System.arraycopy(value,0,this.value,0,this.value.length);
  this.critical=critical;
  name=lookupFriendlyName();
}

public X509Ext ( ASN1ObjectIdentifier oid , byte [ ] value , boolean critical ) { this . oid = oid ; this . value = new byte [ value . length ] ; System . arraycopy ( value , 0 , this . value , 0 , this . value . length ) ; this . critical = critical ; name = lookupFriendlyName ( ) ; }
construct a new immutable x509ext .
