Enum Class SecurityProvider
- All Implemented Interfaces:
Serializable
,Comparable<SecurityProvider>
,Constable
The enum
SecurityProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Apache Shiro SecurityProviderThe BouncyCastle SecurityProviderThe Conscrypt SecurityProviderThe Cryptix SecurityProviderThe IBMJCE SecurityProviderThe IBMJCEFIPS SecurityProviderThe IBMJSSE2 SecurityProviderThe Eclipse Kura SecurityProviderThe SUN SecurityProviderThe SunEC SecurityProviderThe SunJCE SecurityProviderThe SunJSSE SecurityProviderThe SunMSCAPI SecurityProviderThe SunPKCS11 SecurityProviderThe SunRsaSign SecurityProviderThe Unknown SecurityProvider -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityProvider
Resolves the security provider by name.static SecurityProvider
Returns the enum constant of this class with the specified name.static SecurityProvider[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BC
The BouncyCastle SecurityProvider -
SUN
The SUN SecurityProvider -
SunJCE
The SunJCE SecurityProvider -
SunRsaSign
The SunRsaSign SecurityProvider -
SunEC
The SunEC SecurityProvider -
SunJSSE
The SunJSSE SecurityProvider -
SunMSCAPI
The SunMSCAPI SecurityProvider -
SunPKCS11
The SunPKCS11 SecurityProvider -
ApacheShiro
The Apache Shiro SecurityProvider -
Cryptix
The Cryptix SecurityProvider -
Kura
The Eclipse Kura SecurityProvider -
Conscrypt
The Conscrypt SecurityProvider -
IBMJCE
The IBMJCE SecurityProvider -
IBMJSSE2
The IBMJSSE2 SecurityProvider -
IBMJCEFIPS
The IBMJCEFIPS SecurityProvider -
UNKNOWN
The Unknown SecurityProvider
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromName
Resolves the security provider by name.- Parameters:
name
- the name of the security provider- Returns:
- the corresponding
SecurityProvider
orUNKNOWN
if not found
-