public final class EvpMdRef extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EvpMdRef.MD5 |
static class |
EvpMdRef.SHA1 |
static class |
EvpMdRef.SHA224 |
static class |
EvpMdRef.SHA256 |
static class |
EvpMdRef.SHA384 |
static class |
EvpMdRef.SHA512 |
| Modifier and Type | Field and Description |
|---|---|
static String |
MGF1_ALGORITHM_NAME |
static String |
MGF1_OID |
| Constructor and Description |
|---|
EvpMdRef() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getDigestSizeBytesByJcaDigestAlgorithmStandardName(String algorithm) |
static long |
getEVP_MDByJcaDigestAlgorithmStandardName(String algorithm) |
static String |
getJcaDigestAlgorithmStandardName(String algorithm)
Returns the canonical JCA digest algorithm name for the provided digest
algorithm name or
null if the digest algorithm is not known. |
static String |
getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef) |
public static final String MGF1_ALGORITHM_NAME
public static final String MGF1_OID
public static String getJcaDigestAlgorithmStandardName(String algorithm)
null if the digest algorithm is not known.public static long getEVP_MDByJcaDigestAlgorithmStandardName(String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static int getDigestSizeBytesByJcaDigestAlgorithmStandardName(String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef)