JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.security.Provider

Packages that use Provider
java.security Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
javax.crypto Provides the classes and interfaces for cryptographic operations. 
javax.net.ssl Provides classes for the secure socket package. 
org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. 
 

Uses of Provider in java.security
 

Subclasses of Provider in java.security
 class AuthProvider
          This class defines login and logout methods for a provider.
 

Methods in java.security that return Provider
 Provider KeyPairGenerator.getProvider()
          Returns the provider of this key pair generator object.
 Provider AlgorithmParameterGenerator.getProvider()
          Returns the provider of this algorithm parameter generator object.
 Provider KeyFactory.getProvider()
          Returns the provider of this key factory object.
 Provider KeyStore.getProvider()
          Returns the provider of this keystore.
 Provider Signature.getProvider()
          Returns the provider of this signature object.
 Provider AlgorithmParameters.getProvider()
          Returns the provider of this parameter object.
 Provider MessageDigest.getProvider()
          Returns the provider of this message digest object.
 Provider SecureRandom.getProvider()
          Returns the provider of this SecureRandom object.
 Provider Provider.Service.getProvider()
          Return the Provider of this service.
static Provider Security.getProvider(String name)
          Returns the provider installed with the specified name, if any.
static Provider[] Security.getProviders()
          Returns an array containing all the installed providers.
static Provider[] Security.getProviders(Map<String,String> filter)
          Returns an array containing all installed providers that satisfy the specified* selection criteria, or null if no such providers have been installed.
static Provider[] Security.getProviders(String filter)
          Returns an array containing all installed providers that satisfy the specified selection criterion, or null if no such providers have been installed.
 

Methods in java.security with parameters of type Provider
static int Security.addProvider(Provider provider)
          Adds a provider to the next position available.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, Provider provider)
          Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, Provider provider)
          Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider.
static KeyFactory KeyFactory.getInstance(String algorithm, Provider provider)
          Generates a KeyFactory object for the specified algorithm from the specified provider.
static KeyStore KeyStore.getInstance(String type, Provider provider)
          Generates a keystore object for the specified keystore type from the specified provider.
static Signature Signature.getInstance(String algorithm, Provider provider)
          Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, Provider provider)
          Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider.
static MessageDigest MessageDigest.getInstance(String algorithm, Provider provider)
          Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static SecureRandom SecureRandom.getInstance(String algorithm, Provider provider)
          Generates a SecureRandom object for the specified RNG algorithm, as supplied from the specified provider, if such a RNG implementation is available from the provider.
static int Security.insertProviderAt(Provider provider, int position)
          Adds a new provider, at a specified position.
static KeyStore.Builder KeyStore.Builder.newInstance(String type, Provider provider, File file, KeyStore.ProtectionParameter protection)
          Returns a new Builder object.
static KeyStore.Builder KeyStore.Builder.newInstance(String type, Provider provider, KeyStore.ProtectionParameter protection)
          Returns a new Builder object.
 

Constructors in java.security with parameters of type Provider
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameterGenerator object.
AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm)
          Creates an AlgorithmParameters object.
KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm)
          Creates a KeyFactory object.
KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)
          Creates a KeyStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
Provider.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)
          Construct a new service.
SecureRandom(SecureRandomSpi secureRandomSpi, Provider provider)
          Creates a SecureRandom object.
 

Uses of Provider in java.security.cert
 

Methods in java.security.cert that return Provider
 Provider CertStore.getProvider()
          Returns the provider of this CertStore.
 Provider CertPathValidator.getProvider()
          Returns the Provider of this CertPathValidator.
 Provider CertPathBuilder.getProvider()
          Returns the provider of this CertPathBuilder.
 Provider CertificateFactory.getProvider()
          Returns the provider of this certificate factory.
 

Methods in java.security.cert with parameters of type Provider
static CertStore CertStore.getInstance(String type, CertStoreParameters params, Provider provider)
          Returns a CertStore object that implements the specified CertStore type, as supplied by the specified provider and initialized with the specified parameters.
static CertPathValidator CertPathValidator.getInstance(String algorithm, Provider provider)
          Returns a CertPathValidator object that implements the specified algorithm, as supplied by the specified provider.
static CertPathBuilder CertPathBuilder.getInstance(String algorithm, Provider provider)
          Returns a CertPathBuilder object that implements the specified algorithm, as supplied by the specified provider.
