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, setX509Certificates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric
public 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()
OutboundSecurityToken
getProcessor
in interface OutboundSecurityToken
public void setProcessor(Object processor)
public Key getSecretKey(String algorithmURI) throws XMLSecurityException
OutboundSecurityToken
getSecretKey
in interface OutboundSecurityToken
XMLSecurityException
- if the key can't be loadedpublic OutboundSecurityToken getKeyWrappingToken() throws XMLSecurityException
SecurityToken
getKeyWrappingToken
in interface SecurityToken
XMLSecurityException
public void setKeyWrappingToken(OutboundSecurityToken keyWrappingToken)
public List<OutboundSecurityToken> getWrappedTokens() throws XMLSecurityException
getWrappedTokens
in interface SecurityToken
XMLSecurityException
public void addWrappedToken(OutboundSecurityToken securityToken)
addWrappedToken
in interface OutboundSecurityToken
public void setTokenType(SecurityTokenConstants.TokenType tokenType)
public SecurityTokenConstants.TokenType getTokenType()
getTokenType
in interface SecurityToken
public SecurityTokenConstants.KeyIdentifier getKeyIdentifier()
SecurityToken
getKeyIdentifier
in interface SecurityToken
public Element getCustomTokenReference()
getCustomTokenReference
in interface OutboundSecurityToken
public void setCustomTokenReference(Element customTokenReference)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.