Uses of Class java.security.NoSuchAlgorithmException

Uses in package java.security

Methods which throw type java.security.NoSuchAlgorithmException

Key
KeyStoreSpi.engineGetKey(String alias, char[] password)
Returns the key associated with given alias using the supplied password.
void
KeyStoreSpi.engineLoad(InputStream stream, char[] password)
Loads the keystore from the specified input stream and it uses the specified password to check for integrity if supplied.
void
KeyStoreSpi.engineStore(OutputStream stream, char[] password)
Stores the keystore in the specified output stream and it uses the specified key it keep it secure.
AlgorithmParameterGenerator
Returns a new AlgorithmParameterGenerator instance which generates algorithm parameters for the specified algorithm.
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters.
KeyFactory
Returns a new instance of KeyFactory representing the specified key factory.
KeyPairGenerator
Returns a new instance of KeyPairGenerator which generates key-pairs for the specified algorithm.
MessageDigest
Returns a new instance of MessageDigest representing the specified algorithm.
SecureRandom
Returns an instance of a SecureRandom from the first provider that implements it.
Signature
Returns an instance of Signature representing the specified signature.
AlgorithmParameterGenerator
Returns a new AlgorithmParameterGenerator instance which generates algorithm parameters for the specified algorithm.
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters from a named provider.
KeyFactory
KeyFactory.getInstance(String algorithm, String provider)
Returns a new instance of KeyFactory representing the specified key factory from the specified provider.
KeyPairGenerator
KeyPairGenerator.getInstance(String algorithm, String provider)
Returns a new instance of KeyPairGenerator which generates key-pairs for the specified algorithm from a named provider.
MessageDigest
MessageDigest.getInstance(String algorithm, String provider)
Returns a new instance of MessageDigest representing the specified algorithm from a named provider.
SecureRandom
SecureRandom.getInstance(String algorithm, String provider)
Returns an instance of a SecureRandom for the specified algorithm from the named provider.
Signature
Signature.getInstance(String algorithm, String provider)
Returns an instance of Signature representing the specified signature from the named provider.
AlgorithmParameterGenerator
Returns a new AlgorithmParameterGenerator instance which generates algorithm parameters for the specified algorithm.
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters from the specified Provider.
KeyFactory
KeyFactory.getInstance(String algorithm, Provider provider)
Returns a new instance of KeyFactory representing the specified key factory from the designated Provider.
KeyPairGenerator
Returns a new instance of KeyPairGenerator which generates key-pairs for the specified algorithm from a designated Provider.
MessageDigest
MessageDigest.getInstance(String algorithm, Provider provider)
Returns a new instance of MessageDigest representing the specified algorithm from a designated Provider.
SecureRandom
SecureRandom.getInstance(String algorithm, Provider provider)
Returns an instance of a SecureRandom for the specified algorithm from the given provider.
Signature
Signature.getInstance(String algorithm, Provider provider)
Returns an instance of Signature representing the specified signature from the specified Provider.
Key
KeyStore.getKey(String alias, char[] password)
Returns the key associated with given alias using the supplied password.
void
KeyStore.load(InputStream stream, char[] password)
Loads the keystore from the specified input stream and it uses the specified password to check for integrity if supplied.
void
KeyStore.store(OutputStream stream, char[] password)
Stores the keystore in the specified output stream and it uses the specified key it keep it secure.

Uses in package java.security.cert

Methods which throw type java.security.NoSuchAlgorithmException

CertPathBuilder
Returns an instance of a named CertPathBuilder from the first provider that implements it.
CertPathValidator
Returns an instance of the given validator from the first provider that implements it.
CertPathBuilder
CertPathBuilder.getInstance(String algorithm, String provider)
Returns an instance of a named CertPathBuilder from a named provider.
CertPathValidator
Returns an instance of the given validator from the named provider.
CertPathBuilder
Returns an instance of a named CertPathBuilder from the specified provider.
CertPathValidator
Returns an instance of the given validator from the given provider.
CertStore
Returns an instance of the given certificate store type from the first installed provider.
CertStore
Returns an instance of the given certificate store type from a named provider.
CertStore
Returns an instance of the given certificate store type from a given provider.
void
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key.
void
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.
void
X509CRL.verify(PublicKey key, String sigProvider)
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.

Uses in package javax.security.cert

