|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.smime.BinaryCanonicalizer
public class BinaryCanonicalizer
A canonicalizer that turns off canonicalization at all. It may be useful in environments where no canonicalization is needed, for instance when transfering multipart/signed S/MIME messages over HTTP (as, e.g., done by AS2).
To enable this Canonicalizer set it as default canonicalizer to be used:
SMimeParameters.setCanonicalizer(new BinaryCanonicalizer());or (if you do not want to use it by default) set it for your SignedContent object only.
SignedContent
Constructor Summary | |
---|---|
BinaryCanonicalizer()
Empty default constructor. |
Method Summary | |
---|---|
java.io.InputStream |
canonicalizeInputStream(iaik.utils.LineInputStream is,
java.lang.String boundary)
Wraps an canonicalizing input stream around the given input stream |
java.io.OutputStream |
canonicalizeOutputStream(java.io.OutputStream os,
java.lang.String contentType,
java.lang.String contentTransferEncoding)
Wraps an canonicalizing output stream around the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryCanonicalizer()
Method Detail |
---|
public java.io.OutputStream canonicalizeOutputStream(java.io.OutputStream os, java.lang.String contentType, java.lang.String contentTransferEncoding)
canonicalizeOutputStream
in interface Canonicalizer
os
- the output stream where the MIME body part shall be written.contentType
- the MIME content type of the body part to be writtencontentTransferEncoding
- the content transfer encoding of the body part
to be written.
public java.io.InputStream canonicalizeInputStream(iaik.utils.LineInputStream is, java.lang.String boundary)
canonicalizeInputStream
in interface Canonicalizer
is
- the input stream representing the MIME entity to be canonicalizedboundary
- the boundary line indicating the end of the MIME entity
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
![]() |