Package org.bouncycastle.crypto
Interface NativeServices
-
public interface NativeServices
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAES_CBCstatic java.lang.StringAES_CFBstatic java.lang.StringAES_CTRstatic java.lang.StringAES_ECBstatic java.lang.StringAES_GCMstatic java.lang.StringDRBGstatic java.lang.StringNONEstatic java.lang.StringNRBGstatic java.lang.StringSHA2
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBuildDate()java.util.Set<java.lang.String>getFeatureSet()java.lang.StringgetLibraryIdent()java.lang.StringgetStatusMessage()java.lang.StringgetVariant()java.lang.String[][]getVariantSelectionMatrix()booleanhasService(java.lang.String feature)booleanisEnabled()Returns true if some native support is ready and enabled.booleanisInstalled()Returns true if some native support has been installed.booleanisSupported()Returns true if there are native libraries available for this platform and architecture.
-
-
-
Field Detail
-
NRBG
static final java.lang.String NRBG
- See Also:
- Constant Field Values
-
DRBG
static final java.lang.String DRBG
- See Also:
- Constant Field Values
-
AES_ECB
static final java.lang.String AES_ECB
- See Also:
- Constant Field Values
-
AES_GCM
static final java.lang.String AES_GCM
- See Also:
- Constant Field Values
-
AES_CBC
static final java.lang.String AES_CBC
- See Also:
- Constant Field Values
-
AES_CFB
static final java.lang.String AES_CFB
- See Also:
- Constant Field Values
-
AES_CTR
static final java.lang.String AES_CTR
- See Also:
- Constant Field Values
-
SHA2
static final java.lang.String SHA2
- See Also:
- Constant Field Values
-
NONE
static final java.lang.String NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatusMessage
java.lang.String getStatusMessage()
-
getFeatureSet
java.util.Set<java.lang.String> getFeatureSet()
-
getVariant
java.lang.String getVariant()
-
getVariantSelectionMatrix
java.lang.String[][] getVariantSelectionMatrix()
-
hasService
boolean hasService(java.lang.String feature)
-
getBuildDate
java.lang.String getBuildDate()
-
getLibraryIdent
java.lang.String getLibraryIdent()
-
isEnabled
boolean isEnabled()
Returns true if some native support is ready and enabled. Consult feature set for details.- Returns:
- true if some hardware support is enabled.
-
isInstalled
boolean isInstalled()
Returns true if some native support has been installed.- Returns:
- true if some hardware support is installed.
-
isSupported
boolean isSupported()
Returns true if there are native libraries available for this platform and architecture.- Returns:
- true if available, false if not.
-
-