AlgorithmParameters.getEncoded

Returns the parameters in their primary encoding format. The primary encoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.

@return the parameters encoded using their primary encoding format.

@exception IOException on encoding errors, or if this parameter object has not been initialized.

  1. byte[] getEncoded()
    class AlgorithmParameters
    final
    byte[]
    getEncoded
    ()
  2. byte[] getEncoded(string format)

Meta