public OCSPNoCheckExtension(Boolean critical,Object value) throws IOException {
  this.extensionId=PKIXExtensions.OCSPNoCheck_Id;
  this.critical=critical.booleanValue();
  this.extensionValue=new byte[0];
}

public OCSPNoCheckExtension ( Boolean critical , Object value ) throws IOException { this . extensionId = PKIXExtensions . OCSPNoCheck_Id ; this . critical = critical . booleanValue ( ) ; this . extensionValue = new byte [ 0 ] ; }
create the extension from the passed der encoded value .
