Class X509SecurityToken
- java.lang.Object
-
- org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
-
- org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
-
- org.apache.xml.security.stax.impl.securityToken.X509SecurityToken
-
- All Implemented Interfaces:
InboundSecurityToken,SecurityToken
- Direct Known Subclasses:
X509IssuerSerialSecurityToken,X509SKISecurityToken,X509SubjectNameSecurityToken
public class X509SecurityToken extends AbstractInboundSecurityToken
-
-
Field Summary
Fields Modifier and Type Field Description private SecurityTokenConstants.TokenTypetokenType-
Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedX509SecurityToken(SecurityTokenConstants.TokenType tokenType, InboundSecurityContext inboundSecurityContext, java.lang.String id, SecurityTokenConstants.KeyIdentifier keyIdentifier, boolean includedInMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityTokenConstants.TokenTypegetTokenType()booleanisAsymmetric()Returns the token type-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
addTokenUsage, addWrappedToken, getElementPath, getKey, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent, verify
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken
getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates
-
-
-
-
Field Detail
-
tokenType
private final SecurityTokenConstants.TokenType tokenType
-
-
Constructor Detail
-
X509SecurityToken
protected X509SecurityToken(SecurityTokenConstants.TokenType tokenType, InboundSecurityContext inboundSecurityContext, java.lang.String id, SecurityTokenConstants.KeyIdentifier keyIdentifier, boolean includedInMessage)
-
-
Method Detail
-
isAsymmetric
public boolean isAsymmetric() throws XMLSecurityExceptionDescription copied from interface:SecurityTokenReturns the token type- Specified by:
isAsymmetricin interfaceSecurityToken- Overrides:
isAsymmetricin classAbstractSecurityToken- Returns:
- true if asymmetric token, false if symmetric token
- Throws:
XMLSecurityException
-
getTokenType
public SecurityTokenConstants.TokenType getTokenType()
-
-