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 该包定义了用于签署jar文件的API。 -
-
Uses of NoSuchAlgorithmException in com.sun.jarsigner
Methods in com.sun.jarsigner that throw NoSuchAlgorithmException 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 构造器 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 static TransformService
TransformService. getInstance(String algorithm, String mechanismType)
返回一个TransformService
支持指定算法URI(例如:Transform.XPATH2
)和机制类型(比如:DOM)。static TransformService
TransformService. getInstance(String algorithm, String mechanismType, String provider)
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 变量和类型 方法 描述 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)
从指定的提供程序设置签名算法。
-