Class OTP

java.lang.Object
org.wildfly.security.sasl.otp.OTP

public final class OTP extends Object
Constants for the OTP SASL mechanism.
Author:
Farah Juma
  • Field Details

  • Constructor Details

    • OTP

      public OTP()
  • Method Details

    • getOTPParameterSpec

      public static org.wildfly.security.password.spec.OneTimePasswordAlgorithmSpec getOTPParameterSpec(String algorithm, String seed, int sequenceNumber)
      Get the parameter specification for a one-time password generated using the given algorithm, seed, and sequence number.
      Parameters:
      algorithm - the algorithm
      seed - the seed
      sequenceNumber - the sequence number
      Returns:
      the parameter specification for a one-time password generated using the given algorithm, seed, and sequence number