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:
- [email protected]
-
-
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 Key
getDataProtectionKey()
String
getDPTokenId()
EncryptedKey
getEncryptedKey()
KeyInfo
getKeyInfo()
Key
getKeyProtectionKey()
void
setDataProtectionKey(Key dataProtectionKey)
void
setDPTokenId(String id)
void
setEncryptedKey(EncryptedKey encryptedKey)
void
setKeyInfo(KeyInfo keyInfo)
void
setKeyProtectionKey(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()
-
-