Package org.bouncycastle.tls
Class MACAlgorithm
- java.lang.Object
-
- org.bouncycastle.tls.MACAlgorithm
-
public class MACAlgorithm extends java.lang.Object
RFC 2246Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the particular values (e.g. serialization).
-
-
Field Summary
Fields Modifier and Type Field Description static int
_null
static int
hmac_md5
static int
hmac_sha1
static int
hmac_sha256
static int
hmac_sha384
static int
hmac_sha512
static int
md5
static int
sha
-
Constructor Summary
Constructors Constructor Description MACAlgorithm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getName(int macAlgorithm)
static java.lang.String
getText(int macAlgorithm)
static boolean
isHMAC(int macAlgorithm)
-
-
-
Field Detail
-
_null
public static final int _null
- See Also:
- Constant Field Values
-
md5
public static final int md5
- See Also:
- Constant Field Values
-
sha
public static final int sha
- See Also:
- Constant Field Values
-
hmac_md5
public static final int hmac_md5
- See Also:
- Constant Field Values
-
hmac_sha1
public static final int hmac_sha1
- See Also:
- Constant Field Values
-
hmac_sha256
public static final int hmac_sha256
- See Also:
- Constant Field Values
-
hmac_sha384
public static final int hmac_sha384
- See Also:
- Constant Field Values
-
hmac_sha512
public static final int hmac_sha512
- See Also:
- Constant Field Values
-
-