A C D E F G H
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- at.favre.lib.hkdf - package at.favre.lib.hkdf
C
- createInstance(SecretKey) - Method in interface at.favre.lib.hkdf.HkdfMacFactory
-
Creates a new instance of Hmac with given key, i.e.
- createInstance(SecretKey) - Method in class at.favre.lib.hkdf.HkdfMacFactory.Default
- createSecretKey(byte[]) - Method in interface at.favre.lib.hkdf.HkdfMacFactory
-
Creates a secret key from a byte raw key material to be used with
HkdfMacFactory.createInstance(SecretKey) - createSecretKey(byte[]) - Method in class at.favre.lib.hkdf.HkdfMacFactory.Default
D
- Default(String) - Constructor for class at.favre.lib.hkdf.HkdfMacFactory.Default
-
Creates a mac factory
- Default(String, Provider) - Constructor for class at.favre.lib.hkdf.HkdfMacFactory.Default
-
Creates a mac factory
E
- expand(byte[], byte[], int) - Method in class at.favre.lib.hkdf.HKDF
-
Step 2 of RFC 5869 (Section 2.3)
- expand(SecretKey, byte[], int) - Method in class at.favre.lib.hkdf.HKDF
-
Use this if you require
SecretKeytypes by your security framework. - extract(byte[], byte[]) - Method in class at.favre.lib.hkdf.HKDF
-
Step 1 of RFC 5869 (Section 2.2)
- extract(SecretKey, byte[]) - Method in class at.favre.lib.hkdf.HKDF
-
Use this if you require
SecretKeytypes by your security framework. - extractAndExpand(byte[], byte[], byte[], int) - Method in class at.favre.lib.hkdf.HKDF
-
Convenience method for extract & expand in a single method
- extractAndExpand(SecretKey, byte[], byte[], int) - Method in class at.favre.lib.hkdf.HKDF
-
Convenience method for extract & expand in a single method
F
- from(HkdfMacFactory) - Static method in class at.favre.lib.hkdf.HKDF
-
Create a new HKDF instance for given macFactory.
- fromHmacSha256() - Static method in class at.favre.lib.hkdf.HKDF
-
Return a shared instance using HMAC with Sha256.
- fromHmacSha512() - Static method in class at.favre.lib.hkdf.HKDF
-
Return a shared instance using HMAC with Sha512.
G
- getMacLengthBytes() - Method in class at.favre.lib.hkdf.HkdfMacFactory.Default
- getMacLengthBytes() - Method in interface at.favre.lib.hkdf.HkdfMacFactory
-
Get the length of the mac output in bytes
H
- HKDF - Class in at.favre.lib.hkdf
-
A standards-compliant implementation of RFC 5869 for HMAC-based Key Derivation Function.
- HkdfMacFactory - Interface in at.favre.lib.hkdf
-
Factory class for creating
Machashers - HkdfMacFactory.Default - Class in at.favre.lib.hkdf
-
Default implementation
- hmacSha1() - Static method in class at.favre.lib.hkdf.HkdfMacFactory.Default
-
Deprecated.sha1 with HMAC should be fine, but not recommended for new protocols; see https://crypto.stackexchange.com/questions/26510/why-is-hmac-sha1-still-considered-secure
- hmacSha256() - Static method in class at.favre.lib.hkdf.HkdfMacFactory.Default
-
Creates a factory creating HMAC with SHA-256
- hmacSha512() - Static method in class at.favre.lib.hkdf.HkdfMacFactory.Default
-
Creates a factory creating HMAC with SHA-512
All Classes All Packages