java.lang.Object
io.getlime.security.powerauth.crypto.lib.model.RecoverySeed

public class RecoverySeed extends Object
Class representing recovery code seed information.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • RecoverySeed

      public RecoverySeed()
      Default constructor.
    • RecoverySeed

      public RecoverySeed(byte[] nonce, Map<Integer,Long> pukDerivationIndexes)
      Constructor with nonce bytes and PUK derivation indexes.
      Parameters:
      nonce - Nonce.
      pukDerivationIndexes - PUK derivation indexes.
  • Method Details

    • getNonce

      public byte[] getNonce()
      Get nonce bytes.
      Returns:
      Nonce bytes.
    • setNonce

      public void setNonce(byte[] nonce)
      Set nonce bytes.
      Parameters:
      nonce - Nonce bytes.
    • getPukDerivationIndexes

      public Map<Integer,Long> getPukDerivationIndexes()
      Get PUK derivation indexes.
      Returns:
      PUK derivation indexes.
    • setPukDerivationIndexes

      public void setPukDerivationIndexes(Map<Integer,Long> pukDerivationIndexes)
      Set PUK derivation indexes.
      Parameters:
      pukDerivationIndexes - PUK derivation indexes.