Class BuilderResult


  • public class BuilderResult
    extends Object
    Class to store results from TokenBuilder. Stores the various key information
    Author:
    [email protected]
    • Constructor Detail

      • BuilderResult

        public BuilderResult()
        Creates a new instance of BuilderResult
    • Method Detail

      • getDataProtectionKey

        public Key getDataProtectionKey()
        Returns:
        the data protection key
      • setDataProtectionKey

        public void setDataProtectionKey​(Key dataProtectionKey)
        Parameters:
        dataProtectionKey - set the data protection key
      • getKeyProtectionKey

        public Key getKeyProtectionKey()
        Returns:
        the key protection key
      • setKeyProtectionKey

        public void setKeyProtectionKey​(Key keyProtectionKey)
        Parameters:
        keyProtectionKey - store the key protection key
      • getKeyInfo

        public KeyInfo getKeyInfo()
        Returns:
        the stored keyInfo
      • setKeyInfo

        public void setKeyInfo​(KeyInfo keyInfo)
        Parameters:
        keyInfo - store the keyInfo from TokenBuilder
      • getEncryptedKey

        public EncryptedKey getEncryptedKey()
        Returns:
        the encryptedKey
      • setEncryptedKey

        public void setEncryptedKey​(EncryptedKey encryptedKey)
        Parameters:
        encryptedKey - store the encryptedKey for Signature or Encryption
      • setDPTokenId

        public void setDPTokenId​(String id)
      • getDPTokenId

        public String getDPTokenId()