Uses of Class
java.security.NoSuchAlgorithmException
Packages that use NoSuchAlgorithmException
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.
Provides classes for public key certificates.
Java™ Smart Card I/O API.
Classes for generating and validating XML digital
signatures.
This package defines APIs for signing jar files.
-
Uses of NoSuchAlgorithmException in java.security
Methods in java.security that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionKeyStoreSpi.engineGetEntry(String alias, KeyStore.ProtectionParameter protParam) Gets aKeyStore.Entryfor the specified alias with the specified protection parameter.abstract KeyKeyStoreSpi.engineGetKey(String alias, char[] password) Returns the key associated with the given alias, using the given password to recover it.abstract voidKeyStoreSpi.engineLoad(InputStream stream, char[] password) Loads the keystore from the given input stream.voidKeyStoreSpi.engineLoad(KeyStore.LoadStoreParameter param) Loads the keystore using the givenKeyStore.LoadStoreParameter.abstract voidKeyStoreSpi.engineStore(OutputStream stream, char[] password) Stores this keystore to the given output stream, and protects its integrity with the given password.voidKeyStoreSpi.engineStore(KeyStore.LoadStoreParameter param) Stores this keystore using the givenKeyStore.LoadStoreParameter.final KeyStore.EntryKeyStore.getEntry(String alias, KeyStore.ProtectionParameter protParam) Gets a keystoreEntryfor the specified alias with the specified protection parameter.static AlgorithmParameterGeneratorAlgorithmParameterGenerator.getInstance(String algorithm) Returns anAlgorithmParameterGeneratorobject for generating a set of parameters to be used with the specified algorithm.static AlgorithmParameterGeneratorAlgorithmParameterGenerator.getInstance(String algorithm, String provider) Returns anAlgorithmParameterGeneratorobject for generating a set of parameters to be used with the specified algorithm.static AlgorithmParameterGeneratorAlgorithmParameterGenerator.getInstance(String algorithm, Provider provider) Returns anAlgorithmParameterGeneratorobject for generating a set of parameters to be used with the specified algorithm.static AlgorithmParametersAlgorithmParameters.getInstance(String algorithm) Returns a parameter object for the specified algorithm.static AlgorithmParametersAlgorithmParameters.getInstance(String algorithm, String provider) Returns a parameter object for the specified algorithm.static AlgorithmParametersAlgorithmParameters.getInstance(String algorithm, Provider provider) Returns a parameter object for the specified algorithm.static KeyFactoryKeyFactory.getInstance(String algorithm) Returns aKeyFactoryobject that converts public/private keys of the specified algorithm.static KeyFactoryKeyFactory.getInstance(String algorithm, String provider) Returns aKeyFactoryobject that converts public/private keys of the specified algorithm.static KeyFactoryKeyFactory.getInstance(String algorithm, Provider provider) Returns aKeyFactoryobject that converts public/private keys of the specified algorithm.static KeyPairGeneratorKeyPairGenerator.getInstance(String algorithm) Returns aKeyPairGeneratorobject that generates public/private key pairs for the specified algorithm.static KeyPairGeneratorKeyPairGenerator.getInstance(String algorithm, String provider) Returns aKeyPairGeneratorobject that generates public/private key pairs for the specified algorithm.static KeyPairGeneratorKeyPairGenerator.getInstance(String algorithm, Provider provider) Returns aKeyPairGeneratorobject that generates public/private key pairs for the specified algorithm.static final KeyStoreKeyStore.getInstance(File file, char[] password) Returns a loaded keystore object of the appropriate keystore type.static final KeyStoreKeyStore.getInstance(File file, KeyStore.LoadStoreParameter param) Returns a loaded keystore object of the appropriate keystore type.static MessageDigestMessageDigest.getInstance(String algorithm) Returns aMessageDigestobject that implements the specified digest algorithm.static MessageDigestMessageDigest.getInstance(String algorithm, String provider) Returns aMessageDigestobject that implements the specified digest algorithm.static MessageDigestMessageDigest.getInstance(String algorithm, Provider provider) Returns aMessageDigestobject that implements the specified digest algorithm.static PolicyPolicy.getInstance(String type, Policy.Parameters params) Deprecated, for removal: This API element is subject to removal in a future version.Returns a Policy object of the specified type.static PolicyPolicy.getInstance(String type, Policy.Parameters params, String provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicyobject of the specified type.static PolicyPolicy.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.static SecureRandomSecureRandom.getInstance(String algorithm) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm.static SecureRandomSecureRandom.getInstance(String algorithm, String provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm.static SecureRandomSecureRandom.getInstance(String algorithm, Provider provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm.static SecureRandomSecureRandom.getInstance(String algorithm, SecureRandomParameters params) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.static SecureRandomSecureRandom.getInstance(String algorithm, SecureRandomParameters params, String provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.static SecureRandomSecureRandom.getInstance(String algorithm, SecureRandomParameters params, Provider provider) Returns aSecureRandomobject that implements the specified Random Number Generator (RNG) algorithm and supports the specifiedSecureRandomParametersrequest.static SignatureSignature.getInstance(String algorithm) Returns aSignatureobject that implements the specified signature algorithm.static SignatureSignature.getInstance(String algorithm, String provider) Returns aSignatureobject that implements the specified signature algorithm.static SignatureSignature.getInstance(String algorithm, Provider provider) Returns aSignatureobject that implements the specified signature algorithm.static SecureRandomSecureRandom.getInstanceStrong()Returns aSecureRandomobject that was selected by using the algorithms/providers specified in thesecurerandom.strongAlgorithmsSecurityproperty.final KeyReturns the key associated with the given alias, using the given password to recover it.final voidKeyStore.load(InputStream stream, char[] password) Loads this keystore from the given input stream.final voidKeyStore.load(KeyStore.LoadStoreParameter param) Loads this keystore using the givenLoadStoreParameter.Provider.Service.newInstance(Object constructorParameter) Return a new instance of the implementation described by this service.final voidKeyStore.store(OutputStream stream, char[] password) Stores this keystore to the given output stream, and protects its integrity with the given password.final voidKeyStore.store(KeyStore.LoadStoreParameter param) Stores this keystore using the givenLoadStoreParameter. -
Uses of NoSuchAlgorithmException in java.security.cert
Methods in java.security.cert that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionstatic CertPathBuilderCertPathBuilder.getInstance(String algorithm) Returns aCertPathBuilderobject that implements the specified algorithm.static CertPathBuilderCertPathBuilder.getInstance(String algorithm, String provider) Returns aCertPathBuilderobject that implements the specified algorithm.static CertPathBuilderCertPathBuilder.getInstance(String algorithm, Provider provider) Returns aCertPathBuilderobject that implements the specified algorithm.static CertPathValidatorCertPathValidator.getInstance(String algorithm) Returns aCertPathValidatorobject that implements the specified algorithm.static CertPathValidatorCertPathValidator.getInstance(String algorithm, String provider) Returns aCertPathValidatorobject that implements the specified algorithm.static CertPathValidatorCertPathValidator.getInstance(String algorithm, Provider provider) Returns aCertPathValidatorobject that implements the specified algorithm.static CertStoreCertStore.getInstance(String type, CertStoreParameters params) Returns aCertStoreobject that implements the specifiedCertStoretype and is initialized with the specified parameters.static CertStoreCertStore.getInstance(String type, CertStoreParameters params, String provider) Returns aCertStoreobject that implements the specifiedCertStoretype.static CertStoreCertStore.getInstance(String type, CertStoreParameters params, Provider provider) Returns aCertStoreobject that implements the specifiedCertStoretype.abstract voidVerifies that this certificate was signed using the private key that corresponds to the specified public key.abstract 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 certificate was signed using the private key that corresponds to the specified public key.abstract voidVerifies that this CRL was signed using the private key that corresponds to the given public key.abstract voidVerifies that this CRL was signed using the private key that corresponds to the given public key.voidVerifies that this CRL was signed using the private key that corresponds to the given public key. -
Uses of NoSuchAlgorithmException in javax.crypto
Methods in javax.crypto that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionKDF.deriveKey(String alg, AlgorithmParameterSpec derivationSpec) Derives a key, returned as aSecretKeyobject.protected abstract SecretKeyKDFSpi.engineDeriveKey(String alg, AlgorithmParameterSpec derivationSpec) Derives a key, returned as aSecretKeyobject.protected abstract SecretKeyKeyAgreementSpi.engineGenerateSecret(String algorithm) Creates the shared secret and returns it as a secret key object of the requested algorithm type.protected abstract voidCipherSpi.engineSetMode(String mode) Sets the mode of this cipher.protected KeyCipherSpi.engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) Unwrap a previously wrapped key.final SecretKeyKeyAgreement.generateSecret(String algorithm) Creates the shared secret and returns it as aSecretKeyobject of the specified algorithm.static final CipherCipher.getInstance(String transformation) Returns aCipherobject that implements the specified transformation.static final CipherCipher.getInstance(String transformation, String provider) Returns aCipherobject that implements the specified transformation.static final CipherCipher.getInstance(String transformation, Provider provider) Returns aCipherobject that implements the specified transformation.static final ExemptionMechanismExemptionMechanism.getInstance(String algorithm) Returns anExemptionMechanismobject that implements the specified exemption mechanism algorithm.static final ExemptionMechanismExemptionMechanism.getInstance(String algorithm, String provider) Returns anExemptionMechanismobject that implements the specified exemption mechanism algorithm.static final ExemptionMechanismExemptionMechanism.getInstance(String algorithm, Provider provider) Returns anExemptionMechanismobject that implements the specified exemption mechanism algorithm.KDF.getInstance(String algorithm) Returns aKDFobject that implements the specified algorithm.KDF.getInstance(String algorithm, String provider) Returns aKDFobject that implements the specified algorithm from the specified security provider.KDF.getInstance(String algorithm, Provider provider) Returns aKDFobject that implements the specified algorithm from the specified security provider.KDF.getInstance(String algorithm, KDFParametersPREVIEW kdfParameters) Returns aKDFobject that implements the specified algorithm and is initialized with the specified parameters.KDF.getInstance(String algorithm, KDFParametersPREVIEW kdfParameters, String provider) Returns aKDFobject that implements the specified algorithm from the specified provider and is initialized with the specified parameters.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.static KEMKEM.getInstance(String algorithm) Returns aKEMobject that implements the specified algorithm.static KEMKEM.getInstance(String algorithm, String provider) Returns aKEMobject that implements the specified algorithm from the specified security provider.static KEMKEM.getInstance(String algorithm, Provider provider) Returns aKEMobject that implements the specified algorithm from the specified security provider.static final KeyAgreementKeyAgreement.getInstance(String algorithm) Returns aKeyAgreementobject that implements the specified key agreement algorithm.static final KeyAgreementKeyAgreement.getInstance(String algorithm, String provider) Returns aKeyAgreementobject that implements the specified key agreement algorithm.static final KeyAgreementKeyAgreement.getInstance(String algorithm, Provider provider) Returns aKeyAgreementobject that implements the specified key agreement algorithm.static final KeyGeneratorKeyGenerator.getInstance(String algorithm) Returns aKeyGeneratorobject that generates secret keys for the specified algorithm.static final KeyGeneratorKeyGenerator.getInstance(String algorithm, String provider) Returns aKeyGeneratorobject that generates secret keys for the specified algorithm.static final KeyGeneratorKeyGenerator.getInstance(String algorithm, Provider provider) Returns aKeyGeneratorobject that generates secret keys for the specified algorithm.static final MacMac.getInstance(String algorithm) Returns aMacobject that implements the specified MAC algorithm.static final MacMac.getInstance(String algorithm, String provider) Returns aMacobject that implements the specified MAC algorithm.static final MacMac.getInstance(String algorithm, Provider provider) Returns aMacobject that implements the specified MAC algorithm.static final SecretKeyFactorySecretKeyFactory.getInstance(String algorithm) Returns aSecretKeyFactoryobject that converts secret keys of the specified algorithm.static final SecretKeyFactorySecretKeyFactory.getInstance(String algorithm, String provider) Returns aSecretKeyFactoryobject that converts secret keys of the specified algorithm.static final SecretKeyFactorySecretKeyFactory.getInstance(String algorithm, Provider provider) Returns aSecretKeyFactoryobject that converts secret keys of the specified algorithm.EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey) Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey, String providerName) Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey, Provider provider) Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.static final intCipher.getMaxAllowedKeyLength(String transformation) Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction policy files.static final AlgorithmParameterSpecCipher.getMaxAllowedParameterSpec(String transformation) Returns an {code AlgorithmParameterSpec} object which contains the maximumCipherparameter value according to the jurisdiction policy file.final ObjectRetrieves the original (encapsulated) object.final ObjectRetrieves the original (encapsulated) object.final KeyUnwrap a previously wrapped key.Constructors in javax.crypto that throw NoSuchAlgorithmExceptionModifierConstructorDescriptionEncryptedPrivateKeyInfo(String algName, byte[] encryptedData) Constructs anEncryptedPrivateKeyInfofrom the encryption algorithm name and the encrypted data.EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData) Constructs anEncryptedPrivateKeyInfofrom the encryption algorithm parameters and the encrypted data. -
Uses of NoSuchAlgorithmException in javax.net.ssl
Methods in javax.net.ssl that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionprotected abstract voidKeyManagerFactorySpi.engineInit(KeyStore ks, char[] password) Initializes this factory with a source of key material.static SSLContextSSLContext.getDefault()Returns the default SSL context.static final KeyManagerFactoryKeyManagerFactory.getInstance(String algorithm) Returns aKeyManagerFactoryobject that acts as a factory for key managers.static final KeyManagerFactoryKeyManagerFactory.getInstance(String algorithm, String provider) Returns aKeyManagerFactoryobject that acts as a factory for key managers.static final KeyManagerFactoryKeyManagerFactory.getInstance(String algorithm, Provider provider) Returns aKeyManagerFactoryobject that acts as a factory for key managers.static SSLContextSSLContext.getInstance(String protocol) Returns aSSLContextobject that implements the specified secure socket protocol.static SSLContextSSLContext.getInstance(String protocol, String provider) Returns aSSLContextobject that implements the specified secure socket protocol.static SSLContextSSLContext.getInstance(String protocol, Provider provider) Returns aSSLContextobject that implements the specified secure socket protocol.static final TrustManagerFactoryTrustManagerFactory.getInstance(String algorithm) Returns aTrustManagerFactoryobject that acts as a factory for trust managers.static final TrustManagerFactoryTrustManagerFactory.getInstance(String algorithm, String provider) Returns aTrustManagerFactoryobject that acts as a factory for trust managers.static final TrustManagerFactoryTrustManagerFactory.getInstance(String algorithm, Provider provider) Returns aTrustManagerFactoryobject that acts as a factory for trust managers.final voidInitializes this factory with a source of key material. -
Uses of NoSuchAlgorithmException in javax.security.auth.login
Methods in javax.security.auth.login that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionstatic ConfigurationConfiguration.getInstance(String type, Configuration.Parameters params) Returns a Configuration object of the specified type.static ConfigurationConfiguration.getInstance(String type, Configuration.Parameters params, String provider) Returns a Configuration object of the specified type.static ConfigurationConfiguration.getInstance(String type, Configuration.Parameters params, Provider provider) Returns a Configuration object of the specified type. -
Uses of NoSuchAlgorithmException in javax.security.cert
Methods in javax.security.cert that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionabstract voidDeprecated, for removal: This API element is subject to removal in a future version.Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract voidDeprecated, for removal: This API element is subject to removal in a future version.Verifies that this certificate was signed using the private key that corresponds to the specified public key. -
Uses of NoSuchAlgorithmException in javax.smartcardio
Methods in javax.smartcardio that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionstatic TerminalFactoryTerminalFactory.getInstance(String type, Object params) Returns a TerminalFactory of the specified type that is initialized with the specified parameters.static TerminalFactoryTerminalFactory.getInstance(String type, Object params, String provider) Returns a TerminalFactory of the specified type that is initialized with the specified parameters.static TerminalFactoryTerminalFactory.getInstance(String type, Object params, Provider provider) Returns a TerminalFactory of the specified type that is initialized with the specified parameters. -
Uses of NoSuchAlgorithmException in javax.xml.crypto.dsig
Methods in javax.xml.crypto.dsig that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionstatic TransformServiceTransformService.getInstance(String algorithm, String mechanismType) Returns aTransformServicethat supports the specified algorithm URI (ex:Transform.XPATH2) and mechanism type (ex: DOM).static TransformServiceTransformService.getInstance(String algorithm, String mechanismType, String provider) Returns aTransformServicethat supports the specified algorithm URI (ex:Transform.XPATH2) and mechanism type (ex: DOM) as supplied by the specified provider.static TransformServiceTransformService.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.abstract CanonicalizationMethodXMLSignatureFactory.newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params) Creates aCanonicalizationMethodfor the specified algorithm URI and parameters.abstract CanonicalizationMethodXMLSignatureFactory.newCanonicalizationMethod(String algorithm, XMLStructure params) Creates aCanonicalizationMethodfor the specified algorithm URI and parameters.abstract DigestMethodXMLSignatureFactory.newDigestMethod(String algorithm, DigestMethodParameterSpec params) Creates aDigestMethodfor the specified algorithm URI and parameters.abstract SignatureMethodXMLSignatureFactory.newSignatureMethod(String algorithm, SignatureMethodParameterSpec params) Creates aSignatureMethodfor the specified algorithm URI and parameters.abstract TransformXMLSignatureFactory.newTransform(String algorithm, TransformParameterSpec params) Creates aTransformfor the specified algorithm URI and parameters.abstract TransformXMLSignatureFactory.newTransform(String algorithm, XMLStructure params) Creates aTransformfor the specified algorithm URI and parameters. -
Uses of NoSuchAlgorithmException in jdk.security.jarsigner
Methods in jdk.security.jarsigner that throw NoSuchAlgorithmExceptionModifier and TypeMethodDescriptionJarSigner.Builder.digestAlgorithm(String algorithm) Sets the digest algorithm.JarSigner.Builder.digestAlgorithm(String algorithm, Provider provider) Sets the digest algorithm from the specified provider.JarSigner.Builder.signatureAlgorithm(String algorithm) Sets the signature algorithm.JarSigner.Builder.signatureAlgorithm(String algorithm, Provider provider) Sets the signature algorithm from the specified provider.