Package org.wildfly.security.sasl.entity
Class Entity
- java.lang.Object
-
- org.wildfly.security.sasl.entity.Entity
-
public final class Entity extends Object
Constants for the ISO/IEC 9798-3 authentication SASL mechanism.- Author:
- Farah Juma
-
-
Field Summary
Fields Modifier and Type Field Description static String
SHA1_WITH_DSA
static String
SHA1_WITH_ECDSA
static String
SHA1_WITH_RSA
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
algorithmOid(String signatureAlgorithm)
Get the object identifier for the given signature algorithm.static String
keyType(String signatureAlgorithm)
Get the key type for the given signature algorithm.
-
-
-
Field Detail
-
SHA1_WITH_RSA
public static final String SHA1_WITH_RSA
- See Also:
- Constant Field Values
-
SHA1_WITH_DSA
public static final String SHA1_WITH_DSA
- See Also:
- Constant Field Values
-
SHA1_WITH_ECDSA
public static final String SHA1_WITH_ECDSA
- See Also:
- Constant Field Values
-
-
Method Detail
-
algorithmOid
public static String algorithmOid(String signatureAlgorithm)
Get the object identifier for the given signature algorithm.- Parameters:
signatureAlgorithm
- the signature algorithm name- Returns:
- the object identifier that corresponds to the given algorithm or
null
if the given algorithm name is invalid
-
-