Class BuilderResult
java.lang.Object
com.sun.xml.ws.security.opt.api.keyinfo.BuilderResult
Class to store results from TokenBuilder. Stores the various key information
- Author:
- [email protected]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDataProtectionKey
(Key dataProtectionKey) void
setDPTokenId
(String id) void
setEncryptedKey
(EncryptedKey encryptedKey) void
setKeyInfo
(KeyInfo keyInfo) void
setKeyProtectionKey
(Key keyProtectionKey)
-
Constructor Details
-
BuilderResult
public BuilderResult()Creates a new instance of BuilderResult
-
-
Method Details
-
getDataProtectionKey
- Returns:
- the data protection key
-
setDataProtectionKey
- Parameters:
dataProtectionKey
- set the data protection key
-
getKeyProtectionKey
- Returns:
- the key protection key
-
setKeyProtectionKey
- Parameters:
keyProtectionKey
- store the key protection key
-
getKeyInfo
- Returns:
- the stored keyInfo
-
setKeyInfo
- Parameters:
keyInfo
- store the keyInfo fromTokenBuilder
-
getEncryptedKey
- Returns:
- the encryptedKey
-
setEncryptedKey
- Parameters:
encryptedKey
- store the encryptedKey for Signature or Encryption
-
setDPTokenId
-
getDPTokenId
-