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 TypeClassDescriptionclassThis class defines login and logout methods for a provider.Methods injava.security that returnProviderModifier and TypeMethodDescriptionApply the supplied configuration argument to thisProviderinstance and return the configuredProvider.finalProviderAlgorithmParameterGenerator.getProvider()Returns the provider of this algorithm parameter generator object.finalProviderAlgorithmParameters.getProvider()Returns the provider of this parameter object.finalProviderKeyFactory.getProvider()Returns the provider of this key factory object.finalProviderKeyPairGenerator.getProvider()Returns the provider of this key pair generator object.finalProviderKeyStore.getProvider()Returns the provider of this keystore.finalProviderMessageDigest.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 theProviderof this policy.finalProviderProvider.Service.getProvider()Return the Provider of this service.finalProviderSecureRandom.getProvider()Returns the provider of thisSecureRandomobject.staticProviderSecurity.getProvider(String name) Returns the provider installed with the specified name, if any.finalProviderSignature.getProvider()Returns the provider of thisSignatureobject.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, ornullif 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, ornullif no such providers have been installed.Methods injava.security with parameters of typeProviderModifier and TypeMethodDescriptionstatic intSecurity.addProvider(Provider provider) Adds a provider to the next position available.AlgorithmParameterGenerator.getInstance(String algorithm,Provider provider) Returns anAlgorithmParameterGeneratorobject for generating a set of parameters to be used with the specified algorithm.staticAlgorithmParametersAlgorithmParameters.getInstance(String algorithm,Provider provider) Returns a parameter object for the specified algorithm.staticKeyFactoryKeyFactory.getInstance(String algorithm,Provider provider) Returns aKeyFactoryobject that converts public/private keys of the specified algorithm.staticKeyPairGeneratorKeyPairGenerator.getInstance(String algorithm,Provider provider) Returns aKeyPairGeneratorobject that generates public/private key pairs for the specified algorithm.staticKeyStoreKeyStore.getInstance(String type,Provider provider) Returns aKeyStoreobject of the specified type.staticMessageDigestMessageDigest.getInstance(String algorithm,Provider provider) Returns aMessageDigestobject that implements the specified digest algorithm.staticPolicyPolicy.getInstance(String type,Policy.Parameters params,Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicyobject of the specified type.staticSecureRandomSecureRandom.getInstance(String algorithm,Provider provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm.staticSecureRandomSecureRandom.getInstance(String algorithm,SecureRandomParameters params,Provider provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.staticSignatureSignature.getInstance(String algorithm,Provider provider) Returns aSignatureobject that implements the specified signature algorithm.static intSecurity.insertProviderAt(Provider provider, int position) Adds a new provider, at a specified position.staticKeyStore.BuilderKeyStore.Builder.newInstance(String type,Provider provider,File file,KeyStore.ProtectionParameter protection) Returns a newBuilderobject.staticKeyStore.BuilderKeyStore.Builder.newInstance(String type,Provider provider,KeyStore.ProtectionParameter protection) Returns a newBuilderobject.Constructors injava.security with parameters of typeProviderModifierConstructorDescriptionprotectedAlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,Provider provider,String algorithm) Creates anAlgorithmParameterGeneratorobject.protectedAlgorithmParameters(AlgorithmParametersSpi paramSpi,Provider provider,String algorithm) Creates anAlgorithmParametersobject.protectedKeyFactory(KeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aKeyFactoryobject.protectedKeyStore(KeyStoreSpi keyStoreSpi,Provider provider,String type) Creates aKeyStoreobject of the given type, and encapsulates the given provider implementation (SPI object) in it.protectedSecureRandom(SecureRandomSpi secureRandomSpi,Provider provider) Creates aSecureRandomobject.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 TypeMethodDescriptionfinalProviderCertificateFactory.getProvider()Returns the provider of this certificate factory.finalProviderCertPathBuilder.getProvider()Returns the provider of thisCertPathBuilder.finalProviderCertPathValidator.getProvider()Returns theProviderof thisCertPathValidator.finalProviderCertStore.getProvider()Returns the provider of thisCertStore.Methods injava.security.cert with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalCertificateFactoryCertificateFactory.getInstance(String type,Provider provider) Returns a certificate factory object for the specified certificate type.staticCertPathBuilderCertPathBuilder.getInstance(String algorithm,Provider provider) Returns aCertPathBuilderobject that implements the specified algorithm.staticCertPathValidatorCertPathValidator.getInstance(String algorithm,Provider provider) Returns aCertPathValidatorobject that implements the specified algorithm.staticCertStoreCertStore.getInstance(String type,CertStoreParameters params,Provider provider) Returns aCertStoreobject that implements the specifiedCertStoretype.voidVerifies that this certificate was signed using the private key that corresponds to the specified public key.voidVerifies that this certificate was signed using the private key that corresponds to the specified public key.voidVerifies that this CRL was signed using the private key that corresponds to the given public key.Constructors injava.security.cert with parameters of typeProviderModifierConstructorDescriptionprotectedCertificateFactory(CertificateFactorySpi certFacSpi,Provider provider,String type) Creates a CertificateFactory object of the given type, and encapsulates the given provider implementation (SPI object) in it.protectedCertPathBuilder(CertPathBuilderSpi builderSpi,Provider provider,String algorithm) Creates aCertPathBuilderobject of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.protectedCertPathValidator(CertPathValidatorSpi validatorSpi,Provider provider,String algorithm) Creates aCertPathValidatorobject of the given algorithm, and encapsulates the given provider implementation (SPI object) in it.protectedCertStore(CertStoreSpi storeSpi,Provider provider,String type,CertStoreParameters params) Creates aCertStoreobject of the given type, and encapsulates the given provider implementation (SPI object) in it.Uses ofProvider injavax.crypto
Methods injavax.crypto that returnProviderModifier and TypeMethodDescriptionfinalProviderCipher.getProvider()Returns the provider of thisCipherobject.finalProviderExemptionMechanism.getProvider()Returns the provider of thisExemptionMechanismobject.finalProviderKeyAgreement.getProvider()Returns the provider of thisKeyAgreementobject.finalProviderKeyGenerator.getProvider()Returns the provider of thisKeyGeneratorobject.finalProviderMac.getProvider()Returns the provider of thisMacobject.finalProviderSecretKeyFactory.getProvider()Returns the provider of thisSecretKeyFactoryobject.Methods injavax.crypto with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalCipherCipher.getInstance(String transformation,Provider provider) Returns aCipherobject that implements the specified transformation.static finalExemptionMechanismExemptionMechanism.getInstance(String algorithm,Provider provider) Returns anExemptionMechanismobject that implements the specified exemption mechanism algorithm.KDF.getInstance(String algorithm,Provider provider) Returns aKDFobject that implements the specified algorithm from the specified security provider.KDF.getInstance(String algorithm,KDFParametersPREVIEW kdfParameters,Provider provider) Returns aKDFobject that implements the specified algorithm from the specified provider and is initialized with the specified parameters.staticKEMKEM.getInstance(String algorithm,Provider provider) Returns aKEMobject that implements the specified algorithm from the specified security provider.static finalKeyAgreementKeyAgreement.getInstance(String algorithm,Provider provider) Returns aKeyAgreementobject that implements the specified key agreement algorithm.static finalKeyGeneratorKeyGenerator.getInstance(String algorithm,Provider provider) Returns aKeyGeneratorobject that generates secret keys for the specified algorithm.static finalMacMac.getInstance(String algorithm,Provider provider) Returns aMacobject that implements the specified MAC algorithm.static finalSecretKeyFactorySecretKeyFactory.getInstance(String algorithm,Provider provider) Returns aSecretKeyFactoryobject 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 typeProviderModifierConstructorDescriptionprotectedCreates aCipherobject.protectedExemptionMechanism(ExemptionMechanismSpi exmechSpi,Provider provider,String mechanism) Creates anExemptionMechanismobject.protectedKeyAgreement(KeyAgreementSpi keyAgreeSpi,Provider provider,String algorithm) Creates aKeyAgreementobject.protectedKeyGenerator(KeyGeneratorSpi keyGenSpi,Provider provider,String algorithm) Creates aKeyGeneratorobject.protectedCreates a MAC object.protectedSecretKeyFactory(SecretKeyFactorySpi keyFacSpi,Provider provider,String algorithm) Creates aSecretKeyFactoryobject.Uses ofProvider injavax.net.ssl
Methods injavax.net.ssl that returnProviderModifier and TypeMethodDescriptionfinalProviderKeyManagerFactory.getProvider()Returns the provider of thisKeyManagerFactoryobject.finalProviderSSLContext.getProvider()Returns the provider of thisSSLContextobject.finalProviderTrustManagerFactory.getProvider()Returns the provider of thisTrustManagerFactoryobject.Methods injavax.net.ssl with parameters of typeProviderModifier and TypeMethodDescriptionstatic finalKeyManagerFactoryKeyManagerFactory.getInstance(String algorithm,Provider provider) Returns aKeyManagerFactoryobject that acts as a factory for key managers.staticSSLContextSSLContext.getInstance(String protocol,Provider provider) Returns aSSLContextobject that implements the specified secure socket protocol.static finalTrustManagerFactoryTrustManagerFactory.getInstance(String algorithm,Provider provider) Returns aTrustManagerFactoryobject that acts as a factory for trust managers.Constructors injavax.net.ssl with parameters of typeProviderModifierConstructorDescriptionprotectedKeyManagerFactory(KeyManagerFactorySpi factorySpi,Provider provider,String algorithm) Creates a KeyManagerFactory object.protectedSSLContext(SSLContextSpi contextSpi,Provider provider,String protocol) Creates an SSLContext object.protectedTrustManagerFactory(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 TypeMethodDescriptionstaticConfigurationConfiguration.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 TypeMethodDescriptionstaticTerminalFactoryTerminalFactory.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 TypeMethodDescriptionfinalProviderTransformService.getProvider()Returns the provider of thisTransformService.finalProviderXMLSignatureFactory.getProvider()Returns the provider of thisXMLSignatureFactory.Methods injavax.xml.crypto.dsig with parameters of typeProviderModifier and TypeMethodDescriptionstaticTransformServiceTransformService.getInstance(String algorithm,String mechanismType,Provider provider) Returns aTransformServicethat supports the specified algorithm URI (ex:Transform.XPATH2) and mechanism type (ex: DOM) as supplied by the specified provider.staticXMLSignatureFactoryXMLSignatureFactory.getInstance(String mechanismType,Provider provider) Returns anXMLSignatureFactorythat 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 TypeMethodDescriptionfinalProviderKeyInfoFactory.getProvider()Returns the provider of thisKeyInfoFactory.Methods injavax.xml.crypto.dsig.keyinfo with parameters of typeProviderModifier and TypeMethodDescriptionstaticKeyInfoFactoryKeyInfoFactory.getInstance(String mechanismType,Provider provider) Returns aKeyInfoFactorythat 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 voidGSSManager.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 voidGSSManager.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.