|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.impl.keyinfo.KeyInfoStrategy
public abstract class KeyInfoStrategy
The interface for different KeyInfo Schemes
| Constructor Summary | |
|---|---|
KeyInfoStrategy()
|
|
| Method Summary | |
|---|---|
abstract String |
getAlias()
|
static KeyInfoStrategy |
getInstance(String strategy)
|
abstract void |
insertKey(KeyInfoHeaderBlock keyInfo,
SecurableSoapMessage secureMsg,
String x509TokenId)
insert the Key Information into a ds:KeyInfo using the appropriate scheme |
abstract void |
insertKey(SecurityTokenReference tokenRef,
SecurableSoapMessage secureMsg)
insert the Key Information into a SecurityTokenReference using the appropriate scheme |
abstract void |
setCertificate(X509Certificate cert)
Sets the certificate corresponding to the security operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyInfoStrategy()
| Method Detail |
|---|
public static KeyInfoStrategy getInstance(String strategy)
public abstract void insertKey(KeyInfoHeaderBlock keyInfo,
SecurableSoapMessage secureMsg,
String x509TokenId)
throws XWSSecurityException
keyInfo - the KeyInfo block into which the Key Information has to be inserted.secureMsg - the SecurableSoapMessagex509TokenId - value of the XWSSecurityException - if there was a problem in inserting the key information
public abstract void insertKey(SecurityTokenReference tokenRef,
SecurableSoapMessage secureMsg)
throws XWSSecurityException
tokenRef - the SecurityTokenReference into which the Key Information
has to be inserted.secureMsg - the SecurableSoapMessage
XWSSecurityException - if there was a problem in inserting the key informationpublic abstract void setCertificate(X509Certificate cert)
public abstract String getAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||