Package org.bouncycastle.mime.smime
Class SMIMESignedWriter
- java.lang.Object
-
- org.bouncycastle.mime.MimeWriter
-
- org.bouncycastle.mime.smime.SMIMESignedWriter
-
public class SMIMESignedWriter extends MimeWriter
Writer for SMIME Signed objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SMIMESignedWriter.Builder
-
Field Summary
Fields Modifier and Type Field Description static Map
RFC3851_MICALGS
static Map
RFC5751_MICALGS
static Map
STANDARD_MICALGS
-
Fields inherited from class org.bouncycastle.mime.MimeWriter
headers
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getContentStream()
Return a content stream for the signer - note data written to this stream needs to properly canonicalised if necessary.-
Methods inherited from class org.bouncycastle.mime.MimeWriter
getHeaders, mapToLines
-
-
-
-
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 classMimeWriter
- Returns:
- an output stream for data to be signed to be written to.
- Throws:
IOException
- on a stream error.
-
-