public interface SecurityProvider
| Modifier and Type | Method and Description |
|---|---|
CipherSpi |
getCipherSpi(String transformation)
Returns a
CipherSpi for the given transformation or null if no implementation is available. |
KeyFactorySpi |
getKeyFactorySpi(String algorithm)
Returns a
KeyFactorySpi for the given algorithm or null if no implementation is available. |
KeyPairGeneratorSpi |
getKeyPairGeneratorSpi(String algorithm)
KeyPairGeneratorSpi service provider. |
MacSpi |
getMacSpi(String algorithm)
Returns a
MacSpi for the given algorithm or null if no implementation is available. |
MessageDigestSpi |
getMessageDigestSpi(String algorithm)
Returns a
MessageDigestSpi for the given algorithm or null if no implementation is available. |
SecretKeyFactorySpi |
getSecretKeyFactorySpi(String algorithm) |
SecureRandomSpi |
getSecureRandomSpi()
Returns a
SecureRandomSpi or null if no implementation is available. |
SignatureSpi |
getSignatureSpi(String algorithm)
Returns a
SignatureSpi for the given algorithm or null if no implementation is available. |
CipherSpi getCipherSpi(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException
CipherSpi for the given transformation or null if no implementation is available.KeyFactorySpi getKeyFactorySpi(String algorithm)
KeyFactorySpi for the given algorithm or null if no implementation is available.KeyPairGeneratorSpi getKeyPairGeneratorSpi(String algorithm) throws NoSuchAlgorithmException
KeyPairGeneratorSpi service provider.algorithm - the standard string name of the algorithm.KeyPairGeneratorSpi or null if no implementation is available for this service.NoSuchAlgorithmExceptionMacSpi getMacSpi(String algorithm)
MacSpi for the given algorithm or null if no implementation is available.MessageDigestSpi getMessageDigestSpi(String algorithm)
MessageDigestSpi for the given algorithm or null if no implementation is available.SecretKeyFactorySpi getSecretKeyFactorySpi(String algorithm) throws NoSuchAlgorithmException
SecretKeyFactorySpi for the given algorithm.NoSuchAlgorithmException - if no implementation is available.SecureRandomSpi getSecureRandomSpi()
SecureRandomSpi or null if no implementation is available.SignatureSpi getSignatureSpi(String algorithm)
SignatureSpi for the given algorithm or null if no implementation is available.