Class BuilderResult
- java.lang.Object
-
- com.sun.xml.ws.security.opt.api.keyinfo.BuilderResult
-
public class BuilderResult extends Object
Class to store results from TokenBuilder. Stores the various key information- Author:
- K.Venugopal@sun.com
-
-
Constructor Summary
Constructors Constructor Description BuilderResult()Creates a new instance of BuilderResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeygetDataProtectionKey()StringgetDPTokenId()EncryptedKeygetEncryptedKey()KeyInfogetKeyInfo()KeygetKeyProtectionKey()voidsetDataProtectionKey(Key dataProtectionKey)voidsetDPTokenId(String id)voidsetEncryptedKey(EncryptedKey encryptedKey)voidsetKeyInfo(KeyInfo keyInfo)voidsetKeyProtectionKey(Key keyProtectionKey)
-
-
-
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 fromTokenBuilder
-
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()
-
-