Class XMSSPrivateKeyParameters

    • Method Detail

      • getUsagesRemaining

        public long getUsagesRemaining()
      • 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.
      • extractKeyShard

        public XMSSPrivateKeyParameters 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.
      • getIndex

        public int getIndex()
      • getSecretKeySeed

        public byte[] getSecretKeySeed()
      • getSecretKeyPRF

        public byte[] getSecretKeyPRF()
      • getPublicSeed

        public byte[] getPublicSeed()
      • getRoot

        public byte[] getRoot()