public class HKDF extends Object
Triển khai Java của hàm phái sinh khoá HKDF, như được xác định trong RFC-5869.
Tóm tắt phương thức công khai
| void |
addKeyMaterial(byte[] keyMaterial)
|
| void | |
| void |
beginExtractKey(byte[] salt)
|
| byte[] |
expandKey(int requestedKeyLen, byte[] info)
|
| void | |
| HKDF tĩnh |
getInstance(String algorithm)
|
| byte[] | |
| void |
reset()
|
Tóm tắt phương thức kế thừa
Phương thức công khai
public void addKeyMaterial (byte[] keyMaterial)
Thông số
| keyMaterial |
|---|
public void beginExtractKey ()
public void beginExtractKey (byte[] salt)
Thông số
| muối |
|---|
public byte[] expandKey (int requestedKeyLen, byte[] info)
Thông số
| requestedKeyLen | |
|---|---|
| info |
public void finishExtractKey ()
public static HKDF getInstance (String algorithm)
Thông số
| thuật toán |
|---|
Gửi
| NoSuchAlgorithmException |
|---|