All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.mime.MimeParser Maven / Gradle / Ivy

Go to download

The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, S/MIME and certificate generation. The APIs are designed primarily to be used in conjunction with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified and used appropriately.

The newest version!
package org.bouncycastle.mime;

import java.io.IOException;

/**
 * Base interface for a MIME parser.
 */
public interface MimeParser
{
    /**
     * Trigger the start of parsing.
     *
     * @param listener callback to be signalled as each MIME object is identified.
     * @throws IOException on a parsing/IO exception.
     */
    void parse(MimeParserListener listener)
        throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy