org.apache.xml.security.stax.impl.securityToken
Class DsaKeyValueSecurityToken
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.DsaKeyValueSecurityToken
- All Implemented Interfaces:
- InboundSecurityToken, SecurityToken
public class DsaKeyValueSecurityToken
- extends AbstractInboundSecurityToken
- Version:
- $Revision: 1354898 $ $Date: 2012-06-28 11:19:02 +0100 (Thu, 28 Jun 2012) $
- Author:
- $Author: coheigea $
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DsaKeyValueSecurityToken
public DsaKeyValueSecurityToken(DSAKeyValueType dsaKeyValueType,
InboundSecurityContext inboundSecurityContext)
getPublicKey
public PublicKey getPublicKey()
throws XMLSecurityException
- Description copied from interface:
SecurityToken
- Returns the public key if one exists and already initialized, null otherwise
- Specified by:
getPublicKey
in interface SecurityToken
- Overrides:
getPublicKey
in class AbstractSecurityToken
- Returns:
-
- Throws:
XMLSecurityException
isAsymmetric
public boolean isAsymmetric()
- 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
getTokenType
public SecurityTokenConstants.TokenType getTokenType()
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.