Class FipsRSA.OAEPKTSParameters

  • All Implemented Interfaces:
    Parameters
    Enclosing class:
    FipsRSA

    public static final class FipsRSA.OAEPKTSParameters
    extends FipsRSA.KTSParameters
    Parameters for RSA based key transport using OAEP.
    • Method Detail

      • withOAEPParameters

        public FipsRSA.OAEPKTSParameters withOAEPParameters​(FipsRSA.OAEPParameters oaepParameters)
        Specify the OAEP parameters to use during the transport step.
        Parameters:
        oaepParameters - the OAEP parameters to use.
        Returns:
        a new parameter set.
      • withKeySizeInBits

        public FipsRSA.OAEPKTSParameters withKeySizeInBits​(int keySizeInBits)
        Specify a size for the key material to be transported.
        Parameters:
        keySizeInBits - the size of the key to be transported.
        Returns:
        a new parameter set.
      • withMacKeySizeInBits

        public FipsRSA.OAEPKTSParameters withMacKeySizeInBits​(int macKeySizeInBits)
        Specify a size for a MAC key to be used for the key confirmation step.
        Parameters:
        macKeySizeInBits - the size of the MAC key to use.
        Returns:
        a new parameter set.
      • getKeySizeInBits

        public int getKeySizeInBits()
      • getMacKeySizeInBits

        public int getMacKeySizeInBits()