public class SecurityTokenReferenceImpl extends org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken implements SecurityTokenReference
Constructor and Description |
---|
SecurityTokenReferenceImpl(org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEvents,
WSInboundSecurityContext wsInboundSecurityContext,
String id,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier) |
Modifier and Type | Method and Description |
---|---|
protected Key |
getKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
org.apache.xml.security.stax.securityToken.InboundSecurityToken |
getKeyWrappingToken() |
protected PublicKey |
getPubKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
PublicKey |
getPublicKey() |
Map<String,Key> |
getSecretKey() |
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType |
getTokenType() |
X509Certificate[] |
getX509Certificates() |
Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> |
getXmlSecEvents() |
boolean |
isAsymmetric() |
boolean |
isIncludedInMessage() |
void |
verify() |
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, setElementPath, setKeyWrappingToken, setXMLSecEvent
getId, getSha1Identifier, getTokenUsages, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
public SecurityTokenReferenceImpl(org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEvents, WSInboundSecurityContext wsInboundSecurityContext, String id, org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier)
public Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> getXmlSecEvents()
getXmlSecEvents
in interface SecurityTokenReference
public boolean isAsymmetric() throws org.apache.xml.security.exceptions.XMLSecurityException
isAsymmetric
in interface org.apache.xml.security.stax.securityToken.SecurityToken
isAsymmetric
in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public Map<String,Key> getSecretKey() throws org.apache.xml.security.exceptions.XMLSecurityException
getSecretKey
in interface org.apache.xml.security.stax.securityToken.SecurityToken
getSecretKey
in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
protected Key getKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID) throws org.apache.xml.security.exceptions.XMLSecurityException
getKey
in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public PublicKey getPublicKey() throws org.apache.xml.security.exceptions.XMLSecurityException
getPublicKey
in interface org.apache.xml.security.stax.securityToken.SecurityToken
getPublicKey
in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
protected PublicKey getPubKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID) throws org.apache.xml.security.exceptions.XMLSecurityException
getPubKey
in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public X509Certificate[] getX509Certificates() throws org.apache.xml.security.exceptions.XMLSecurityException
getX509Certificates
in interface org.apache.xml.security.stax.securityToken.SecurityToken
getX509Certificates
in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public void verify() throws org.apache.xml.security.exceptions.XMLSecurityException
verify
in interface org.apache.xml.security.stax.securityToken.InboundSecurityToken
verify
in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public org.apache.xml.security.stax.securityToken.InboundSecurityToken getKeyWrappingToken() throws org.apache.xml.security.exceptions.XMLSecurityException
getKeyWrappingToken
in interface org.apache.xml.security.stax.securityToken.SecurityToken
getKeyWrappingToken
in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public boolean isIncludedInMessage()
isIncludedInMessage
in interface org.apache.xml.security.stax.securityToken.InboundSecurityToken
isIncludedInMessage
in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
public org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
getTokenType
in interface org.apache.xml.security.stax.securityToken.SecurityToken
Copyright © 2016 JBoss by Red Hat. All rights reserved.