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, setXMLSecEventgetId, getSha1Identifier, getTokenUsages, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificatespublic 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 SecurityTokenReferencepublic boolean isAsymmetric()
throws org.apache.xml.security.exceptions.XMLSecurityException
isAsymmetric in interface org.apache.xml.security.stax.securityToken.SecurityTokenisAsymmetric in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic Map<String,Key> getSecretKey() throws org.apache.xml.security.exceptions.XMLSecurityException
getSecretKey in interface org.apache.xml.security.stax.securityToken.SecurityTokengetSecretKey in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionprotected 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.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic PublicKey getPublicKey() throws org.apache.xml.security.exceptions.XMLSecurityException
getPublicKey in interface org.apache.xml.security.stax.securityToken.SecurityTokengetPublicKey in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionprotected 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.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic X509Certificate[] getX509Certificates() throws org.apache.xml.security.exceptions.XMLSecurityException
getX509Certificates in interface org.apache.xml.security.stax.securityToken.SecurityTokengetX509Certificates in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic void verify()
throws org.apache.xml.security.exceptions.XMLSecurityException
verify in interface org.apache.xml.security.stax.securityToken.InboundSecurityTokenverify in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic org.apache.xml.security.stax.securityToken.InboundSecurityToken getKeyWrappingToken()
throws org.apache.xml.security.exceptions.XMLSecurityException
getKeyWrappingToken in interface org.apache.xml.security.stax.securityToken.SecurityTokengetKeyWrappingToken in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic boolean isIncludedInMessage()
isIncludedInMessage in interface org.apache.xml.security.stax.securityToken.InboundSecurityTokenisIncludedInMessage in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenpublic org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
getTokenType in interface org.apache.xml.security.stax.securityToken.SecurityTokenCopyright © 2018 JBoss by Red Hat. All rights reserved.