static CertificateFactory CertificateFactory.getInstance(String type, Provider provider)
          Generates a certificate factory object for the specified certificate type from the specified provider.
 

Constructors in java.security.cert with parameters of type Provider
CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type)
          Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it.
CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, String algorithm)
          Creates a CertPathBuilder object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
CertPathValidator(CertPathValidatorSpi validatorSpi, Provider provider, String algorithm)
          Creates a CertPathValidator object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.
CertStore(CertStoreSpi storeSpi, Provider provider, String type, CertStoreParameters params)
          Creates a CertStore object of the given type, and encapsulates the given provider implementation (SPI object) in it.
 

Uses of Provider in javax.crypto
 

Methods in javax.crypto that return Provider
 Provider SecretKeyFactory.getProvider()
          Returns the provider of this SecretKeyFactory object.
 Provider Mac.getProvider()
          Returns the provider of this Mac object.
 Provider KeyGenerator.getProvider()
          Returns the provider of this KeyGenerator object.
 Provider KeyAgreement.getProvider()
          Returns the provider of this KeyAgreement object.
 Provider ExemptionMechanism.getProvider()
          Returns the provider of this ExemptionMechanism object.
 Provider Cipher.getProvider()
          Returns the provider of this Cipher object.
 

Methods in javax.crypto with parameters of type Provider
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm, Provider provider)
          Generates a SecretKeyFactory object for the specified secret-key algorithm from the specified provider.
static Mac Mac.getInstance(String algorithm, Provider provider)
          Generates an Mac object for the specified MAC algorithm from the specified provider.
static KeyGenerator KeyGenerator.getInstance(String algorithm, Provider provider)
          Generates a KeyGenerator object for the specified key algorithm from the specified provider.
static KeyAgreement KeyAgreement.getInstance(String algorithm, Provider provider)
          Generates a KeyAgreement object for the specified key agreement algorithm from the specified provider.
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm, Provider provider)
          Generates a ExemptionMechanism object for the specified exemption mechanism algorithm from the specified provider.
static Cipher Cipher.getInstance(String transformation, Provider provider)
          Creates a Cipher object that implements the specified transformation, as supplied by the specified provider.
 PKCS8EncodedKeySpec EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey, Provider provider)
          Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
 

Constructors in javax.crypto with parameters of type Provider
Cipher(CipherSpi cipherSpi, Provider provider, String transformation)
          Creates a Cipher object.
ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider provider, String mechanism)
          Creates a ExemptionMechanism object.
KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, String algorithm)
          Creates a KeyAgreement object.
KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, String algorithm)
          Creates a KeyGenerator object.
Mac(MacSpi macSpi, Provider provider, String algorithm)
          Creates a MAC object.
SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm)
          Creates a SecretKeyFactory object.
 

Uses of Provider in javax.net.ssl
 

Methods in javax.net.ssl that return Provider
 Provider TrustManagerFactory.getProvider()
          Returns the provider of this TrustManagerFactory object.
 Provider SSLContext.getProvider()
          Returns the provider of this SSLContext object.
 Provider KeyManagerFactory.getProvider()
          Returns the provider of this KeyManagerFactory object.
 

Methods in javax.net.ssl with parameters of type Provider
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm, Provider provider)
          Generates a TrustManagerFactory object for the specified trust management algorithm from the specified provider.
static SSLContext SSLContext.getInstance(String protocol, Provider provider)
          Generates a SSLContext object that implements the specified secure socket protocol from the specified provider.
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm, Provider provider)
          Generates a KeyManagerFactory object for the specified key management algorithm from the specified provider.
 

Constructors in javax.net.ssl with parameters of type Provider
KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm)
          Creates a KeyManagerFactory object.
SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol)
          Creates an SSLContext object.
TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm)
          Creates a TrustManagerFactory object.
 

Uses of Provider in org.ietf.jgss
 

Methods in org.ietf.jgss with parameters of type Provider
abstract  void GSSManager.addProviderAtEnd(Provider p, Oid mech)
          This method is used to indicate to the GSSManager that the application would like a particular provider to be used if no other provider can be found that supports the given mechanism.
abstract  void GSSManager.addProviderAtFront(Provider p, Oid mech)
          This method is used to indicate to the GSSManager that the application would like a particular provider to be used ahead of all others when support is desired for the given mechanism.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.