Uses of Class
java.security.Provider
Packages that useProvider
Package
Description
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
Provides the classes and interfaces for cryptographic operations.
Provides classes for the secure socket package.
This package provides a pluggable authentication framework.
Java™ Smart Card I/O API.
Classes for generating and validating XML digital signatures.
Classes for parsing and processing
KeyInfo
elements and structures.This package defines APIs for signing jar files.
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 ofProvider injava.security
Subclasses ofProvider injava.securityModifier and TypeClassDescriptionclass
This class defines login and logout methods for a provider.Methods injava.security that returnProviderModifier and TypeMethodDescriptionApply the supplied configuration argument to thisProvider
instance and return the configuredProvider
.finalProvider
AlgorithmParameterGenerator.getProvider()
Returns the provider of this algorithm parameter generator object.finalProvider
AlgorithmParameters.getProvider()
Returns the provider of this parameter object.finalProvider
KeyFactory.getProvider()
Returns the provider of this key factory object.finalProvider
KeyPairGenerator.getProvider()
Returns the provider of this key pair generator object.finalProvider
KeyStore.getProvider()
Returns the provider of this keystore.finalProvider
MessageDigest.getProvider()
Returns the provider of this message digest object.Policy.getProvider()
Deprecated, for removal: This API element is subject to removal in a future version.Return theProvider
of this policy.finalProvider
Provider.Service.getProvider()
Return the Provider of this service.finalProvider
SecureRandom.getProvider()
Returns the provider of thisSecureRandom
object.staticProvider
Security.getProvider
(String name) Returns the provider installed with the specified name, if any.finalProvider
Signature.getProvider()
Returns the provider of thisSignature
object.staticProvider[]
Security.getProviders()
Returns an array containing all the installed providers.staticProvider[]
Security.getProviders
(String filter) Returns an array containing all installed providers that satisfy the specified selection criterion, ornull
if no such providers have been installed.staticProvider[]
Security.getProviders
(Map<String, String> filter) Returns an array containing all installed providers that satisfy the specified selection criteria, ornull
if no such providers have been installed.Methods injava.security with parameters of typeProviderModifier and TypeMethodDescriptionstatic int
Security.addProvider
(Provider provider) Adds a provider to the next position available.AlgorithmParameterGenerator.getInstance
(String algorithm,Provider provider) Returns anAlgorithmParameterGenerator
object for generating a set of parameters to be used with the specified algorithm.staticAlgorithmParameters
AlgorithmParameters.getInstance
(String algorithm,Provider provider) Returns a parameter object for the specified algorithm.staticKeyFactory
KeyFactory.getInstance
(String algorithm,Provider provider) Returns aKeyFactory
object that converts public/private keys of the specified algorithm.staticKeyPairGenerator
KeyPairGenerator.getInstance
(String algorithm,Provider provider) Returns aKeyPairGenerator
object that generates public/private key pairs for the specified algorithm.staticKeyStore
KeyStore.getInstance
(String type,Provider provider) Returns aKeyStore
object of the specified type.staticMessageDigest
MessageDigest.getInstance
(String algorithm,Provider provider) Returns aMessageDigest
object that implements the specified digest algorithm.staticPolicy
Policy.getInstance
(String type,Policy.Parameters params,Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicy
object of the specified type.staticSecureRandom
SecureRandom.getInstance
(String algorithm,Provider provider) Returns aSecureRandom
object that implements the specified Random Number Generator (RNG) algorithm.staticSecureRandom
SecureRandom.getInstance
(String algorithm,SecureRandomParameters params,Provider provider) Returns aSecureRandom
object that implements the specified Random Number Generator (RNG) algorithm and supports the specifiedSecureRandomParameters
request.staticSignature
Signature.getInstance
(String algorithm,Provider provider) Returns aSignature
object that implements the specified signature algorithm.static int
Security.insertProviderAt
(Provider provider, int position) Adds a new provider, at a specified position.staticKeyStore.Builder
KeyStore.Builder.newInstance
(String type,Provider provider,File file,KeyStore.ProtectionParameter protection) Returns a newBuilder
object.staticKeyStore.Builder
KeyStore.Builder.newInstance
(String type,Provider provider,KeyStore.ProtectionParameter protection) Returns a newBuilder
object.Constructors injava.security with parameters of typeProviderModifierConstructorDescriptionprotected
AlgorithmParameterGenerator
(AlgorithmParameterGeneratorSpi paramGenSpi,Provider provider,String algorithm) Creates anAlgorithmParameterGenerator
object.protected
AlgorithmParameters
(AlgorithmParametersSpi paramSpi,Provider provider,String algorithm) Creates anAlgorithmParameters
object.protected
KeyFactory
(KeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aKeyFactory
object.protected
KeyStore
(KeyStoreSpi keyStoreSpi,Provider provider,String type) Creates aKeyStore
object of the given type, and encapsulates the given provider implementation (SPI object) in it.protected
SecureRandom
(SecureRandomSpi secureRandomSpi,Provider provider) Creates aSecureRandom
object.Service
(Provider provider,String type,String algorithm,String className,List<String> aliases,Map<String, String> attributes) Construct a new service.Uses ofProvider injava.security.cert
Methods injava.security.cert that returnProviderModifier and TypeMethodDescriptionfinalProvider
CertificateFactory.getProvider()
Returns the provider of this certificate factory.finalProvider
CertPathBuilder.getProvider()
Returns the provider of thisCertPathBuilder
.finalProvider
CertPathValidator.getProvider()
Returns theProvider
of thisCertPathValidator
.finalProvider
CertStore.getProvider()
Returns the provider of thisCertStore
.Methods injava.security.cert with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalCertificateFactory
CertificateFactory.getInstance
(String type,Provider provider) Returns a certificate factory object for the specified certificate type.staticCertPathBuilder
CertPathBuilder.getInstance
(String algorithm,Provider provider) Returns aCertPathBuilder
object that implements the specified algorithm.staticCertPathValidator
CertPathValidator.getInstance
(String algorithm,Provider provider) Returns aCertPathValidator
object that implements the specified algorithm.staticCertStore
CertStore.getInstance
(String type,CertStoreParameters params,Provider provider) Returns aCertStore
object that implements the specifiedCertStore
type.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this CRL was signed using the private key that corresponds to the given public key.Constructors injava.security.cert with parameters of typeProviderModifierConstructorDescriptionprotected
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.protected
CertPathBuilder
(CertPathBuilderSpi builderSpi,Provider provider,String algorithm) Creates aCertPathBuilder
object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.protected
CertPathValidator
(CertPathValidatorSpi validatorSpi,Provider provider,String algorithm) Creates aCertPathValidator
object of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.protected
CertStore
(CertStoreSpi storeSpi,Provider provider,String type,CertStoreParameters params) Creates aCertStore
object of the given type, and encapsulates the given provider implementation (SPI object) in it.Uses ofProvider injavax.crypto
Methods injavax.crypto that returnProviderModifier and TypeMethodDescriptionfinalProvider
Cipher.getProvider()
Returns the provider of thisCipher
object.finalProvider
ExemptionMechanism.getProvider()
Returns the provider of thisExemptionMechanism
object.finalProvider
KeyAgreement.getProvider()
Returns the provider of thisKeyAgreement
object.finalProvider
KeyGenerator.getProvider()
Returns the provider of thisKeyGenerator
object.finalProvider
Mac.getProvider()
Returns the provider of thisMac
object.finalProvider
SecretKeyFactory.getProvider()
Returns the provider of thisSecretKeyFactory
object.Methods injavax.crypto with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalCipher
Cipher.getInstance
(String transformation,Provider provider) Returns aCipher
object that implements the specified transformation.static finalExemptionMechanism
ExemptionMechanism.getInstance
(String algorithm,Provider provider) Returns anExemptionMechanism
object that implements the specified exemption mechanism algorithm.KDF.getInstance
(String algorithm,Provider provider) Returns aKDF
object that implements the specified algorithm from the specified security provider.KDF.getInstance
(String algorithm,KDFParametersPREVIEW kdfParameters,Provider provider) Returns aKDF
object that implements the specified algorithm from the specified provider and is initialized with the specified parameters.staticKEM
KEM.getInstance
(String algorithm,Provider provider) Returns aKEM
object that implements the specified algorithm from the specified security provider.static finalKeyAgreement
KeyAgreement.getInstance
(String algorithm,Provider provider) Returns aKeyAgreement
object that implements the specified key agreement algorithm.static finalKeyGenerator
KeyGenerator.getInstance
(String algorithm,Provider provider) Returns aKeyGenerator
object that generates secret keys for the specified algorithm.static finalMac
Mac.getInstance
(String algorithm,Provider provider) Returns aMac
object that implements the specified MAC algorithm.static finalSecretKeyFactory
SecretKeyFactory.getInstance
(String algorithm,Provider provider) Returns aSecretKeyFactory
object that converts secret keys of the specified algorithm.EncryptedPrivateKeyInfo.getKeySpec
(Key decryptKey,Provider provider) Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.Constructors injavax.crypto with parameters of typeProviderModifierConstructorDescriptionprotected
Creates aCipher
object.protected
ExemptionMechanism
(ExemptionMechanismSpi exmechSpi,Provider provider,String mechanism) Creates anExemptionMechanism
object.protected
KeyAgreement
(KeyAgreementSpi keyAgreeSpi,Provider provider,String algorithm) Creates aKeyAgreement
object.protected
KeyGenerator
(KeyGeneratorSpi keyGenSpi,Provider provider,String algorithm) Creates aKeyGenerator
object.protected
Creates a MAC object.protected
SecretKeyFactory
(SecretKeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aSecretKeyFactory
object.Uses ofProvider injavax.net.ssl
Methods injavax.net.ssl that returnProviderModifier and TypeMethodDescriptionfinalProvider
KeyManagerFactory.getProvider()
Returns the provider of thisKeyManagerFactory
object.finalProvider
SSLContext.getProvider()
Returns the provider of thisSSLContext
object.finalProvider
TrustManagerFactory.getProvider()
Returns the provider of thisTrustManagerFactory
object.Methods injavax.net.ssl with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalKeyManagerFactory
KeyManagerFactory.getInstance
(String algorithm,Provider provider) Returns aKeyManagerFactory
object that acts as a factory for key managers.staticSSLContext
SSLContext.getInstance
(String protocol,Provider provider) Returns aSSLContext
object that implements the specified secure socket protocol.static finalTrustManagerFactory
TrustManagerFactory.getInstance
(String algorithm,Provider provider) Returns aTrustManagerFactory
object that acts as a factory for trust managers.Constructors injavax.net.ssl with parameters of typeProviderModifierConstructorDescriptionprotected
KeyManagerFactory
(KeyManagerFactorySpi factorySpi,Provider provider,String algorithm) Creates a KeyManagerFactory object.protected
SSLContext
(SSLContextSpi contextSpi,Provider provider,String protocol) Creates an SSLContext object.protected
TrustManagerFactory
(TrustManagerFactorySpi factorySpi,Provider provider,String algorithm) Creates a TrustManagerFactory object.Uses ofProvider injavax.security.auth.login
Methods injavax.security.auth.login that returnProviderModifier and TypeMethodDescriptionConfiguration.getProvider()
Return the Provider of this Configuration.Methods injavax.security.auth.login with parameters of typeProviderModifier and TypeMethodDescriptionstaticConfiguration
Configuration.getInstance
(String type,Configuration.Parameters params,Provider provider) Returns a Configuration object of the specified type.Uses ofProvider injavax.smartcardio
Methods injavax.smartcardio that returnProviderModifier and TypeMethodDescriptionTerminalFactory.getProvider()
Returns the provider of this TerminalFactory.Methods injavax.smartcardio with parameters of typeProviderModifier and TypeMethodDescriptionstaticTerminalFactory
TerminalFactory.getInstance
(String type,Object params,Provider provider) Returns a TerminalFactory of the specified type that is initialized with the specified parameters.Uses ofProvider injavax.xml.crypto.dsig
Methods injavax.xml.crypto.dsig that returnProviderModifier and TypeMethodDescriptionfinalProvider
TransformService.getProvider()
Returns the provider of thisTransformService
.finalProvider
XMLSignatureFactory.getProvider()
Returns the provider of thisXMLSignatureFactory
.Methods injavax.xml.crypto.dsig with parameters of typeProviderModifier and TypeMethodDescriptionstaticTransformService
TransformService.getInstance
(String algorithm,String mechanismType,Provider provider) Returns aTransformService
that supports the specified algorithm URI (ex:Transform.XPATH2
) and mechanism type (ex: DOM) as supplied by the specified provider.staticXMLSignatureFactory
XMLSignatureFactory.getInstance
(String mechanismType,Provider provider) Returns anXMLSignatureFactory
that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.Uses ofProvider injavax.xml.crypto.dsig.keyinfo
Methods injavax.xml.crypto.dsig.keyinfo that returnProviderModifier and TypeMethodDescriptionfinalProvider
KeyInfoFactory.getProvider()
Returns the provider of thisKeyInfoFactory
.Methods injavax.xml.crypto.dsig.keyinfo with parameters of typeProviderModifier and TypeMethodDescriptionstaticKeyInfoFactory
KeyInfoFactory.getInstance
(String mechanismType,Provider provider) Returns aKeyInfoFactory
that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.Uses ofProvider injdk.security.jarsigner
Methods injdk.security.jarsigner with parameters of typeProviderModifier and TypeMethodDescriptionJarSigner.Builder.digestAlgorithm
(String algorithm,Provider provider) Sets the digest algorithm from the specified provider.JarSigner.Builder.signatureAlgorithm
(String algorithm,Provider provider) Sets the signature algorithm from the specified provider.Uses ofProvider inorg.ietf.jgss
Methods inorg.ietf.jgss with parameters of typeProviderModifier and TypeMethodDescriptionabstract 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.