java.lang.Object
net.i2p.crypto.RSAConstants

final class RSAConstantsextends Object
Constants for RSA.
  • Field Details

  • Constructor Details

    • RSAConstants

      RSAConstants()
      Every key spec and constant below is static, so an instance carries nothing.
  • Method Details

    • genSpec

      private static RSAKeyGenParameterSpec genSpec(int size, BigInteger exp)
      Build a key generation parameter spec.
      Parameters:
      size - the key size in bits
      exp - the public exponent
      Returns:
      the spec for a key of that size and exponent