/** * Implementation of the {@code engineGetEncoded} method. * * @param format the format string (must not be {@code null}) * @return the encoded representation (not {@code null}) * @throws IOException if the given format is not {@code ASN.1} */ protected final byte[] engineGetEncoded(final String format) throws IOException { checkInit(); if ("ASN.1".equalsIgnoreCase(format)) { return engineGetEncoded(); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineGetEncoded} method. * * @param format the format string (must not be {@code null}) * @return the encoded representation (not {@code null}) * @throws IOException if the given format is not {@code ASN.1} */ protected final byte[] engineGetEncoded(final String format) throws IOException { checkInit(); if ("ASN.1".equalsIgnoreCase(format)) { return engineGetEncoded(); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineGetEncoded} method. * * @param format the format string (must not be {@code null}) * @return the encoded representation (not {@code null}) * @throws IOException if the given format is not {@code ASN.1} */ protected final byte[] engineGetEncoded(final String format) throws IOException { checkInit(); if ("ASN.1".equalsIgnoreCase(format)) { return engineGetEncoded(); } else { throw log.invalidFormat("ASN.1", format); } }
/** * Implementation of the {@code engineGetEncoded} method. * * @param format the format string (must not be {@code null}) * @return the encoded representation (not {@code null}) * @throws IOException if the given format is not {@code ASN.1} */ protected final byte[] engineGetEncoded(final String format) throws IOException { checkInit(); if ("ASN.1".equalsIgnoreCase(format)) { return engineGetEncoded(); } else { throw log.invalidFormat("ASN.1", format); } }