io.vertx.ext.auth.otp

## Class OtpKey

- java.lang.Object
- - io.vertx.ext.auth.otp.OtpKey

-     public class OtpKey
      extends Object

  Key of specific user.
  Author:
    Dmitry Novikov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OtpKey()`
    `OtpKey(JsonObject json)`
    `OtpKey(OtpKey other)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAlgorithm()`
    `String` | `getKey()`
    `byte[]` | `getKeyBytes()`
    `OtpKey` | `setAlgorithm(String algorithm)`
    `OtpKey` | `setKey(String key)`
    `JsonObject` | `toJson()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### OtpKey

          public OtpKey()

    - #### OtpKey

          public OtpKey(OtpKey other)

    - #### OtpKey

          public OtpKey(JsonObject json)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### getKeyBytes

          public byte[] getKeyBytes()

    - #### setKey

          public OtpKey setKey(String key)

    - #### getAlgorithm

          public String getAlgorithm()

    - #### setAlgorithm

          public OtpKey setAlgorithm(String algorithm)

    - #### toJson

          public JsonObject toJson()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 Eclipse. All rights reserved.