org.apache.wss4j.stax.impl.securityToken
Class RsaKeyValueSecurityTokenImpl

java.lang.Object
  extended by org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
      extended by org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
          extended by org.apache.xml.security.stax.impl.securityToken.RsaKeyValueSecurityToken
              extended by org.apache.wss4j.stax.impl.securityToken.RsaKeyValueSecurityTokenImpl
All Implemented Interfaces:
KeyValueSecurityToken, RsaKeyValueSecurityToken, SubjectAndPrincipalSecurityToken, org.apache.xml.security.stax.securityToken.InboundSecurityToken, org.apache.xml.security.stax.securityToken.SecurityToken

public class RsaKeyValueSecurityTokenImpl
extends org.apache.xml.security.stax.impl.securityToken.RsaKeyValueSecurityToken
implements RsaKeyValueSecurityToken


Field Summary
 
Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
keyTable, tokenUsages
 
Constructor Summary
RsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto)
           
 
Method Summary
 Principal getPrincipal()
           
 Subject getSubject()
           
 void verify()
           
 
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.RsaKeyValueSecurityToken
getPublicKey, getTokenType, isAsymmetric
 
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
addTokenUsage, addWrappedToken, getElementPath, getKey, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent
 
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken
addTokenUsage, getId, getKeyIdentifier, getKeyWrappingToken, getPublicKey, getSecretKey, getSha1Identifier, getTokenType, getTokenUsages, getWrappedTokens, getX509Certificates, isAsymmetric
 

Constructor Detail

RsaKeyValueSecurityTokenImpl

public RsaKeyValueSecurityTokenImpl(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType,
                                    WSInboundSecurityContext wsInboundSecurityContext,
                                    Crypto crypto)
Method Detail

verify

public void verify()
            throws org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
verify in interface org.apache.xml.security.stax.securityToken.InboundSecurityToken
Overrides:
verify in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

getSubject

public Subject getSubject()
                   throws WSSecurityException
Specified by:
getSubject in interface SubjectAndPrincipalSecurityToken
Throws:
WSSecurityException

getPrincipal

public Principal getPrincipal()
                       throws WSSecurityException
Specified by:
getPrincipal in interface SubjectAndPrincipalSecurityToken
Throws:
WSSecurityException


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.