public final class KeyUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getKeyLength(String algorithm)
Returns the length of the key in # of bytes
|
static SecretKey |
prepareSecretKey(String symEncAlgo,
byte[] rawKey)
Convert the raw key bytes into a SecretKey object of type symEncAlgo.
|
public static int getKeyLength(String algorithm) throws WSSecurityException
algorithm - WSSecurityExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.