net.sourceforge.jcetaglib.taglib.crypto
Class HMAC

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

public class HMAC
extends javax.servlet.jsp.tagext.BodyTagSupport

JSP tag used for creating HMAC (message authentication code) of strings and files

Version:
0.6 (beta) 30-oct-2002
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.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
HMAC()
           
 
Method Summary
 int doEndTag()
           
static int getScope(java.lang.String scope)
           
 java.lang.StringBuffer getValue()
           
 java.lang.String getVar()
           
 void release()
           
 void setAlgorithm(java.lang.String algorithm)
           
 void setFile(java.lang.String file)
           
 void setHmacname(java.lang.String hmacname)
           
 void setKeyfile(java.lang.String keyfile)
           
 void setPassphrase(java.lang.StringBuffer passphrase)
           
 void setScope(java.lang.String scope)
           
 void setValue(java.lang.StringBuffer value)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

HMAC

public HMAC()
Method Detail

getScope

public static int getScope(java.lang.String scope)

doEndTag

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

release

public void release()

setValue

public void setValue(java.lang.StringBuffer value)

getValue

public java.lang.StringBuffer getValue()

setVar

public void setVar(java.lang.String var)

getVar

public java.lang.String getVar()

setScope

public void setScope(java.lang.String scope)

setHmacname

public void setHmacname(java.lang.String hmacname)

setFile

public void setFile(java.lang.String file)

setKeyfile

public void setKeyfile(java.lang.String keyfile)

setPassphrase

public void setPassphrase(java.lang.StringBuffer passphrase)

setAlgorithm

public void setAlgorithm(java.lang.String algorithm)