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 StringSHA1_WITH_DSAstatic StringSHA1_WITH_ECDSAstatic StringSHA1_WITH_RSA
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringalgorithmOid(String signatureAlgorithm)Get the object identifier for the given signature algorithm.static StringkeyType(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
nullif the given algorithm name is invalid
-
-