net.sourceforge.jcetaglib.taglib.crypto
Class GenerateKey

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sourceforge.jcetaglib.taglib.crypto.GenerateKey
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class GenerateKey
extends javax.servlet.jsp.tagext.TagSupport

JSP tag used to generate a secret/shared (=symmetric) key and store it in a file

Version:
$Id: GenerateKey.java,v 1.5 2004/04/15 07:28:35 hamgert Exp $
Author:
Gert Van Ham, hamgert@users.sourceforge.net, http://jcetaglib.sourceforge.net
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GenerateKey()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setAlgorithm(java.lang.String algorithm)
           
 void setKeyfile(java.lang.String keyfile)
           
 void setPassphrase(java.lang.StringBuffer passphrase)
           
 void setSeed(java.lang.String seed)
           
 void setStrength(int strength)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateKey

public GenerateKey()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

release

public void release()

setAlgorithm

public void setAlgorithm(java.lang.String algorithm)

setStrength

public void setStrength(int strength)

setSeed

public void setSeed(java.lang.String seed)

setKeyfile

public void setKeyfile(java.lang.String keyfile)

setPassphrase

public void setPassphrase(java.lang.StringBuffer passphrase)