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:
- K.Venugopal@sun.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDataProtectionKey(Key dataProtectionKey) voidsetDPTokenId(String id) voidsetEncryptedKey(EncryptedKey encryptedKey) voidsetKeyInfo(KeyInfo keyInfo) voidsetKeyProtectionKey(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
-