|
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 | ||||||||
public interface CryptoContent
Interface implemented by all IAIK CryptoContent implementations.
This interface requires to implement three methods, setHeaders to set additional headers/parameters for the part containing the
CryptoContent, getContentType for getting the
type of the crypto content and getSMimeType to get
the smime-type parameter of the ContentType.
Within the S/MIME library of IAIK-CMS this interface is implemented by the
classes SignedContent,
EncryptedContent, AuthEncryptedContent,
CompressedContent, PKCS10Content and
ReceiptContent for setting the following headers, respectively:
Content-Disposition: attachment";
filename="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p7c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p7m"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p7m"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p7z"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p10"
Content-Transfer-Encoding: base64
Content-Disposition: attachment";
filename="smime.p7m"
Content-Transfer-Encoding: base64
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns the ContentType and any attached parameters of this CryptoContent. |
java.lang.String |
getSMimeType()
Returns the smime-type parameter of the ContentType of this CryptoContent. |
void |
setHeaders(javax.mail.Part part)
Sets additional headers/parameters for the part containing this CryptoContent. |
| Method Detail |
|---|
void setHeaders(javax.mail.Part part)
part - the part to which to add the headers/parametersjava.lang.String getContentType()
java.lang.String getSMimeType()
|
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 |
|