|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.sts.service.EncryptionProperties
public class EncryptionProperties
This class contains various configuration properties that can be used to encrypt an issued token. The encryptionName property must be specified (corresponding to the alias to be used to select a certificate from a KeyStore) - everything else is optional.
Constructor Summary | |
---|---|
EncryptionProperties()
|
Method Summary | |
---|---|
List<String> |
getAcceptedEncryptionAlgorithms()
Get the list of accepted encryption algorithms. |
List<String> |
getAcceptedKeyWrapAlgorithms()
Get the list of accepted key-wrap algorithms. |
String |
getEncryptionAlgorithm()
Get the encryption algorithm to use |
String |
getEncryptionName()
Get the alias used to select a certificate for encryption |
int |
getKeyIdentifierType()
Get the (WSS4J) key identifier type used to reference a certificate for encryption |
String |
getKeyWrapAlgorithm()
Get the encryption key-wrap algorithm to use |
void |
setAcceptedEncryptionAlgorithms(List<String> acceptedEncryptionAlgorithms)
Set the list of accepted encryption algorithms. |
void |
setAcceptedKeyWrapAlgorithms(List<String> acceptedKeyWrapAlgorithms)
Set the list of accepted key-wrap algorithms. |
void |
setEncryptionAlgorithm(String encryptionAlgorithm)
Set the encryption algorithm to use |
void |
setEncryptionName(String encryptionName)
Set the alias used to select a certificate for encryption |
void |
setKeyIdentifierType(int keyIdentifierType)
Set the (WSS4J) key identifier type used to reference a certificate for encryption |
void |
setKeyWrapAlgorithm(String keyWrapAlgorithm)
Set the encryption key-wrap algorithm to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionProperties()
Method Detail |
---|
public String getEncryptionAlgorithm()
public void setEncryptionAlgorithm(String encryptionAlgorithm)
public String getKeyWrapAlgorithm()
public void setKeyWrapAlgorithm(String keyWrapAlgorithm)
public int getKeyIdentifierType()
public void setKeyIdentifierType(int keyIdentifierType)
public String getEncryptionName()
public void setEncryptionName(String encryptionName)
public void setAcceptedEncryptionAlgorithms(List<String> acceptedEncryptionAlgorithms)
public List<String> getAcceptedEncryptionAlgorithms()
public void setAcceptedKeyWrapAlgorithms(List<String> acceptedKeyWrapAlgorithms)
public List<String> getAcceptedKeyWrapAlgorithms()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |