org.apache.xml.security.stax.impl.securityToken
Class X509SecurityToken

java.lang.Object
  extended by org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
      extended by org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
          extended by org.apache.xml.security.stax.impl.securityToken.X509SecurityToken
All Implemented Interfaces:
InboundSecurityToken, SecurityToken
Direct Known Subclasses:
X509IssuerSerialSecurityToken, X509SKISecurityToken, X509SubjectNameSecurityToken

public class X509SecurityToken
extends AbstractInboundSecurityToken

Version:
$Revision: 1354898 $ $Date: 2012-06-28 11:19:02 +0100 (Thu, 28 Jun 2012) $
Author:
$Author: coheigea $

Field Summary
 
Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages
 
Constructor Summary
protected X509SecurityToken(SecurityTokenConstants.TokenType tokenType, InboundSecurityContext inboundSecurityContext, String id, SecurityTokenConstants.KeyIdentifier keyIdentifier, boolean includedInMessage)
           
 
Method Summary
 SecurityTokenConstants.TokenType getTokenType()
           
 boolean isAsymmetric()
          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
 

Constructor Detail

X509SecurityToken

protected X509SecurityToken(SecurityTokenConstants.TokenType tokenType,
                            InboundSecurityContext inboundSecurityContext,
                            String id,
                            SecurityTokenConstants.KeyIdentifier keyIdentifier,
                            boolean includedInMessage)
Method Detail

isAsymmetric

public boolean isAsymmetric()
                     throws XMLSecurityException
Description copied from interface: SecurityToken
Returns the token type

Specified by:
isAsymmetric in interface SecurityToken
Overrides:
isAsymmetric in class AbstractSecurityToken
Returns:
true if asymmetric token, false if symmetric token
Throws:
XMLSecurityException

getTokenType

public SecurityTokenConstants.TokenType getTokenType()


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.