Class HKDFUtil

java.lang.Object
com.webauthn4j.util.HKDFUtil

public class HKDFUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static @org.checkerframework.checker.nullness.qual.NonNull byte[]
    calculateHKDFSHA256(@org.checkerframework.checker.nullness.qual.NonNull byte[] ikm, @org.checkerframework.checker.nullness.qual.NonNull byte[] salt, @org.checkerframework.checker.nullness.qual.NonNull byte[] info, int outputLength)
    calculate HKDF with SHA256

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • calculateHKDFSHA256

      public static @org.checkerframework.checker.nullness.qual.NonNull byte[] calculateHKDFSHA256(@org.checkerframework.checker.nullness.qual.NonNull byte[] ikm, @org.checkerframework.checker.nullness.qual.NonNull byte[] salt, @org.checkerframework.checker.nullness.qual.NonNull byte[] info, int outputLength)
      calculate HKDF with SHA256
      Parameters:
      ikm - input keying material
      salt - salt
      info - context and application specific information
      outputLength - length of output keying material in bytes
      Returns:
      output keying material