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
-
Field Summary
FieldsFields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
X509SecurityToken
(SecurityTokenConstants.TokenType tokenType, InboundSecurityContext inboundSecurityContext, String id, SecurityTokenConstants.KeyIdentifier keyIdentifier, boolean includedInMessage) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the token typeMethods 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 Details
-
tokenType
-
-
Constructor Details
-
X509SecurityToken
protected X509SecurityToken(SecurityTokenConstants.TokenType tokenType, InboundSecurityContext inboundSecurityContext, String id, SecurityTokenConstants.KeyIdentifier keyIdentifier, boolean includedInMessage)
-
-
Method Details
-
isAsymmetric
Description copied from interface:SecurityToken
Returns the token type- Specified by:
isAsymmetric
in interfaceSecurityToken
- Overrides:
isAsymmetric
in classAbstractSecurityToken
- Returns:
- true if asymmetric token, false if symmetric token
- Throws:
XMLSecurityException
-
getTokenType
-