public class ECKeyValueSecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.ECKeyValueSecurityToken implements ECKeyValueSecurityToken
Constructor and Description |
---|
ECKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig11.ECKeyValueType ecKeyValueType,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
CallbackHandler callbackHandler,
WSSSecurityProperties securityProperties) |
Modifier and Type | Method and Description |
---|---|
Key |
getKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
Principal |
getPrincipal() |
Subject |
getSubject() |
void |
verify() |
getPublicKey, getTokenType, isAsymmetric
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
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
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 Subject getSubject() throws WSSecurityException
getSubject
in interface SubjectAndPrincipalSecurityToken
WSSecurityException
public 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 Principal getPrincipal() throws WSSecurityException
getPrincipal
in interface SubjectAndPrincipalSecurityToken
WSSecurityException
Copyright © 2021 JBoss by Red Hat. All rights reserved.