Enum Constant and Description |
---|
MD5
Deprecated.
|
RIPEMD
Deprecated.
|
SHA1
Deprecated.
|
SHA224 |
SHA256 |
SHA384 |
SHA512 |
Modifier and Type | Method and Description |
---|---|
static DigestAlg |
fromAlgorithmIdentifier(tr.gov.tubitak.uekae.esya.api.asn.x509.EAlgorithmIdentifier aAlgorithmIdentifier)
Find digest algorithm from AlgorithmIdentifier by comparing it with known ones and return
|
static DigestAlg |
fromName(java.lang.String algName)
Find digest algorithm from name by comparing it with known ones and return
|
static DigestAlg |
fromOID(int[] aOID)
Find digest algorithm from OID by comparing it with known ones and return
|
int |
getDigestLength()
Returns the length of the digest in bytes
|
java.lang.String |
getName()
Returns name of digest algorithm
|
int[] |
getOID()
Returns OID of digest algorithm
|
tr.gov.tubitak.uekae.esya.api.asn.x509.EAlgorithmIdentifier |
toAlgorithmIdentifier()
Create an EAlgorithmIdentifier from digest algorithm and return
|
static DigestAlg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigestAlg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final DigestAlg SHA1
public static final DigestAlg SHA224
public static final DigestAlg SHA256
public static final DigestAlg SHA384
public static final DigestAlg SHA512
@Deprecated public static final DigestAlg MD5
@Deprecated public static final DigestAlg RIPEMD
public static DigestAlg[] values()
for (DigestAlg c : DigestAlg.values()) System.out.println(c);
public static DigestAlg valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int[] getOID()
public java.lang.String getName()
public int getDigestLength()
public static DigestAlg fromAlgorithmIdentifier(tr.gov.tubitak.uekae.esya.api.asn.x509.EAlgorithmIdentifier aAlgorithmIdentifier)
public static DigestAlg fromOID(int[] aOID)
public static DigestAlg fromName(java.lang.String algName)
public tr.gov.tubitak.uekae.esya.api.asn.x509.EAlgorithmIdentifier toAlgorithmIdentifier()
Copyright © 2025. All rights reserved.