站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.security.NoSuchAlgorithmException (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.security.NoSuchAlgorithmException

Packages that use NoSuchAlgorithmException
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.cert Provides classes for public key certificates. 
 

Uses of NoSuchAlgorithmException in java.security
 

Methods in java.security that throw NoSuchAlgorithmException
 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)
          Generates a KeyPairGenerator object that implements the specified digest algorithm.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm)
          Generates an AlgorithmParameterGenerator object that implements the specified digest algorithm.
static KeyFactory KeyFactory.getInstance(String algorithm)
          Generates a KeyFactory object that implements the specified algorithm.
static Signature Signature.getInstance(String algorithm)
          Generates a Signature object that implements the specified digest algorithm.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm)
          Generates a parameter object for the specified algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm)
          Generates a MessageDigest object that implements the specified digest algorithm.
static SecureRandom SecureRandom.getInstance(String algorithm)
          Generates a SecureRandom object that implements the specified Random Number Generator (RNG) algorithm.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, Provider provider)
          Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, Provider provider)
          Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider.
static KeyFactory KeyFactory.getInstance(String algorithm, Provider provider)
          Generates a KeyFactory object for the specified algorithm from the specified provider.
static Signature Signature.getInstance(String algorithm, Provider provider)
          Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, Provider provider)
          Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider.
static MessageDigest MessageDigest.getInstance(String algorithm, Provider provider)
          Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static SecureRandom SecureRandom.getInstance(String algorithm, Provider provider)
          Generates a SecureRandom object for the specified RNG algorithm, as supplied from the specified provider, if such a RNG implementation is available from the provider.
static KeyPairGenerator KeyPairGenerator.getInstance(String algorithm, String provider)
          Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameterGenerator AlgorithmParameterGenerator.getInstance(String algorithm, String provider)
          Generates an AlgorithmParameterGenerator object for the requested algorithm, as supplied from the specified provider, if such a parameter generator is available from the provider.
static KeyFactory KeyFactory.getInstance(String algorithm, String provider)
          Generates a KeyFactory object for the specified algorithm from the specified provider.
static Signature Signature.getInstance(String algorithm, String provider)
          Generates a Signature object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static AlgorithmParameters AlgorithmParameters.getInstance(String algorithm, String provider)
          Generates a parameter object for the specified algorithm, as supplied by the specified provider, if such an algorithm is available from the provider.
static MessageDigest MessageDigest.getInstance(String algorithm, String provider)
          Generates a MessageDigest object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider.
static SecureRandom SecureRandom.getInstance(String algorithm, String provider)
          Generates a SecureRandom object for the specified RNG algorithm, as supplied from the specified provider, if such a RNG implementation is available from the provider.
 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
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, as supplied by the specified provider and initialized with the specified parameters.
static CertStore CertStore.getInstance(String type, CertStoreParameters params, String provider)
          Returns a CertStore object that implements the specified CertStore type, as supplied by the specified provider and initialized with the specified parameters.
static CertPathValidator CertPathValidator.getInstance(String algorithm, Provider provider)
          Returns a CertPathValidator object that implements the specified algorithm, as supplied by the specified provider.
static CertPathBuilder CertPathBuilder.getInstance(String algorithm, Provider provider)
          Returns a CertPathBuilder object that implements the specified algorithm, as supplied by the specified provider.
static CertPathValidator CertPathValidator.getInstance(String algorithm, String provider)
          Returns a CertPathValidator object that implements the specified algorithm, as supplied by the specified provider.
static CertPathBuilder CertPathBuilder.getInstance(String algorithm, String provider)
          Returns a CertPathBuilder object that implements the specified algorithm, as supplied by the specified provider.
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.
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
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 SecretKeyFactory SecretKeyFactory.getInstance(String algorithm)
          Generates a SecretKeyFactory object for the specified secret-key algorithm.
static Mac Mac.getInstance(String algorithm)
          Generates an Mac object that implements the specified MAC algorithm.
