org.apache.wss4j.common.derivedKey
Class DerivedKeyUtils
java.lang.Object
org.apache.wss4j.common.derivedKey.DerivedKeyUtils
public class DerivedKeyUtils
- extends Object
|
Method Summary |
static byte[] |
deriveKey(String algorithm,
String label,
int length,
byte[] secret,
byte[] nonce,
int offset)
Derive a key from this DerivedKeyToken instance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerivedKeyUtils
public DerivedKeyUtils()
deriveKey
public static byte[] deriveKey(String algorithm,
String label,
int length,
byte[] secret,
byte[] nonce,
int offset)
throws WSSecurityException
- Derive a key from this DerivedKeyToken instance
- Parameters:
length - secret -
- Throws:
org.apache.wss4j.stax.wss.ext.WSSecurityException
WSSecurityException
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.