Uses of Class java.security.NoSuchAlgorithmException (Java Platform SE 8 )
Date: 2016-07-28

## Uses of Class
java.security.NoSuchAlgorithmException

- Packages that use NoSuchAlgorithmException
  Package | Description
  --- | ---
  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.
  javax.security.auth.login | This package provides a pluggable authentication framework.
  javax.security.cert | Provides classes for public key certificates.
  javax.xml.crypto.dsig | Classes for generating and validating XML digital signatures.

- - ### Uses of NoSuchAlgorithmException in java.security

    Methods in java.security that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `KeyStore.Entry` | KeyStoreSpi.`engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)` Gets a `KeyStore.Entry` for the specified alias with the specified protection parameter.
    `abstract Key` | KeyStoreSpi.`engineGetKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.
    `abstract void` | KeyStoreSpi.`engineLoad(InputStream stream, char[] password)` Loads the keystore from the given input stream.
    `void` | KeyStoreSpi.`engineLoad(KeyStore.LoadStoreParameter param)` Loads the keystore using the given `KeyStore.LoadStoreParameter`.
    `void` | KeyStoreSpi.`engineStore(KeyStore.LoadStoreParameter param)` Stores this keystore using the given `KeyStore.LoadStoreParmeter`.
    `abstract void` | KeyStoreSpi.`engineStore(OutputStream stream, char[] password)` Stores this keystore to the given output stream, and protects its integrity with the given password.
    `KeyStore.Entry` | KeyStore.`getEntry(String alias, KeyStore.ProtectionParameter protParam)` Gets a keystore `Entry` for the specified alias with the specified protection parameter.
    `static KeyPairGenerator` | KeyPairGenerator.`getInstance(String algorithm)` Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm)` Returns a parameter object for the specified algorithm.
    `static KeyFactory` | KeyFactory.`getInstance(String algorithm)` Returns a KeyFactory object that converts public/private keys of the specified algorithm.
    `static SecureRandom` | SecureRandom.`getInstance(String algorithm)` Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
    `static MessageDigest` | MessageDigest.`getInstance(String algorithm)` Returns a MessageDigest object that implements the specified digest algorithm.
    `static AlgorithmParameterGenerator` | AlgorithmParameterGenerator.`getInstance(String algorithm)` Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
    `static Signature` | Signature.`getInstance(String algorithm)` Returns a Signature object that implements the specified signature algorithm.
    `static Policy` | Policy.`getInstance(String type, Policy.Parameters params)` Returns a Policy object of the specified type.
    `static Policy` | Policy.`getInstance(String type, Policy.Parameters params, Provider provider)` Returns a Policy object of the specified type.
    `static Policy` | Policy.`getInstance(String type, Policy.Parameters params, String provider)` Returns a Policy object of the specified type.
    `static KeyPairGenerator` | KeyPairGenerator.`getInstance(String algorithm, Provider provider)` Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm, Provider provider)` Returns a parameter object for the specified algorithm.
    `static KeyFactory` | KeyFactory.`getInstance(String algorithm, Provider provider)` Returns a KeyFactory object that converts public/private keys of the specified algorithm.
    `static SecureRandom` | SecureRandom.`getInstance(String algorithm, Provider provider)` Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
    `static MessageDigest` | MessageDigest.`getInstance(String algorithm, Provider provider)` Returns a MessageDigest object that implements the specified digest algorithm.
    `static AlgorithmParameterGenerator` | AlgorithmParameterGenerator.`getInstance(String algorithm, Provider provider)` Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
    `static Signature` | Signature.`getInstance(String algorithm, Provider provider)` Returns a Signature object that implements the specified signature algorithm.
    `static KeyPairGenerator` | KeyPairGenerator.`getInstance(String algorithm, String provider)` Returns a KeyPairGenerator object that generates public/private key pairs for the specified algorithm.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm, String provider)` Returns a parameter object for the specified algorithm.
    `static KeyFactory` | KeyFactory.`getInstance(String algorithm, String provider)` Returns a KeyFactory object that converts public/private keys of the specified algorithm.
    `static SecureRandom` | SecureRandom.`getInstance(String algorithm, String provider)` Returns a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
    `static MessageDigest` | MessageDigest.`getInstance(String algorithm, String provider)` Returns a MessageDigest object that implements the specified digest algorithm.
    `static AlgorithmParameterGenerator` | AlgorithmParameterGenerator.`getInstance(String algorithm, String provider)` Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
    `static Signature` | Signature.`getInstance(String algorithm, String provider)` Returns a Signature object that implements the specified signature algorithm.
    `static SecureRandom` | SecureRandom.`getInstanceStrong()` Returns a `SecureRandom` object that was selected by using the algorithms/providers specified in the `securerandom.strongAlgorithms` `Security` property.
    `Key` | KeyStore.`getKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.
    `void` | KeyStore.`load(InputStream stream, char[] password)` Loads this KeyStore from the given input stream.
    `void` | KeyStore.`load(KeyStore.LoadStoreParameter param)` Loads this keystore using the given `LoadStoreParameter`.
    `Object` | Provider.Service.`newInstance(Object constructorParameter)` Return a new instance of the implementation described by this service.
    `void` | KeyStore.`store(KeyStore.LoadStoreParameter param)` Stores this keystore using the given `LoadStoreParameter`.
    `void` | KeyStore.`store(OutputStream stream, char[] password)` Stores this keystore to the given output stream, and protects its integrity with the given password.

  - ### Uses of NoSuchAlgorithmException in java.security.cert

    Methods in java.security.cert that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `static CertPathValidator` | CertPathValidator.`getInstance(String algorithm)` Returns a `CertPathValidator` object that implements the specified algorithm.
    `static CertPathBuilder` | CertPathBuilder.`getInstance(String algorithm)` Returns a `CertPathBuilder` object that implements the specified algorithm.
    `static CertStore` | CertStore.`getInstance(String type, CertStoreParameters params)` Returns a `CertStore` object that implements the specified `CertStore` type and is initialized with the specified parameters.
    `static CertStore` | CertStore.`getInstance(String type, CertStoreParameters params, Provider provider)` Returns a `CertStore` object that implements the specified `CertStore` type.
    `static CertStore` | CertStore.`getInstance(String type, CertStoreParameters params, String provider)` Returns a `CertStore` object that implements the specified `CertStore` type.
    `static CertPathValidator` | CertPathValidator.`getInstance(String algorithm, Provider provider)` Returns a `CertPathValidator` object that implements the specified algorithm.
    `static CertPathBuilder` | CertPathBuilder.`getInstance(String algorithm, Provider provider)` Returns a `CertPathBuilder` object that implements the specified algorithm.
    `static CertPathValidator` | CertPathValidator.`getInstance(String algorithm, String provider)` Returns a `CertPathValidator` object that implements the specified algorithm.
    `static CertPathBuilder` | CertPathBuilder.`getInstance(String algorithm, String provider)` Returns a `CertPathBuilder` object that implements the specified algorithm.
    `abstract void` | X509CRL.`verify(PublicKey key)` Verifies that this CRL was signed using the private key that corresponds to the given public key.
    `abstract void` | Certificate.`verify(PublicKey key)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.
    `void` | X509CRL.`verify(PublicKey key, Provider sigProvider)` Verifies that this CRL was signed using the private key that corresponds to the given public key.
    `void` | Certificate.`verify(PublicKey key, Provider sigProvider)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.
    `void` | X509Certificate.`verify(PublicKey key, Provider sigProvider)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.
    `abstract void` | X509CRL.`verify(PublicKey key, String sigProvider)` Verifies that this CRL was signed using the private key that corresponds to the given public key.
    `abstract void` | Certificate.`verify(PublicKey key, String sigProvider)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.

  - ### Uses of NoSuchAlgorithmException in javax.crypto

    Methods in javax.crypto that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract SecretKey` | KeyAgreementSpi.`engineGenerateSecret(String algorithm)` Creates the shared secret and returns it as a secret key object of the requested algorithm type.
    `protected abstract void` | CipherSpi.`engineSetMode(String mode)` Sets the mode of this cipher.
    `protected Key` | CipherSpi.`engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)` Unwrap a previously wrapped key.
    `SecretKey` | KeyAgreement.`generateSecret(String algorithm)` Creates the shared secret and returns it as a `SecretKey` object of the specified algorithm.
    `static KeyAgreement` | KeyAgreement.`getInstance(String algorithm)` Returns a `KeyAgreement` object that implements the specified key agreement algorithm.
    `static ExemptionMechanism` | ExemptionMechanism.`getInstance(String algorithm)` Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.
    `static Cipher` | Cipher.`getInstance(String transformation)` Returns a `Cipher` object that implements the specified transformation.
    `static KeyGenerator` | KeyGenerator.`getInstance(String algorithm)` Returns a `KeyGenerator` object that generates secret keys for the specified algorithm.
    `static Mac` | Mac.`getInstance(String algorithm)` Returns a `Mac` object that implements the specified MAC algorithm.
    `static SecretKeyFactory` | SecretKeyFactory.`getInstance(String algorithm)` Returns a `SecretKeyFactory` object that converts secret keys of the specified algorithm.
    `static KeyAgreement` | KeyAgreement.`getInstance(String algorithm, Provider provider)` Returns a `KeyAgreement` object that implements the specified key agreement algorithm.
    `static ExemptionMechanism` | ExemptionMechanism.`getInstance(String algorithm, Provider provider)` Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.
    `static Cipher` | Cipher.`getInstance(String transformation, Provider provider)` Returns a `Cipher` object that implements the specified transformation.
    `static KeyGenerator` | KeyGenerator.`getInstance(String algorithm, Provider provider)` Returns a `KeyGenerator` object that generates secret keys for the specified algorithm.
    `static Mac` | Mac.`getInstance(String algorithm, Provider provider)` Returns a `Mac` object that implements the specified MAC algorithm.
    `static SecretKeyFactory` | SecretKeyFactory.`getInstance(String algorithm, Provider provider)` Returns a `SecretKeyFactory` object that converts secret keys of the specified algorithm.
    `static KeyAgreement` | KeyAgreement.`getInstance(String algorithm, String provider)` Returns a `KeyAgreement` object that implements the specified key agreement algorithm.
    `static ExemptionMechanism` | ExemptionMechanism.`getInstance(String algorithm, String provider)` Returns an `ExemptionMechanism` object that implements the specified exemption mechanism algorithm.
    `static Cipher` | Cipher.`getInstance(String transformation, String provider)` Returns a `Cipher` object that implements the specified transformation.
    `static KeyGenerator` | KeyGenerator.`getInstance(String algorithm, String provider)` Returns a `KeyGenerator` object that generates secret keys for the specified algorithm.
    `static Mac` | Mac.`getInstance(String algorithm, String provider)` Returns a `Mac` object that implements the specified MAC algorithm.
    `static SecretKeyFactory` | SecretKeyFactory.`getInstance(String algorithm, String provider)` Returns a `SecretKeyFactory` object that converts secret keys of the specified algorithm.
    `PKCS8EncodedKeySpec` | EncryptedPrivateKeyInfo.`getKeySpec(Key decryptKey)` Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
    `PKCS8EncodedKeySpec` | EncryptedPrivateKeyInfo.`getKeySpec(Key decryptKey, Provider provider)` Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
    `PKCS8EncodedKeySpec` | EncryptedPrivateKeyInfo.`getKeySpec(Key decryptKey, String providerName)` Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
    `static int` | Cipher.`getMaxAllowedKeyLength(String transformation)` Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction policy files.
    `static AlgorithmParameterSpec` | Cipher.`getMaxAllowedParameterSpec(String transformation)` Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
    `Object` | SealedObject.`getObject(Key key)` Retrieves the original (encapsulated) object.
    `Object` | SealedObject.`getObject(Key key, String provider)` Retrieves the original (encapsulated) object.
    `Key` | Cipher.`unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)` Unwrap a previously wrapped key.

    Constructors in javax.crypto that throw NoSuchAlgorithmException
    Constructor and Description
    `EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)` Constructs an `EncryptedPrivateKeyInfo` from the encryption algorithm parameters and the encrypted data.
    `EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)` Constructs an `EncryptedPrivateKeyInfo` from the encryption algorithm name and the encrypted data.

  - ### Uses of NoSuchAlgorithmException in javax.net.ssl

    Methods in javax.net.ssl that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | KeyManagerFactorySpi.`engineInit(KeyStore ks, char[] password)` Initializes this factory with a source of key material.
    `static SSLContext` | SSLContext.`getDefault()` Returns the default SSL context.
    `static TrustManagerFactory` | TrustManagerFactory.`getInstance(String algorithm)` Returns a `TrustManagerFactory` object that acts as a factory for trust managers.
    `static KeyManagerFactory` | KeyManagerFactory.`getInstance(String algorithm)` Returns a `KeyManagerFactory` object that acts as a factory for key managers.
    `static SSLContext` | SSLContext.`getInstance(String protocol)` Returns a `SSLContext` object that implements the specified secure socket protocol.
    `static TrustManagerFactory` | TrustManagerFactory.`getInstance(String algorithm, Provider provider)` Returns a `TrustManagerFactory` object that acts as a factory for trust managers.
    `static KeyManagerFactory` | KeyManagerFactory.`getInstance(String algorithm, Provider provider)` Returns a `KeyManagerFactory` object that acts as a factory for key managers.
    `static SSLContext` | SSLContext.`getInstance(String protocol, Provider provider)` Returns a `SSLContext` object that implements the specified secure socket protocol.
    `static TrustManagerFactory` | TrustManagerFactory.`getInstance(String algorithm, String provider)` Returns a `TrustManagerFactory` object that acts as a factory for trust managers.
    `static KeyManagerFactory` | KeyManagerFactory.`getInstance(String algorithm, String provider)` Returns a `KeyManagerFactory` object that acts as a factory for key managers.
    `static SSLContext` | SSLContext.`getInstance(String protocol, String provider)` Returns a `SSLContext` object that implements the specified secure socket protocol.
    `void` | KeyManagerFactory.`init(KeyStore ks, char[] password)` Initializes this factory with a source of key material.

  - ### Uses of NoSuchAlgorithmException in javax.security.auth.login

    Methods in javax.security.auth.login that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `static Configuration` | Configuration.`getInstance(String type, Configuration.Parameters params)` Returns a Configuration object of the specified type.
    `static Configuration` | Configuration.`getInstance(String type, Configuration.Parameters params, Provider provider)` Returns a Configuration object of the specified type.
    `static Configuration` | Configuration.`getInstance(String type, Configuration.Parameters params, String provider)` Returns a Configuration object of the specified type.

  - ### Uses of NoSuchAlgorithmException in javax.security.cert

    Methods in javax.security.cert that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | Certificate.`verify(PublicKey key)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.
    `abstract void` | Certificate.`verify(PublicKey key, String sigProvider)` Verifies that this certificate was signed using the private key that corresponds to the specified public key.

  - ### Uses of NoSuchAlgorithmException in javax.xml.crypto.dsig

    Methods in javax.xml.crypto.dsig that throw NoSuchAlgorithmException
    Modifier and Type | Method and Description
    --- | ---
    `static TransformService` | TransformService.`getInstance(String algorithm, String mechanismType)` Returns a `TransformService` that supports the specified algorithm URI (ex: `Transform.XPATH2`) and mechanism type (ex: DOM).
    `static TransformService` | TransformService.`getInstance(String algorithm, String mechanismType, Provider provider)` Returns a `TransformService` that supports the specified algorithm URI (ex: `Transform.XPATH2`) and mechanism type (ex: DOM) as supplied by the specified provider.
    `static TransformService` | TransformService.`getInstance(String algorithm, String mechanismType, String provider)` Returns a `TransformService` that supports the specified algorithm URI (ex: `Transform.XPATH2`) and mechanism type (ex: DOM) as supplied by the specified provider.
    `abstract CanonicalizationMethod` | XMLSignatureFactory.`newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)` Creates a `CanonicalizationMethod` for the specified algorithm URI and parameters.
    `abstract CanonicalizationMethod` | XMLSignatureFactory.`newCanonicalizationMethod(String algorithm, XMLStructure params)` Creates a `CanonicalizationMethod` for the specified algorithm URI and parameters.
    `abstract DigestMethod` | XMLSignatureFactory.`newDigestMethod(String algorithm, DigestMethodParameterSpec params)` Creates a `DigestMethod` for the specified algorithm URI and parameters.
    `abstract SignatureMethod` | XMLSignatureFactory.`newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)` Creates a `SignatureMethod` for the specified algorithm URI and parameters.
    `abstract Transform` | XMLSignatureFactory.`newTransform(String algorithm, TransformParameterSpec params)` Creates a `Transform` for the specified algorithm URI and parameters.
    `abstract Transform` | XMLSignatureFactory.`newTransform(String algorithm, XMLStructure params)` Creates a `Transform` for the specified algorithm URI and parameters.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.