Class DsaKeyValueSecurityTokenImpl
- 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
-
- org.apache.wss4j.stax.impl.securityToken.DsaKeyValueSecurityTokenImpl
-
- All Implemented Interfaces:
DsaKeyValueSecurityToken
,KeyValueSecurityToken
,SubjectAndPrincipalSecurityToken
,org.apache.xml.security.stax.securityToken.InboundSecurityToken
,org.apache.xml.security.stax.securityToken.SecurityToken
public class DsaKeyValueSecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.DsaKeyValueSecurityToken implements DsaKeyValueSecurityToken
-
-
Constructor Summary
Constructors Constructor Description DsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.DSAKeyValueType dsaKeyValueType, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto, CallbackHandler callbackHandler, WSSSecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Key
getKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID)
Principal
getPrincipal()
Subject
getSubject()
void
verify()
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.DsaKeyValueSecurityToken
getPublicKey, getTokenType, isAsymmetric
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
-
-
-
-
Constructor Detail
-
DsaKeyValueSecurityTokenImpl
public DsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.DSAKeyValueType dsaKeyValueType, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto, CallbackHandler callbackHandler, WSSSecurityProperties securityProperties)
-
-
Method Detail
-
verify
public void verify() throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
verify
in interfaceorg.apache.xml.security.stax.securityToken.InboundSecurityToken
- Overrides:
verify
in classorg.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getSubject
public Subject getSubject() throws WSSecurityException
- Specified by:
getSubject
in interfaceSubjectAndPrincipalSecurityToken
- Throws:
WSSecurityException
-
getKey
public Key getKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID) throws org.apache.xml.security.exceptions.XMLSecurityException
- Overrides:
getKey
in classorg.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getPrincipal
public Principal getPrincipal() throws WSSecurityException
- Specified by:
getPrincipal
in interfaceSubjectAndPrincipalSecurityToken
- Throws:
WSSecurityException
-
-