Class DerivedKeyUtils
- java.lang.Object
-
- org.apache.wss4j.common.derivedKey.DerivedKeyUtils
-
public final class DerivedKeyUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
deriveKey(String algorithm, String label, int length, byte[] secret, byte[] nonce, int offset)
Derive a key from this DerivedKeyToken instance
-
-
-
Method Detail
-
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
-
-