Class XMSSMTPrivateKeyParameters

    • Method Detail

      • getEncoded

        public byte[] getEncoded()
                          throws java.io.IOException
        Description copied from interface: Encodable
        Return a byte array representing the implementing object.
        Specified by:
        getEncoded in interface Encodable
        Returns:
        a byte array representing the encoding.
        Throws:
        java.io.IOException - if an issue arises generation the encoding.
      • getIndex

        public long getIndex()
      • getUsagesRemaining

        public long getUsagesRemaining()
      • getSecretKeySeed

        public byte[] getSecretKeySeed()
      • getSecretKeyPRF

        public byte[] getSecretKeyPRF()
      • getPublicSeed

        public byte[] getPublicSeed()
      • getRoot

        public byte[] getRoot()
      • extractKeyShard

        public XMSSMTPrivateKeyParameters extractKeyShard​(int usageCount)
        Return a key that can be used usageCount times.

        Note: this will use the range [index...index + usageCount) for the current key.

        Parameters:
        usageCount - the number of usages the key should have.
        Returns:
        a key based on the current key that can be used usageCount times.