Class SMIMESignedWriter


  • public class SMIMESignedWriter
    extends MimeWriter
    Writer for SMIME Signed objects.
    • Field Detail

      • RFC3851_MICALGS

        public static final Map RFC3851_MICALGS
      • RFC5751_MICALGS

        public static final Map RFC5751_MICALGS
      • STANDARD_MICALGS

        public static final Map STANDARD_MICALGS
    • Method Detail

      • getContentStream

        public OutputStream getContentStream()
                                      throws IOException
        Return a content stream for the signer - note data written to this stream needs to properly canonicalised if necessary.
        Specified by:
        getContentStream in class MimeWriter
        Returns:
        an output stream for data to be signed to be written to.
        Throws:
        IOException - on a stream error.