Class GenericOutboundSecurityToken
java.lang.Object
org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
- All Implemented Interfaces:
OutboundSecurityToken,SecurityToken
public class GenericOutboundSecurityToken
extends AbstractSecurityToken
implements OutboundSecurityToken
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages -
Constructor Summary
ConstructorsConstructorDescriptionGenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType) GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType, Key key) GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType, Key key, X509Certificate[] x509Certificates) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWrappedToken(OutboundSecurityToken securityToken) Returns the KeyIdentifierReturns the key wrapping tokenReturns the processor responsible for this tokengetSecretKey(String algorithmURI) Returns the secret keyvoidsetCustomTokenReference(Element customTokenReference) voidsetKeyWrappingToken(OutboundSecurityToken keyWrappingToken) voidsetProcessor(Object processor) voidsetTokenType(SecurityTokenConstants.TokenType tokenType) Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509CertificatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric
-
Constructor Details
-
GenericOutboundSecurityToken
public GenericOutboundSecurityToken(String id, SecurityTokenConstants.TokenType tokenType, Key key, X509Certificate[] x509Certificates) -
GenericOutboundSecurityToken
-
GenericOutboundSecurityToken
-
-
Method Details
-
getProcessor
Description copied from interface:OutboundSecurityTokenReturns the processor responsible for this token- Specified by:
getProcessorin interfaceOutboundSecurityToken- Returns:
- the processor responsible for this token
-
setProcessor
-
getSecretKey
Description copied from interface:OutboundSecurityTokenReturns the secret key- Specified by:
getSecretKeyin interfaceOutboundSecurityToken- Returns:
- The key
- Throws:
XMLSecurityException- if the key can't be loaded
-
getKeyWrappingToken
Description copied from interface:SecurityTokenReturns the key wrapping token- Specified by:
getKeyWrappingTokenin interfaceSecurityToken- Returns:
- The wrapping SecurityToken
- Throws:
XMLSecurityException
-
setKeyWrappingToken
-
getWrappedTokens
- Specified by:
getWrappedTokensin interfaceSecurityToken- Throws:
XMLSecurityException
-
addWrappedToken
- Specified by:
addWrappedTokenin interfaceOutboundSecurityToken
-
setTokenType
-
getTokenType
- Specified by:
getTokenTypein interfaceSecurityToken
-
getKeyIdentifier
Description copied from interface:SecurityTokenReturns the KeyIdentifier- Specified by:
getKeyIdentifierin interfaceSecurityToken- Returns:
- the KeyIdentifier
-
getCustomTokenReference
- Specified by:
getCustomTokenReferencein interfaceOutboundSecurityToken
-
setCustomTokenReference
-