Module java.base

Interface RSAKey

所有已知的子接口:
RSAMultiPrimePrivateCrtKey, RSAPrivateCrtKey, RSAPrivateKey, RSAPublicKey

public interface RSAKey
PKCS#1 v2.2标准中的公钥或私钥接口,例如RSA或RSASSA-PSS算法。
自版本:
1.3
参见:
  • Method Details

    • getModulus

      BigInteger getModulus()
      返回模数。
      返回:
      模数
    • getParams

      default AlgorithmParameterSpec getParams()
      返回与此密钥关联的参数。参数是可选的,可以在密钥对生成期间显式指定或隐式创建。
      实现要求:
      默认实现返回null
      返回:
      关联的参数,可能为null
      自版本:
      11