anvil.core.crypto
Class AnyMessageHash

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.crypto.AnyMessageHash
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
AnyMD5, AnySHA

public class AnyMessageHash
extends AnyAbstractClass

class AnyMessageHash Holds message hash codes (Message Digest or Message Authentication Code). Compatible with Test Cases for HMAC-MD5 and HMAC-SHA-1 http://www.ietf.org/rfc/rfc2202.txt


Field Summary
static NativeClass _class
           
 
Fields inherited from class anvil.core.Any
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 Any m_final()
           
 Any m_getAlgorithm()
           
 Any m_getLength()
           
 Any m_update(Context context, Any[] parameters)
           
 java.lang.Object toObject()
          Gets the contained value as java.lang.Object.
 AnyMessageHash update(byte[] data, int offset, int length)
           
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, toString, typeOf, unserialize, unserializeObject
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_class

public static final NativeClass _class
Method Detail

update

public AnyMessageHash update(byte[] data,
                             int offset,
                             int length)

classOf

public ClassType classOf()
Description copied from class: Any
Returns the type of this Any.

Specified by:
classOf in class AnyAbstractClass

toObject

public java.lang.Object toObject()
Description copied from class: Any
Gets the contained value as java.lang.Object.

Overrides:
toObject in class Any
Returns:
Value as Object.

m_getAlgorithm

public Any m_getAlgorithm()

m_getLength

public Any m_getLength()

m_update

public Any m_update(Context context,
                    Any[] parameters)

m_final

public Any m_final()