Java Reference
In-Depth Information
table 8.2
overview of the Security Class
Method
Description
addProvider
(Provider provider)
This method adds a provider to the next position
available.
getAlgorithmProperty
(String algName,
String propName)
This method used to return the value of a property
( Now Deprecated. A new provider-based and
algorithm-independent AlgorithmParameters and
KeyFactory engine classes are recommended instead. )
getAlgorithms
(String serviceName)
This method returns a set of strings containing the
names of all available algorithms or types for the
speciied Java cryptographic service (e.g.,
Signature, MessageDigest, Cipher, Mac, KeyStore).
getProperty (String key)
This method returns a property value for a given
key.
getProvider(String name)
This method returns the provider installed with the
speciied name, if any.
getProviders()
This method returns an array containing all the
installed providers.
getProviders (String filter)
This method returns an array containing all
installed providers that satisfy the speciied
selection criteria or a null object if no such
providers have been installed.
insertProviderAt
(Provider provider,
int position)
This method attempts to add a new provider, at a
speciied position.
removeProvider (String name)
This method attempts to remove the provider
with the speciied name.
setProperty (String key,
String datum)
This method attempts to set a security property
value.
Cryptographic operations (for example, encryption, digital signatures, message digests)
Generators or converters of cryptographic material (for example, keys and algorithm
parameters)
Objects (keystores or certiicates) that encapsulate the cryptographic data and can be used
at higher layers of abstraction
he engine classes are as follows:
SecureRandom
MessageDigest
Signature
Cipher
Search WWH ::




Custom Search