Class RSA

  • All Implemented Interfaces:
    KeyType

    public class RSA
    extends Object
    implements KeyType
    Key type that specifies the RSA_GENERAL algorithm.
    • Method Detail

      • withLength

        public static RSA withLength​(@Nonnull
                                     RsaLength length)
      • getName

        public String getName()
        Description copied from interface: KeyType
        Return the encryption algorithm name.
        Specified by:
        getName in interface KeyType
        Returns:
        algorithm name.
      • getBitStrength

        public int getBitStrength()
        Description copied from interface: KeyType
        Return the strength of the key in bits.
        Specified by:
        getBitStrength in interface KeyType
        Returns:
        strength of the key in bits