Methods which throw type java.security.NoSuchAlgorithmException

void
Verifies the signature of this certificate.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies the signature of this certificate, using the specified security provider.

Uses in package javax.net.ssl

Methods which throw type java.security.NoSuchAlgorithmException

void
KeyManagerFactorySpi.engineInit(KeyStore store, char[] passwd)
Engine method for initializing this factory with a key store and a password for private keys.
KeyManagerFactory
Create an instance of the named key manager factory, from the first provider that implements it.
SSLContext
Get an instance of a context for the specified protocol from the first provider that implements it.
TrustManagerFactory
Returns an instance of a trust manager factory for the given algorithm from the first provider that implements it.
KeyManagerFactory
Create an instance of the named key manager factory, from the named provider.
SSLContext
SSLContext.getInstance(String protocol, String provider)
Get an instance of a context for the specified protocol from the named provider.
TrustManagerFactory
Returns an instance of a trust manager factory for the given algorithm from the named provider.
KeyManagerFactory
Create an instance of the named key manager factory, from the given provider.
SSLContext
SSLContext.getInstance(String protocol, Provider provider)
Get an instance of a context for the specified protocol from the specified provider.
TrustManagerFactory
Returns an instance of a trust manager factory for the given algorithm from the specified provider.
void
KeyManagerFactory.init(KeyStore store, char[] passwd)
Initialize this instance with a key store and a password for private key entries.

Uses in package javax.crypto

Constructors which throw type java.security.NoSuchAlgorithmException

EncryptedPrivateKeyInfo.EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
Create a new EncryptedPrivateKeyInfo from the cipher name and the encrytpedData.
Create a new EncryptedPrivateKeyInfo object from raw encrypted data and the parameters used for encryption.

Methods which throw type java.security.NoSuchAlgorithmException

SecretKey
Generate the shared secret and return it as a SecretKey.
void
Set the mode in which this cipher is to run.
Key
CipherSpi.engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
Unwraps a previously-wrapped key.

For compatibility this method is not declared abstract, and the default implementation will throw an UnsupportedOperationException.

SecretKey
Generate the shared secret and return it as an appropriate SecretKey.
Cipher
Cipher.getInstance(String transformation)
Creates a new cipher instance for the given transformation.
ExemptionMechanism
Create an instance of ExemptionMechanism for a designated mechanism from the first Security Provider offering it.
KeyAgreement
Get an implementation of an algorithm from the first provider that implements it.
KeyGenerator
Create a new key generator, returning the first available implementation.
Mac
Mac.getInstance(String algorithm)
Create an instance of the named algorithm from the first provider with an appropriate implementation.
SecretKeyFactory
Create a new secret key factory from the first appropriate instance.
Cipher
Cipher.getInstance(String transformation, String provider)
Creates a new cipher instance for the given transformation and the named provider.
ExemptionMechanism
Create an instance of ExemptionMechanism for a designated mechanism from a named provider.
KeyAgreement
KeyAgreement.getInstance(String algorithm, String provider)
Return an implementation of an algorithm from a named provider.
KeyGenerator
KeyGenerator.getInstance(String algorithm, String provider)
Create a new key generator from the named provider.
Mac
Mac.getInstance(String algorithm, String provider)
Create an instance of the named algorithm from the named provider.
SecretKeyFactory
SecretKeyFactory.getInstance(String algorithm, String provider)
Create a new secret key factory from the named provider.
Cipher
Cipher.getInstance(String transformation, Provider provider)
Creates a new cipher instance for a given transformation from a given provider.
ExemptionMechanism
Create an instance of ExemptionMechanism for a designated mechanism from a designated provider.
KeyAgreement
KeyAgreement.getInstance(String algorithm, Provider provider)
Return an implementation of an algorithm from a specific provider.
KeyGenerator
KeyGenerator.getInstance(String algorithm, Provider provider)
Create a new key generator from the supplied provider.
Mac
Mac.getInstance(String algorithm, Provider provider)
Create an instance of the named algorithm from a provider.
SecretKeyFactory
Create a new secret key factory from the specified provider.
Object
Unseal and deserialize this sealed object with the specified key.
Object
SealedObject.getObject(Key key, String provider)
Unseal and deserialize this sealed object with the specified key, using a cipher from the named provider.
Key
Cipher.unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
Unwrap a previously-wrapped key.