Class DerivedKeyUtils


  • public final class DerivedKeyUtils
    extends Object
    • 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