/** * Implementation of the {@code engineInit} method. * * @param params the encoded parameter specification * @param format the format (must be {@code ASN.1}) * @throws IOException if decoding failed or the format is not equal to {@code ASN.1} */ protected final void engineInit(final byte[] params, final String format) throws IOException { if ("ASN.1".equalsIgnoreCase(format)) { engineInit(params); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineInit} method. * * @param params the encoded parameter specification * @param format the format (must be {@code ASN.1}) * @throws IOException if decoding failed or the format is not equal to {@code ASN.1} */ protected final void engineInit(final byte[] params, final String format) throws IOException { if ("ASN.1".equalsIgnoreCase(format)) { engineInit(params); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineInit} method. * * @param params the encoded parameter specification * @param format the format (must be {@code ASN.1}) * @throws IOException if decoding failed or the format is not equal to {@code ASN.1} */ protected final void engineInit(final byte[] params, final String format) throws IOException { if ("ASN.1".equalsIgnoreCase(format)) { engineInit(params); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineInit} method. * * @param params the encoded parameter specification * @param format the format (must be {@code ASN.1}) * @throws IOException if decoding failed or the format is not equal to {@code ASN.1} */ protected final void engineInit(final byte[] params, final String format) throws IOException { if ("ASN.1".equalsIgnoreCase(format)) { engineInit(params); } else { throw log.invalidFormat("ASN.1", format); } }