|
Vordel SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vordel.mime.AttachmentHelper
public class AttachmentHelper
Helper class for attachments.
Constructor Summary | |
---|---|
AttachmentHelper()
|
Method Summary | |
---|---|
static void |
addCertificateAttachment(Message m,
com.vordel.security.sig.TemplateMessageDetails msg,
Body certificateAttachment,
java.lang.String certAttachmentId)
Add the signer's certificate to the request as an attachment. |
static Body |
generateCertificateAttachment(java.security.cert.X509Certificate certificate)
Generate an attachment containing the signer's certificate. |
static java.util.ArrayList<java.lang.String> |
getAttachmentTypes(Body soapPart,
CompoundBody compound)
This method takes a CompoundBody and returns a list of attachment content types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentHelper()
Method Detail |
---|
public static java.util.ArrayList<java.lang.String> getAttachmentTypes(Body soapPart, CompoundBody compound) throws java.io.IOException
soapPartId
- The id of the SOAP XML part. This is not considered
to be an attachment.compound
- The compound body.
java.io.IOException
public static void addCertificateAttachment(Message m, com.vordel.security.sig.TemplateMessageDetails msg, Body certificateAttachment, java.lang.String certAttachmentId) throws java.io.IOException, com.vordel.common.VordelException
m
- The messagemsg
- The message details
java.io.IOException
com.vordel.common.VordelException
public static Body generateCertificateAttachment(java.security.cert.X509Certificate certificate) throws java.security.cert.CertificateEncodingException, java.io.IOException
java.security.cert.CertificateEncodingException
java.io.IOException
|
Vordel SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |