code: public final byte[] getEncoded(String format) throws IOException
      {
          if (this.initialized == false) {
              throw new IOException("not initialized");
          }
          return paramSpi.engineGetEncoded(format);
      }
docs: Returns the parameters encoded in the specified scheme.
  If {@code format} is null, the
  primary encoding format for parameters is used. The primary encoding
  format is ASN.1, if an ASN.1 specification for these parameters
  exists.
  
  @param format the name of the encoding format.
  
  @return the parameters encoded using the specified encoding scheme.
  
  @exception IOException on encoding errors, or if this parameter object
  has not been initialized.