jce
Tag encrypt


JSP tag used for symmetric key encryption/decryption of strings


Tag Information
Tag Classnet.sourceforge.jcetaglib.taglib.crypto.Encrypt
TagExtraInfo ClassNone
Body ContentJSP
Display NameEncrypt

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 or decrypted string. The encrypted/decrypted 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'
modefalsetruejava.lang.StringEncryption mode. Default is 'CBC'
paddingfalsetruejava.lang.StringPadding scheme. Default is 'PKCS7Padding'
keyfiletruetruejava.lang.StringThe symmetric key file(name)
passphrasetruetruejava.lang.StringBufferKeystore passphrase
actionfalsefalsejava.lang.StringThe action to perform. 'encrypt' for encryption, 'decrypt' for decryption. Default is 'encrypt'

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.