org.apache.wss4j.common.derivedKey
Class DerivedKeyUtils

java.lang.Object
  extended by org.apache.wss4j.common.derivedKey.DerivedKeyUtils

public class DerivedKeyUtils
extends Object


Constructor Summary
DerivedKeyUtils()
           
 
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
 

Constructor Detail

DerivedKeyUtils

public DerivedKeyUtils()
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


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.