public class GenericOutboundSecurityToken extends AbstractSecurityToken implements OutboundSecurityToken
keyTable, tokenUsages| Constructor and Description |
|---|
GenericOutboundSecurityToken(String id,
SecurityTokenConstants.TokenType tokenType) |
GenericOutboundSecurityToken(String id,
SecurityTokenConstants.TokenType tokenType,
Key key) |
GenericOutboundSecurityToken(String id,
SecurityTokenConstants.TokenType tokenType,
Key key,
X509Certificate[] x509Certificates) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWrappedToken(OutboundSecurityToken securityToken) |
Element |
getCustomTokenReference() |
SecurityTokenConstants.KeyIdentifier |
getKeyIdentifier()
Returns the KeyIdentifier
|
OutboundSecurityToken |
getKeyWrappingToken()
Returns the key wrapping token
|
Object |
getProcessor()
Returns the processor responsible for this token
|
Key |
getSecretKey(String algorithmURI)
Returns the secret key
|
SecurityTokenConstants.TokenType |
getTokenType() |
List<OutboundSecurityToken> |
getWrappedTokens() |
void |
setCustomTokenReference(Element customTokenReference) |
void |
setKeyWrappingToken(OutboundSecurityToken keyWrappingToken) |
void |
setProcessor(Object processor) |
void |
setTokenType(SecurityTokenConstants.TokenType tokenType) |
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificatesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetricpublic GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType, Key key, X509Certificate[] x509Certificates)
public GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType, Key key)
public GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType)
public Object getProcessor()
OutboundSecurityTokengetProcessor in interface OutboundSecurityTokenpublic void setProcessor(Object processor)
public Key getSecretKey(String algorithmURI) throws XMLSecurityException
OutboundSecurityTokengetSecretKey in interface OutboundSecurityTokenXMLSecurityException - if the key can't be loadedpublic OutboundSecurityToken getKeyWrappingToken() throws XMLSecurityException
SecurityTokengetKeyWrappingToken in interface SecurityTokenXMLSecurityExceptionpublic void setKeyWrappingToken(OutboundSecurityToken keyWrappingToken)
public List<OutboundSecurityToken> getWrappedTokens() throws XMLSecurityException
getWrappedTokens in interface SecurityTokenXMLSecurityExceptionpublic void addWrappedToken(OutboundSecurityToken securityToken)
addWrappedToken in interface OutboundSecurityTokenpublic void setTokenType(SecurityTokenConstants.TokenType tokenType)
public SecurityTokenConstants.TokenType getTokenType()
getTokenType in interface SecurityTokenpublic SecurityTokenConstants.KeyIdentifier getKeyIdentifier()
SecurityTokengetKeyIdentifier in interface SecurityTokenpublic Element getCustomTokenReference()
getCustomTokenReference in interface OutboundSecurityTokenpublic void setCustomTokenReference(Element customTokenReference)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.