jce
Tag encryptwithcert


JSP tag used for encryption/decryption of strings with public/private keys (X.509 certificates)


Tag Information
Tag Classnet.sourceforge.jcetaglib.taglib.crypto.EncryptWithCert
TagExtraInfo ClassNone
Body ContentJSP
Display NameEncryptWithCert

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'
storefiletruetruejava.lang.StringThe PKCS#12 (P12) keystore where the private key is stored
storeentrytruetruejava.lang.StringThe PKCS#12 (P12) keystore entry name for private key
storepasswordtruetruejava.lang.StringBufferThe PKCS#12 (P12) keystore password
pemfilefalsetruejava.lang.StringThe receiver's certificate/public key (if action=encrypt) stored in a PEM file OR The receiver's private key (if action=decrypt) stored in a PEM file
pemstringfalsetruejava.lang.StringThe receiver's certificate/public key (if action=encrypt) as a PEM formatted string OR The receiver's private key (if action=decrypt) as a PEM formatted string
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.