Package com.webauthn4j.util
Class HKDFUtil
java.lang.Object
com.webauthn4j.util.HKDFUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic @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
-
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 materialsalt
- saltinfo
- context and application specific informationoutputLength
- length of output keying material in bytes- Returns:
- output keying material
-