BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.security
Class HMAC

java.lang.Object
  |
  +--weblogic.security.HMAC

public class HMAC
extends java.lang.Object

Implementation of RFC 2104. HMAC: Keyed-Hashing for Message Authentication

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
HMAC()
           
 
Method Summary
static byte[] digest(byte[] data, byte[] secret, byte[] salt)
           
static boolean verify(byte[] signature, byte[] data, byte[] secret, byte[] salt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMAC

public HMAC()
Method Detail

verify

public static boolean verify(byte[] signature,
                             byte[] data,
                             byte[] secret,
                             byte[] salt)

digest

public static byte[] digest(byte[] data,
                            byte[] secret,
                            byte[] salt)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.