Class ECKeyValueSecurityTokenImpl
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.ECKeyValueSecurityToken
org.apache.wss4j.stax.impl.securityToken.ECKeyValueSecurityTokenImpl
- All Implemented Interfaces:
ECKeyValueSecurityToken,KeyValueSecurityToken,SubjectAndPrincipalSecurityToken,org.apache.xml.security.stax.securityToken.InboundSecurityToken,org.apache.xml.security.stax.securityToken.SecurityToken
public class ECKeyValueSecurityTokenImpl
extends org.apache.xml.security.stax.impl.securityToken.ECKeyValueSecurityToken
implements ECKeyValueSecurityToken
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages -
Constructor Summary
ConstructorsConstructorDescriptionECKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto, CallbackHandler callbackHandler, WSSSecurityProperties securityProperties) -
Method Summary
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.ECKeyValueSecurityToken
getPublicKey, getTokenType, isAsymmetricMethods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEventMethods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509CertificatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken
addTokenUsage, getId, getKeyIdentifier, getKeyWrappingToken, getPublicKey, getSecretKey, getSha1Identifier, getTokenType, getTokenUsages, getWrappedTokens, getX509Certificates, isAsymmetric
-
Constructor Details
-
ECKeyValueSecurityTokenImpl
public ECKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto, CallbackHandler callbackHandler, WSSSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException - Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
-
Method Details
-
verify
public void verify() throws org.apache.xml.security.exceptions.XMLSecurityException- Specified by:
verifyin interfaceorg.apache.xml.security.stax.securityToken.InboundSecurityToken- Overrides:
verifyin classorg.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getSubject
- Specified by:
getSubjectin 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:
getKeyin classorg.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getPrincipal
- Specified by:
getPrincipalin interfaceSubjectAndPrincipalSecurityToken- Throws:
WSSecurityException
-