Uses of Class
java.security.NoSuchAlgorithmException
-
Packages that use NoSuchAlgorithmException 软件包 描述 com.sun.jarsigner 该包包含用于定义jarsigner
工具使用的签名机制的接口和类。java.security 提供安全框架的类和接口。java.security.cert 提供用于解析和管理证书,证书撤销列表(CRL)和认证路径的类和接口。javax.crypto 提供加密操作的类和接口。javax.net.ssl 为安全套接字包提供类。javax.security.auth.login 该包提供了一个可插拔的认证框架。javax.security.cert 提供公钥证书类。javax.smartcardio Java™智能卡I / O APIjavax.xml.crypto.dsig 用于生成和验证XML数字签名的类。jdk.security.jarsigner -
-
Uses of NoSuchAlgorithmException in com.sun.jarsigner
Methods in com.sun.jarsigner that throw NoSuchAlgorithmException Modifier and Type 方法 描述 abstract byte[]
ContentSigner. generateSignedData(ContentSignerParameters parameters, boolean omitContent, boolean applyTimestamp)
已过时。生成PKCS#7签名的数据消息。 -
Uses of NoSuchAlgorithmException in java.security
Methods in java.security that throw NoSuchAlgorithmException Modifier and Type 方法 描述 KeyStore.Entry
KeyStoreSpi. engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)
获取具有指定保护参数的指定别名的KeyStore.Entry
。abstract Key
KeyStoreSpi. engineGetKey(String alias, char[] password)
返回与给定别名相关联的密钥,使用给定的密码恢复它。abstract void
KeyStoreSpi. engineLoad(InputStream stream, char[] password)
从给定的输入流加载密钥库。void
KeyStoreSpi. engineLoad(KeyStore.LoadStoreParameter param)
使用给定的KeyStore.LoadStoreParameter
加载密钥库。abstract void
KeyStoreSpi. engineStore(OutputStream stream, char[] password)
将此密钥库存储到给定的输出流,并使用给定的密码保护其完整性。void
KeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param)
使用给定的KeyStore.LoadStoreParmeter
存储此密钥库。KeyStore.Entry
KeyStore. getEntry(String alias, KeyStore.ProtectionParameter protParam)
获取具有指定保护参数的指定别名的密钥库Entry
。static AlgorithmParameterGenerator
AlgorithmParameterGenerator. getInstance(String algorithm)
返回一个AlgorithmParameterGenerator对象,用于生成与指定算法一起使用的一组参数。static AlgorithmParameterGenerator
AlgorithmParameterGenerator. getInstance(String algorithm, String provider)
返回一个AlgorithmParameterGenerator对象,用于生成与指定算法一起使用的一组参数。static AlgorithmParameterGenerator
AlgorithmParameterGenerator. getInstance(String algorithm, Provider provider)
返回一个AlgorithmParameterGenerator对象,用于生成与指定算法一起使用的一组参数。static AlgorithmParameters
AlgorithmParameters. getInstance(String algorithm)
返回指定算法的参数对象。static AlgorithmParameters
AlgorithmParameters. getInstance(String algorithm, String provider)
返回指定算法的参数对象。static AlgorithmParameters
AlgorithmParameters. getInstance(String algorithm, Provider provider)
返回指定算法的参数对象。static KeyFactory
KeyFactory. getInstance(String algorithm)
返回一个KeyFactory对象,它转换指定算法的公钥/私钥。static KeyFactory
KeyFactory. getInstance(String algorithm, String provider)
返回一个KeyFactory对象,它转换指定算法的公钥/私钥。static KeyFactory
KeyFactory. getInstance(String algorithm, Provider provider)
返回一个KeyFactory对象,它转换指定算法的公钥/私钥。static KeyPairGenerator
KeyPairGenerator. getInstance(String algorithm)
返回一个KeyPairGenerator对象,该对象为指定的算法生成公钥/私钥对。static KeyPairGenerator
KeyPairGenerator. getInstance(String algorithm, String provider)
返回一个KeyPairGenerator对象,该对象为指定的算法生成公钥/私钥对。static KeyPairGenerator
KeyPairGenerator. getInstance(String algorithm, Provider provider)
返回一个KeyPairGenerator对象,该对象为指定的算法生成公钥/私钥对。static KeyStore
KeyStore. getInstance(File file, char[] password)
返回相应密钥库类型的加载密钥库对象。static KeyStore
KeyStore. getInstance(File file, KeyStore.LoadStoreParameter param)
返回相应密钥库类型的加载密钥库对象。static MessageDigest
MessageDigest. getInstance(String algorithm)
返回实现指定摘要算法的MessageDigest对象。static MessageDigest
MessageDigest. getInstance(String algorithm, String provider)
返回实现指定摘要算法的MessageDigest对象。static MessageDigest
MessageDigest. getInstance(String algorithm, Provider provider)
返回实现指定摘要算法的MessageDigest对象。static Policy
Policy. getInstance(String type, Policy.Parameters params)
返回指定类型的Policy对象。static Policy
Policy. getInstance(String type, Policy.Parameters params, String provider)
返回指定类型的Policy对象。static Policy
Policy. getInstance(String type, Policy.Parameters params, Provider provider)
返回指定类型的Policy对象。static SecureRandom
SecureRandom. getInstance(String algorithm)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象。static SecureRandom
SecureRandom. getInstance(String algorithm, String provider)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象。static SecureRandom
SecureRandom. getInstance(String algorithm, Provider provider)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象。static SecureRandom
SecureRandom. getInstance(String algorithm, SecureRandomParameters params)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象,并支持指定的SecureRandomParameters
请求。static SecureRandom
SecureRandom. getInstance(String algorithm, SecureRandomParameters params, String provider)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象,并支持指定的SecureRandomParameters
请求。static SecureRandom
SecureRandom. getInstance(String algorithm, SecureRandomParameters params, Provider provider)
返回实现指定的随机数生成器(RNG)算法的SecureRandom
对象,并支持指定的SecureRandomParameters
请求。static Signature
Signature. getInstance(String algorithm)
返回实现指定签名算法的Signature对象。static Signature
Signature. getInstance(String algorithm, String provider)
返回实现指定签名算法的Signature对象。static Signature
Signature. getInstance(String algorithm, Provider provider)
返回实现指定签名算法的Signature对象。static SecureRandom
SecureRandom. getInstanceStrong()
返回通过使用securerandom.strongAlgorithms
Security
属性中指定的算法/提供程序选择的SecureRandom
对象。Key
KeyStore. getKey(String alias, char[] password)
返回与给定别名相关联的密钥,使用给定的密码恢复它。void
KeyStore. load(InputStream stream, char[] password)
从给定的输入流加载此KeyStore。void
KeyStore. load(KeyStore.LoadStoreParameter param)
使用给定的LoadStoreParameter
加载此密钥库。Object
Provider.Service. newInstance(Object constructorParameter)
返回此服务描述的实现的新实例。void
KeyStore. store(OutputStream stream, char[] password)
将此密钥库存储到给定的输出流,并使用给定的密码保护其完整性。void
KeyStore. store(KeyStore.LoadStoreParameter param)
使用给定的LoadStoreParameter
存储此密钥库。 -
Uses of NoSuchAlgorithmException in java.security.cert
Methods in java.security.cert that throw NoSuchAlgorithmException Modifier and Type 方法 描述 static CertPathBuilder
CertPathBuilder. getInstance(String algorithm)
返回实现指定算法的CertPathBuilder
对象。static CertPathBuilder
CertPathBuilder. getInstance(String algorithm, String provider)
返回实现指定算法的CertPathBuilder
对象。static CertPathBuilder
CertPathBuilder. getInstance(String algorithm, Provider provider)
返回实现指定算法的CertPathBuilder
对象。static CertPathValidator
CertPathValidator. getInstance(String algorithm)
返回实现指定算法的CertPathValidator
对象。static CertPathValidator
CertPathValidator. getInstance(String algorithm, String provider)
返回实现指定算法的CertPathValidator
对象。static CertPathValidator
CertPathValidator. getInstance(String algorithm, Provider provider)
返回实现指定算法的CertPathValidator
对象。static CertStore
CertStore. getInstance(String type, CertStoreParameters params)
返回实现指定的CertStore
类型的CertStore
对象,并使用指定的参数进行初始化。static CertStore
CertStore. getInstance(String type, CertStoreParameters params, String provider)
返回实现指定的CertStore
类型的CertStore
对象。static CertStore
CertStore. getInstance(String type, CertStoreParameters params, Provider provider)
返回实现指定的CertStore
类型的CertStore
对象。abstract void
Certificate. verify(PublicKey key)
使用与指定公钥对应的私钥验证此证书是否已经签名。abstract void
Certificate. verify(PublicKey key, String sigProvider)
使用与指定公钥对应的私钥验证此证书是否已经签名。void
Certificate. verify(PublicKey key, Provider sigProvider)
使用与指定公钥对应的私钥验证此证书是否已经签名。void
X509Certificate. verify(PublicKey key, Provider sigProvider)
使用与指定公钥对应的私钥验证此证书是否已经签名。abstract void
X509CRL. verify(PublicKey key)
验证此CRL是否使用与给定公钥对应的私钥进行签名。abstract void
X509CRL. verify(PublicKey key, String sigProvider)
验证此CRL是否使用与给定公钥对应的私钥进行签名。void
X509CRL. verify(PublicKey key, Provider sigProvider)
验证此CRL是否使用与给定公钥对应的私钥进行签名。 -
Uses of NoSuchAlgorithmException in javax.crypto
Methods in javax.crypto that throw NoSuchAlgorithmException Modifier and Type 方法 描述 protected abstract SecretKey
KeyAgreementSpi. engineGenerateSecret(String algorithm)
创建共享密钥,并将其作为请求的算法类型的秘密密钥对象返回。protected abstract void
CipherSpi. engineSetMode(String mode)
设置此密码的模式。protected Key
CipherSpi. engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
打开以前包装的钥匙。SecretKey
KeyAgreement. generateSecret(String algorithm)
创建共享密钥,并将其作为指定算法的SecretKey
对象返回。static Cipher
Cipher. getInstance(String transformation)
返回实现指定转换的Cipher
对象。static Cipher
Cipher. getInstance(String transformation, String provider)
返回实现指定转换的Cipher
对象。static Cipher
Cipher. getInstance(String transformation, Provider provider)
返回实现指定转换的Cipher
对象。static ExemptionMechanism
ExemptionMechanism. getInstance(String algorithm)
返回实现指定的免除机制算法的ExemptionMechanism
对象。static ExemptionMechanism
ExemptionMechanism. getInstance(String algorithm, String provider)
返回实现指定的免除机制算法的ExemptionMechanism
对象。static ExemptionMechanism
ExemptionMechanism. getInstance(String algorithm, Provider provider)
返回实现指定的免除机制算法的ExemptionMechanism
对象。static KeyAgreement
KeyAgreement. getInstance(String algorithm)
返回实现指定的密钥协商算法的KeyAgreement
对象。static KeyAgreement
KeyAgreement. getInstance(String algorithm, String provider)
返回一个KeyAgreement
对象,实现指定的密钥协商算法。static KeyAgreement
KeyAgreement. getInstance(String algorithm, Provider provider)
返回实现指定的密钥协商算法的KeyAgreement
对象。static KeyGenerator
KeyGenerator. getInstance(String algorithm)
返回一个产生指定算法的密钥的KeyGenerator
对象。static KeyGenerator
KeyGenerator. getInstance(String algorithm, String provider)
返回产生指定算法的密钥的KeyGenerator
对象。static KeyGenerator
KeyGenerator. getInstance(String algorithm, Provider provider)
返回一个产生指定算法的密钥的KeyGenerator
对象。static Mac
Mac. getInstance(String algorithm)
返回实现指定MAC算法的Mac
对象。static Mac
Mac. getInstance(String algorithm, String provider)
返回实现指定的MAC算法的Mac
对象。static Mac
Mac. getInstance(String algorithm, Provider provider)
返回实现指定MAC算法的Mac
对象。static SecretKeyFactory
SecretKeyFactory. getInstance(String algorithm)
返回一个转换指定算法的密钥的SecretKeyFactory
对象。static SecretKeyFactory
SecretKeyFactory. getInstance(String algorithm, String provider)
返回一个转换指定算法的密钥的SecretKeyFactory
对象。static SecretKeyFactory
SecretKeyFactory. getInstance(String algorithm, Provider provider)
返回一个转换指定算法的密钥的SecretKeyFactory
对象。PKCS8EncodedKeySpec
EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey)
从加密数据中提取附带的PKCS8EncodedKeySpec对象并返回。PKCS8EncodedKeySpec
EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, String providerName)
从加密数据中提取附带的PKCS8EncodedKeySpec对象并返回。PKCS8EncodedKeySpec
EncryptedPrivateKeyInfo. getKeySpec(Key decryptKey, Provider provider)
从加密数据中提取附带的PKCS8EncodedKeySpec对象并返回。static int
Cipher. getMaxAllowedKeyLength(String transformation)
根据已安装的JCE管辖区策略文件,返回指定转换的最大密钥长度。static AlgorithmParameterSpec
Cipher. getMaxAllowedParameterSpec(String transformation)
返回一个AlgorithmParameterSpec对象,该对象包含根据管辖区策略文件的最大密码参数值。Object
SealedObject. getObject(Key key)
检索原始(封装)对象。Object
SealedObject. getObject(Key key, String provider)
检索原始(封装)对象。Key
Cipher. unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
打开以前包装的钥匙。Constructors in javax.crypto that throw NoSuchAlgorithmException Constructor 描述 EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
从加密算法名称和加密数据构造一个EncryptedPrivateKeyInfo
。EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)
从加密算法参数和加密数据构建一个EncryptedPrivateKeyInfo
。 -
Uses of NoSuchAlgorithmException in javax.net.ssl
Methods in javax.net.ssl that throw NoSuchAlgorithmException Modifier and Type 方法 描述 protected abstract void
KeyManagerFactorySpi. engineInit(KeyStore ks, char[] password)
使用关键材料来源初始化该工厂。static SSLContext
SSLContext. getDefault()
返回默认的SSL上下文。static KeyManagerFactory
KeyManagerFactory. getInstance(String algorithm)
返回一个KeyManagerFactory
对象,作为主要管理员的工厂。static KeyManagerFactory
KeyManagerFactory. getInstance(String algorithm, String provider)
返回一个KeyManagerFactory
对象,作为主要管理员的工厂。static KeyManagerFactory
KeyManagerFactory. getInstance(String algorithm, Provider provider)
返回一个KeyManagerFactory
对象,作为关键经理的工厂。static SSLContext
SSLContext. getInstance(String protocol)
返回实现指定安全套接字协议的SSLContext
对象。static SSLContext
SSLContext. getInstance(String protocol, String provider)
返回实现指定安全套接字协议的SSLContext
对象。static SSLContext
SSLContext. getInstance(String protocol, Provider provider)
返回实现指定安全套接字协议的SSLContext
对象。static TrustManagerFactory
TrustManagerFactory. getInstance(String algorithm)
返回一个作为信任管理器的工厂的TrustManagerFactory
对象。static TrustManagerFactory
TrustManagerFactory. getInstance(String algorithm, String provider)
返回一个TrustManagerFactory
对象,作为信任管理器的工厂。static TrustManagerFactory
TrustManagerFactory. getInstance(String algorithm, Provider provider)
返回一个作为信任管理器的工厂的TrustManagerFactory
对象。void
KeyManagerFactory. init(KeyStore ks, char[] password)
使用关键材料来源初始化该工厂。 -
Uses of NoSuchAlgorithmException in javax.security.auth.login
Methods in javax.security.auth.login that throw NoSuchAlgorithmException Modifier and Type 方法 描述 static Configuration
Configuration. getInstance(String type, Configuration.Parameters params)
返回指定类型的Configuration对象。static Configuration
Configuration. getInstance(String type, Configuration.Parameters params, String provider)
返回指定类型的Configuration对象。static Configuration
Configuration. getInstance(String type, Configuration.Parameters params, Provider provider)
返回指定类型的Configuration对象。 -
Uses of NoSuchAlgorithmException in javax.security.cert
Methods in javax.security.cert that throw NoSuchAlgorithmException Modifier and Type 方法 描述 abstract void
Certificate. verify(PublicKey key)
已过时。使用与指定公钥对应的私钥验证此证书是否已经签名。abstract void
Certificate. verify(PublicKey key, String sigProvider)
已过时。使用与指定公钥对应的私钥验证此证书是否已经签名。 -
Uses of NoSuchAlgorithmException in javax.smartcardio
Methods in javax.smartcardio that throw NoSuchAlgorithmException Modifier and Type 方法 描述 static TerminalFactory
TerminalFactory. getInstance(String type, Object params)
返回使用指定参数初始化的指定类型的TerminalFactory。static TerminalFactory
TerminalFactory. getInstance(String type, Object params, String provider)
返回使用指定参数初始化的指定类型的TerminalFactory。static TerminalFactory
TerminalFactory. getInstance(String type, Object params, Provider provider)
返回使用指定参数初始化的指定类型的TerminalFactory。 -
Uses of NoSuchAlgorithmException in javax.xml.crypto.dsig
Methods in javax.xml.crypto.dsig that throw NoSuchAlgorithmException Modifier and Type 方法 描述 static TransformService
TransformService. getInstance(String algorithm, String mechanismType)
返回一个TransformService
支持指定算法URI(例如:Transform.XPATH2
)和机制类型(比如:DOM)。static TransformService
TransformService. getInstance(String algorithm, String mechanismType, String provider)
返回一个TransformService
,它支持由指定的提供者提供的指定的算法URI(例如:Transform.XPATH2
)和机制类型(例如:DOM)。static TransformService
TransformService. getInstance(String algorithm, String mechanismType, Provider provider)
abstract CanonicalizationMethod
XMLSignatureFactory. newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)
为指定的算法URI和参数创建一个CanonicalizationMethod
。abstract CanonicalizationMethod
XMLSignatureFactory. newCanonicalizationMethod(String algorithm, XMLStructure params)
为指定的算法URI和参数创建一个CanonicalizationMethod
。abstract DigestMethod
XMLSignatureFactory. newDigestMethod(String algorithm, DigestMethodParameterSpec params)
为指定的算法URI和参数创建一个DigestMethod
。abstract SignatureMethod
XMLSignatureFactory. newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)
为指定的算法URI和参数创建一个SignatureMethod
。abstract Transform
XMLSignatureFactory. newTransform(String algorithm, TransformParameterSpec params)
为指定的算法URI和参数创建一个Transform
。abstract Transform
XMLSignatureFactory. newTransform(String algorithm, XMLStructure params)
为指定的算法URI和参数创建一个Transform
。 -
Uses of NoSuchAlgorithmException in jdk.security.jarsigner
Methods in jdk.security.jarsigner that throw NoSuchAlgorithmException Modifier and Type 方法 描述 JarSigner.Builder
JarSigner.Builder. digestAlgorithm(String algorithm)
设置摘要算法。JarSigner.Builder
JarSigner.Builder. digestAlgorithm(String algorithm, Provider provider)
从指定的提供者设置摘要算法。JarSigner.Builder
JarSigner.Builder. signatureAlgorithm(String algorithm)
设置签名算法。JarSigner.Builder
JarSigner.Builder. signatureAlgorithm(String algorithm, Provider provider)
从指定的提供者设置签名算法。
-