Jakarta Mailer Taglib 2.0
Tag sign


JSP tag <b>mt:sign</b> is used to S/MIME sign a previously stored message. <p/> mt:sign does not have any child tags.

Example:
<mt:mail var="message" subject="Signed Mail" from="john.doe@example.com"
    to="jane.doe@example.com" server="smtp.example.com">
    Hi Jane, this mail has been signed.
</mt:mail>
</mt:sign message="${message}" var="signedMessage" keystore="keystore.p12"
    alias="johndoe" storepass="secret"/>
</mt:send message="${signedMessage}"/>
        


Tag Information
Tag Classorg.apache.taglibs.mailer2.SignTag
TagExtraInfo ClassNone
Body Contentempty
Display Namemt:sign

Attributes
NameRequiredRequest-timeTypeDescription
messageyesyesjavax.mail.internet.MimeMessageThe message to sign
keystoreyesyesjava.lang.StringThe name of the keystore file (e.g. keystore.p12 or keystore.pfx)
storepassnoyesjava.lang.StringThe password to open the keystore
storetypenoyesjava.lang.StringThe type of keystore file, e.g. "PKCS12" (default, for .p12 or .pfx keystores), or "JKS", etc.
aliasyesyesjava.lang.StringThe alias of the private key in the keystore to sign the message with
varyesnojava.lang.StringThe name of the variable to store the signed message in
scopenoyesjava.lang.StringThe scope to store the signed message in, either "page" (default), "request", "session", or "application"

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.