static KeyGenerator KeyGenerator.getInstance(String algorithm)
          Generates a KeyGenerator object for the specified algorithm.
static KeyAgreement KeyAgreement.getInstance(String algorithm)
          Generates a KeyAgreement object that implements the specified key agreement algorithm.
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm)
          Generates a ExemptionMechanism object that implements the specified exemption mechanism algorithm.
static Cipher Cipher.getInstance(String transformation)
          Generates a Cipher object that implements the specified transformation.
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm, Provider provider)
          Generates a SecretKeyFactory object for the specified secret-key algorithm from the specified provider.
static Mac Mac.getInstance(String algorithm, Provider provider)
          Generates an Mac object for the specified MAC algorithm from the specified provider.
static KeyGenerator KeyGenerator.getInstance(String algorithm, Provider provider)
          Generates a KeyGenerator object for the specified key algorithm from the specified provider.
static KeyAgreement KeyAgreement.getInstance(String algorithm, Provider provider)
          Generates a KeyAgreement object for the specified key agreement algorithm from the specified provider.
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm, Provider provider)
          Generates a ExemptionMechanism object for the specified exemption mechanism algorithm from the specified provider.
static Cipher Cipher.getInstance(String transformation, Provider provider)
          Creates a Cipher object that implements the specified transformation, as supplied by the specified provider.
static SecretKeyFactory SecretKeyFactory.getInstance(String algorithm, String provider)
          Generates a SecretKeyFactory object for the specified secret-key algorithm from the specified provider.
static Mac Mac.getInstance(String algorithm, String provider)
          Generates an Mac object for the specified MAC algorithm from the specified provider.
static KeyGenerator KeyGenerator.getInstance(String algorithm, String provider)
          Generates a KeyGenerator object for the specified key algorithm from the specified provider.
static KeyAgreement KeyAgreement.getInstance(String algorithm, String provider)
          Generates a KeyAgreement object for the specified key agreement algorithm from the specified provider.
static ExemptionMechanism ExemptionMechanism.getInstance(String algorithm, String provider)
          Generates a ExemptionMechanism object for the specified exemption mechanism from the specified provider.
static Cipher Cipher.getInstance(String transformation, String provider)
          Creates a Cipher object that implements the specified transformation, as supplied by the specified provider.
 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
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
protected abstract  void KeyManagerFactorySpi.engineInit(KeyStore ks, char[] password)
          Initializes this factory with a source of key material.
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm)
          Generates a TrustManagerFactory object that implements the specified trust management algorithm.
static SSLContext SSLContext.getInstance(String protocol)
          Generates a SSLContext object that implements the specified secure socket protocol.
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm)
          Generates a KeyManagerFactory object that implements the specified key management algorithm.
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm, Provider provider)
          Generates a TrustManagerFactory object for the specified trust management algorithm from the specified provider.
static SSLContext SSLContext.getInstance(String protocol, Provider provider)
          Generates a SSLContext object that implements the specified secure socket protocol from the specified provider.
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm, Provider provider)
          Generates a KeyManagerFactory object for the specified key management algorithm from the specified provider.
static TrustManagerFactory TrustManagerFactory.getInstance(String algorithm, String provider)
          Generates a TrustManagerFactory object for the specified trust management algorithm from the specified provider.
static SSLContext SSLContext.getInstance(String protocol, String provider)
          Generates a SSLContext object that implements the specified secure socket protocol from the specified provider.
static KeyManagerFactory KeyManagerFactory.getInstance(String algorithm, String provider)
          Generates a KeyManagerFactory object for the specified key management algorithm from the specified provider.
 void KeyManagerFactory.init(KeyStore ks, char[] password)
          Initializes this factory with a source of key material.
 

Uses of NoSuchAlgorithmException in javax.security.cert
 

Methods in javax.security.cert that throw NoSuchAlgorithmException
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.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.