Class EncryptedKeySha1SecurityTokenImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
-
- org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
-
- org.apache.wss4j.stax.impl.securityToken.EncryptedKeySha1SecurityTokenImpl
-
- All Implemented Interfaces:
EncryptedKeySha1SecurityToken
,org.apache.xml.security.stax.securityToken.InboundSecurityToken
,org.apache.xml.security.stax.securityToken.SecurityToken
public class EncryptedKeySha1SecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken implements EncryptedKeySha1SecurityToken
-
-
Constructor Summary
Constructors Constructor Description EncryptedKeySha1SecurityTokenImpl(WSInboundSecurityContext inboundSecurityContext, CallbackHandler callbackHandler, String sha1Identifier, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Key
getKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID)
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType
getTokenType()
boolean
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, verify
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
-
-
-
-
Constructor Detail
-
EncryptedKeySha1SecurityTokenImpl
public EncryptedKeySha1SecurityTokenImpl(WSInboundSecurityContext inboundSecurityContext, CallbackHandler callbackHandler, String sha1Identifier, String id)
-
-
Method Detail
-
isAsymmetric
public boolean isAsymmetric() throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
isAsymmetric
in interfaceorg.apache.xml.security.stax.securityToken.SecurityToken
- Overrides:
isAsymmetric
in classorg.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getKey
protected 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
-
getTokenType
public org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
- Specified by:
getTokenType
in interfaceorg.apache.xml.security.stax.securityToken.SecurityToken
-
-