org.apache.ws.security.util
Class SecurityUtil

java.lang.Object
  extended by org.apache.ws.security.util.SecurityUtil

public final class SecurityUtil
extends Object


Constructor Summary
SecurityUtil()
           
 
Method Summary
static String getDigest(byte[] input, String algo)
           
static String getSHA1(byte[] input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUtil

public SecurityUtil()
Method Detail

getSHA1

public static String getSHA1(byte[] input)
                      throws NoSuchAlgorithmException
Parameters:
input -
Returns:
Throws:
NoSuchAlgorithmException

getDigest

public static String getDigest(byte[] input,
                               String algo)
                        throws NoSuchAlgorithmException
Parameters:
input -
algo -
Returns:
Throws:
NoSuchAlgorithmException


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.