jce
Tag encryptwithhmac


JSP tag used for encrypting data with a HMAC code


Tag Information
Tag Classnet.sourceforge.jcetaglib.taglib.crypto.EncryptWithHMAC
TagExtraInfo ClassNone
Body ContentJSP
Display NameEncryptWithHMAC

Attributes
NameRequiredRequest-timeTypeDescription
valuefalsetruejava.lang.StringBufferOptional attribute, the string to encrypt or decrypt. The body of the tag will be taken if omitted
varfalsefalsejava.lang.StringOptional attribute, variable to store the encrypted string. The string will be printed if omitted
scopefalsefalsejava.lang.StringScope of the 'var' attribute. Can be 'page', 'session', 'request' or 'application'. Default is 'page'
algorithmfalsetruejava.lang.StringThe key algorithm. Default is 'AES'
seedfalsetruejava.lang.StringOptional seed for SecureRandom
strengthfalsetruejava.lang.StringThe key size in bits (integer value). Values depends on the used algorithm (see next paragraph). Default is 256 (for AES)
modefalsetruejava.lang.StringEncryption mode. Default is 'CBC'
paddingfalsetruejava.lang.StringPadding scheme. Default is 'PKCS7Padding'
recpemfilefalsetruejava.lang.StringThe receiver's certificate stored in a PEM file
recpemstringfalsetruejava.lang.StringThe receiver's certificate as a PEM formatted string
filefalsetruejava.lang.StringEncrypts a file instead of a string
newfilefalsetruejava.lang.StringFile(name) to store the encrypted data

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.