类的用途
java.security.spec.RSAOtherPrimeInfo
使用 RSAOtherPrimeInfo 的包
包
描述
提供用于生成 RSA(Rivest、Shamir 和 Adleman AsymmetricCipher 算法)密钥的接口,如 RSA 实验室技术说明 PKCS#1 中所定义,以及 DSA(数字签名算法)密钥,如 NIST 的 FIPS-186 中所定义。
提供关键规范和算法参数规范的类和接口。
-
RSAOtherPrimeInfo 在 java.security.interfaces 中的用法
修饰符和类型方法描述RSAMultiPrimePrivateCrtKey.getOtherPrimeInfo()如果只有两个素因子(p 和 q),则返回 otherPrimeInfo 或 null。 -
RSAOtherPrimeInfo 在 java.security.spec 中的用法
java.security.spec 中返回 RSAOtherPrimeInfo 的方法修饰符和类型方法描述RSAMultiPrimePrivateCrtKeySpec.getOtherPrimeInfo()如果只有两个素因子(p 和 q),则返回 otherPrimeInfo 的副本或 null。java.security.spec 中的构造函数,参数类型为 RSAOtherPrimeInfo修饰符构造方法描述RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo) 创建一个新的RSAMultiPrimePrivateCrtKeySpec。RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo, AlgorithmParameterSpec keyParams) 使用额外的关键参数创建一个新的RSAMultiPrimePrivateCrtKeySpec。