Uses of Class
org.apache.ws.security.WSSecurityException

Packages that use WSSecurityException
org.apache.ws.sandbox.security.conversation   
org.apache.ws.sandbox.security.conversation.message.info   
org.apache.ws.sandbox.security.conversation.message.token   
org.apache.ws.sandbox.security.trust   
org.apache.ws.sandbox.security.trust.message.token   
org.apache.ws.sandbox.security.trust2   
org.apache.ws.security   
org.apache.ws.security.action   
org.apache.ws.security.components.crypto   
org.apache.ws.security.conversation   
org.apache.ws.security.handler   
org.apache.ws.security.message The package provides classes to create messages that are compliant to the OASIS Web Service Security specifications. 
org.apache.ws.security.message.token   
org.apache.ws.security.processor   
org.apache.ws.security.saml   
org.apache.ws.security.util   
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation
 

Methods in org.apache.ws.sandbox.security.conversation that throw WSSecurityException
protected  java.util.Vector ConversationEngine.processConvHeader(org.w3c.dom.Element securityHeader, org.w3c.dom.Document doc, DerivedKeyCallbackHandler dkcbHandler, java.lang.String callback)
           
 org.w3c.dom.Document ConversationManager.build(org.w3c.dom.Document doc, Reference ref, byte[] sk, java.util.Vector parts)
          The method is coded such that it can be plugged into WSSignEnvelope.
 byte[] KeyDerivator.generateKey(java.util.Hashtable sessionTable, java.lang.String identifier)
           
 byte[] KeyDerivator.generateKey(java.util.Hashtable sessionTable, java.lang.String identifier)
           
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation.message.info
 

Constructors in org.apache.ws.sandbox.security.conversation.message.info that throw WSSecurityException
SecurityContextInfo(SecurityContextToken securityContextToken, RequestedProofToken requestedProofToken, int frequency)
          This element will be useful to store in the hashtable to get information about the security context
SecurityContextInfo(SecurityContextToken securityContextToken, byte[] sharedSecret, int frequency)
          TEMPORARY METHOD FOR TESTING ONLY TIL I GET THE LATEST PROOF TOKEN This element will be useful to store in the hashtable to get information about the security context
SecurityContextInfo(java.lang.String uuid, byte[] sharedSecret, int frequency)
           
DerivedKeyInfo(DerivedKeyToken dkt)
           
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.conversation.message.token
 

Methods in org.apache.ws.sandbox.security.conversation.message.token that throw WSSecurityException
 SecurityTokenReference DerivedKeyToken.getSecuityTokenReference()
          Returns the SecurityTokenReference of the derived key token
 

Constructors in org.apache.ws.sandbox.security.conversation.message.token that throw WSSecurityException
SecurityContextToken(org.w3c.dom.Element elem)
          This is used to create a SecurityContestToken using a DOM Element
DerivedKeyToken(org.w3c.dom.Element elem)
          This will create a DerivedKeyToken object with the given DErivedKeyToken element
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust
 

Methods in org.apache.ws.sandbox.security.trust that throw WSSecurityException
 void RSTRParser.processRSTR(RequestSecurityTokenResponse rstr)
           
 RequestInfo RequestResolver.resolve()
           
static void STSUtil.replaceSecurityTokenReferences(org.w3c.dom.Document doc)
          Replaces the Security Token Reference element with its Referenced element Reason : In the Trust Comminicator no header elements are visible
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust.message.token
 

Methods in org.apache.ws.sandbox.security.trust.message.token that throw WSSecurityException
 void RequestedProofToken.doDecryption(java.lang.String callback, Crypto crypto)
          Method doDecryption
 void RequestedProofToken.doEncryptProof(org.w3c.dom.Document doc, Crypto crypto, java.lang.String userInfo)
          Method doEncryptProof
 org.w3c.dom.Document RequestedProofToken.build(org.w3c.dom.Document doc, Crypto crypto, java.lang.String user, org.w3c.dom.Element parentNode)
           
 BinarySecurity BaseToken.getBinarySecurityToken()
          Return the binary security token of the base token if any
 

Constructors in org.apache.ws.sandbox.security.trust.message.token that throw WSSecurityException
RequestedSecurityToken(org.w3c.dom.Element elem)
          To create a RequestSecurityTokenResponse token form an element passed
RequestedSecurityToken(org.w3c.dom.Element elem, boolean parseChildElements)
          May not be usefull in future developments.
RequestedProofToken(org.w3c.dom.Document doc)
          Constructor.
RequestedProofToken(org.w3c.dom.Element elem)
          COnstructor
BaseToken(org.w3c.dom.Element elem)
          Constructor for Base
STSSignedToken(org.w3c.dom.Document docTobeSigned, Crypto crypto, java.lang.String alias, java.lang.String password)
           
 

Uses of WSSecurityException in org.apache.ws.sandbox.security.trust2
 

Constructors in org.apache.ws.sandbox.security.trust2 that throw WSSecurityException
Lifetime(WSSConfig wssConfig, org.w3c.dom.Document doc, org.w3c.dom.Element element)
           
 

Uses of WSSecurityException in org.apache.ws.security
 

Methods in org.apache.ws.security that throw WSSecurityException
 java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc, java.lang.String actor, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
          Process the security header given the soap envelope as W3C document.
 java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc, java.lang.String actor, javax.security.auth.callback.CallbackHandler cb, Crypto sigCrypto, Crypto decCrypto)
          Process the security header given the soap envelope as W3C document.
protected  java.util.Vector WSSecurityEngine.processSecurityHeader(org.w3c.dom.Element securityHeader, javax.security.auth.callback.CallbackHandler cb, Crypto sigCrypto, Crypto decCrypto)
          Process the security header given the wsse:Security DOM Element.
 Action WSSConfig.getAction(int action)
          Lookup action
 Processor WSSConfig.getProcessor(javax.xml.namespace.QName el)
           
 

Uses of WSSecurityException in org.apache.ws.security.action
 

Methods in org.apache.ws.security.action that throw WSSecurityException
 void Action.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void EncryptionAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void SAMLTokenSignedAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void SAMLTokenUnsignedAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void SignatureAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void SignatureConfirmationAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void TimestampAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void UsernameTokenAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 void UsernameTokenSignedAction.execute(WSHandler handler, int actionToDo, org.w3c.dom.Document doc, RequestData reqData)
           
 

Uses of WSSecurityException in org.apache.ws.security.components.crypto
 

Methods in org.apache.ws.security.components.crypto that throw WSSecurityException
 java.security.cert.X509Certificate Crypto.loadCertificate(java.io.InputStream in)
          load a X509Certificate from the input stream.
 java.security.cert.X509Certificate[] Crypto.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 byte[] Crypto.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 java.security.cert.X509Certificate[] Crypto.getCertificates(java.lang.String alias)
          get the list of certificates for a given alias.
 java.lang.String Crypto.getAliasForX509Cert(java.security.cert.Certificate cert)
          Return a X509 Certificate alias in the keystore according to a given Certificate

 java.lang.String Crypto.getAliasForX509Cert(java.lang.String issuer)
          Lookup a X509 Certificate in the keystore according to a given the issuer of a Certficate.
 java.lang.String Crypto.getAliasForX509Cert(java.lang.String issuer, java.math.BigInteger serialNumber)
          Search a X509 Certificate in the keystore according to a given serial number and the issuer of a Certficate.
 java.lang.String Crypto.getAliasForX509Cert(byte[] skiBytes)
          Lookup a X509 Certificate in the keystore according to a given SubjectKeyIdentifier.
 byte[] Crypto.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
          Reads the SubjectKeyIdentifier information from the certificate.
 java.lang.String Crypto.getAliasForX509CertThumb(byte[] thumb)
          Lookup a X509 Certificate in the keystore according to a given Thumbprint.
 java.security.cert.CertificateFactory Crypto.getCertificateFactory()
          Gets the CertificateFactory instantiated by the underlying implementation
 boolean Crypto.validateCertPath(java.security.cert.X509Certificate[] certs)
          Uses the CertPath API to validate a given certificate chain

 java.lang.String[] Crypto.getAliasesForDN(java.lang.String subjectDN)
          Lookup X509 Certificates in the keystore according to a given DN of the subject of the certificate

 java.security.cert.CertificateFactory AbstractCrypto.getCertificateFactory()
          Singleton certificate factory for this Crypto instance.
 java.security.cert.X509Certificate AbstractCrypto.loadCertificate(java.io.InputStream in)
          load a X509Certificate from the input stream.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.lang.String issuer)
          Lookup a X509 Certificate in the keystore according to a given the issuer of a Certficate.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.lang.String issuer, java.math.BigInteger serialNumber)
          Lookup a X509 Certificate in the keystore according to a given serial number and the issuer of a Certficate.
 java.lang.String AbstractCrypto.getAliasForX509Cert(byte[] skiBytes)
          Lookup a X509 Certificate in the keystore according to a given SubjectKeyIdentifier.
 java.lang.String AbstractCrypto.getAliasForX509Cert(java.security.cert.Certificate cert)
          Return a X509 Certificate alias in the keystore according to a given Certificate

 java.security.cert.X509Certificate[] AbstractCrypto.getCertificates(java.lang.String alias)
          Gets the list of certificates for a given alias.
 java.lang.String AbstractCrypto.getAliasForX509CertThumb(byte[] thumb)
          Lookup a X509 Certificate in the keystore according to a given Thumbprint.
 byte[] AbstractCrypto.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
          Reads the SubjectKeyIdentifier information from the certificate.
 java.lang.String[] AbstractCrypto.getAliasesForDN(java.lang.String subjectDN)
          Lookup X509 Certificates in the keystore according to a given DN of the subject of the certificate

The search gets all alias names of the keystore and gets the certificate (chain) for each alias.

 java.security.cert.X509Certificate[] BouncyCastle.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 byte[] BouncyCastle.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 boolean BouncyCastle.validateCertPath(java.security.cert.X509Certificate[] certs)
          Uses the CertPath API to validate a given certificate chain
 java.security.cert.X509Certificate[] Merlin.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 byte[] Merlin.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 boolean Merlin.validateCertPath(java.security.cert.X509Certificate[] certs)
          Overridden because there's a bug in the base class where they don't use the provider variant for the certificate validator.
 

Uses of WSSecurityException in org.apache.ws.security.conversation
 

Subclasses of WSSecurityException in org.apache.ws.security.conversation
 class ConversationException
           
 

Uses of WSSecurityException in org.apache.ws.security.handler
 

Methods in org.apache.ws.security.handler that throw WSSecurityException
protected  void WSHandler.doSenderAction(int doAction, org.w3c.dom.Document doc, RequestData reqData, java.util.Vector actions, boolean isRequest)
          ut Performs all defined security actions to set-up the SOAP request.
protected  void WSHandler.doReceiverAction(int doAction, RequestData reqData)
           
protected  void WSHandler.checkSignatureConfirmation(RequestData reqData, java.util.Vector wsResult)
           
 Crypto WSHandler.loadSignatureCrypto(RequestData reqData)
          Hook to allow subclasses to load their Signature Crypto however they see fit.
protected  Crypto WSHandler.loadEncryptionCrypto(RequestData reqData)
          Hook to allow subclasses to load their Encryption Crypto however they see fit.
protected  void WSHandler.decodeUTParameter(RequestData reqData)
           
protected  void WSHandler.decodeSignatureParameter(RequestData reqData)
           
protected  void WSHandler.decodeEncryptionParameter(RequestData reqData)
           
protected  boolean WSHandler.decodeMustUnderstand(RequestData reqData)
           
protected  boolean WSHandler.decodeEnableSignatureConfirmation(RequestData reqData)
           
protected  boolean WSHandler.decodeTimestampPrecision(RequestData reqData)
           
protected  boolean WSHandler.decodeTimestampStrict(RequestData reqData)
           
 WSPasswordCallback WSHandler.getPassword(java.lang.String username, int doAction, java.lang.String clsProp, java.lang.String refProp, RequestData reqData)
          Get a password to construct a UsernameToken or sign a message.
protected  Crypto WSHandler.loadDecryptionCrypto(RequestData reqData)
          Hook to allow subclasses to load their Decryption Crypto however they see fit.
protected  void WSHandler.decodeSignatureParameter2(RequestData reqData)
           
protected  void WSHandler.decodeDecryptionParameter(RequestData reqData)
           
protected  javax.security.auth.callback.CallbackHandler WSHandler.getPasswordCB(RequestData reqData)
          Get the password callback class and get an instance

protected  boolean WSHandler.verifyTrust(java.security.cert.X509Certificate cert, RequestData reqData)
          Evaluate whether a given certificate should be trusted.
protected  boolean WSHandler.verifyTimestamp(Timestamp timestamp, int timeToLive)
          Evaluate whether a timestamp is considered valid on receiverside.
 boolean WSS4JHandler.processMessage(javax.xml.rpc.handler.MessageContext mc, boolean isRequestMessage)
          Switch for transfering control to doReceiver and doSender
 boolean WSS4JHandler.doSender(javax.xml.rpc.handler.MessageContext mc, RequestData reqData, boolean isRequest)
          Handles incoming web service requests and outgoing responses
 boolean WSS4JHandler.doReceiver(javax.xml.rpc.handler.MessageContext mc, RequestData reqData, boolean isRequest)
          handle responses
 

Uses of WSSecurityException in org.apache.ws.security.message
 

Methods in org.apache.ws.security.message that throw WSSecurityException
 org.w3c.dom.Document WSEncryptBody.build(org.w3c.dom.Document doc, Crypto crypto)
          Deprecated. replaced by WSSecEncrypt.build(Document, Crypto, WSSecHeader)
 org.w3c.dom.Document WSSecDKEncrypt.build(org.w3c.dom.Document doc, Crypto crypto, WSSecHeader secHeader)
           
 org.w3c.dom.Element WSSecDKEncrypt.encryptForExternalRef(org.w3c.dom.Element dataRef, java.util.Vector references)
          Encrypt one or more parts or elements of the message (external).
protected  int WSSecDKEncrypt.getDerivedKeyLength()
           
protected abstract  int WSSecDerivedKeyBase.getDerivedKeyLength()
          The derived key will change depending on the sig/encr algorithm.
 void WSSecDerivedKeyBase.prepare(org.w3c.dom.Document doc, Crypto crypto)
          Initialize a WSSec Derived key.
 org.w3c.dom.Document WSSecDKSign.build(org.w3c.dom.Document doc, Crypto crypto, WSSecHeader secHeader)
           
protected  void WSSecDKSign.prepare(org.w3c.dom.Document doc, Crypto crypto, WSSecHeader secHeader)
           
 void WSSecDKSign.addReferencesToSign(java.util.Vector references, WSSecHeader secHeader)
          This method adds references to the Signature.
 void WSSecDKSign.computeSignature()
          Compute the Signature over the references.
protected  int WSSecDKSign.getDerivedKeyLength()
           
 void WSSecEncrypt.prepare(org.w3c.dom.Document doc, Crypto crypto)
          Initialize a WSSec Encrypt.
 org.w3c.dom.Document WSSecEncrypt.build(org.w3c.dom.Document doc, Crypto crypto, WSSecHeader secHeader)
          Builds the SOAP envelope with encrypted Body and adds encrypted key.
 org.w3c.dom.Element WSSecEncrypt.encryptForInternalRef(org.w3c.dom.Element dataRef, java.util.Vector references)
          Encrypt one or more parts or elements of the message (internal).
 org.w3c.dom.Element WSSecEncrypt.encryptForExternalRef(org.w3c.dom.Element dataRef, java.util.Vector references)
          Encrypt one or more parts or elements of the message (external).
 void WSSecEncryptedKey.prepare(org.w3c.dom.Document doc, Crypto crypto)
          Prepare the ephemeralKey and the tokens required to be added to the security header
protected  void WSSecEncryptedKey.prepareInternal(byte[] keyBytes, java.security.cert.X509Certificate remoteCert, Crypto crypto)
          Encrypt the symmetric key data and prepare the EncryptedKey element This method does the most work for to prepare the EncryptedKey element.
protected  byte[] WSSecEncryptedKey.generateEphemeralKey()
          Create an ephemeral key
 void WSSecSecurityContextToken.prepare(org.w3c.dom.Document doc, Crypto crypto)
           
 void WSSecSecurityContextToken.prependSCTElementToHeader(org.w3c.dom.Document doc, WSSecHeader secHeader)
           
 void WSSecSignature.prepare(org.w3c.dom.Document doc, Crypto cr, WSSecHeader secHeader)
          Initialize a WSSec Signature.
 void WSSecSignature.addReferencesToSign(java.util.Vector references, WSSecHeader secHeader)
          This method adds references to the Signature.
 void WSSecSignature.computeSignature()
          Compute the Signature over the references.
 org.w3c.dom.Document WSSecSignature.build(org.w3c.dom.Document doc, Crypto cr, WSSecHeader secHeader)
          Builds a signed soap envelope.
 org.w3c.dom.Document WSSignEnvelope.build(org.w3c.dom.Document doc, Crypto crypto)
          Deprecated. replaced by WSSecSignature.build(Document, Crypto, WSSecHeader)
 

Uses of WSSecurityException in org.apache.ws.security.message.token
 

Methods in org.apache.ws.security.message.token that throw WSSecurityException
 byte[] UsernameToken.getSalt()
          Get the Salt value of this UsernameToken.
static byte[] UsernameToken.generateDerivedKey(java.lang.String password, byte[] salt, int iteration)
          This static method generates a derived key as defined in WSS Username Token Profile.
 Reference SecurityTokenReference.getReference()
          Gets the Reference.
 org.w3c.dom.Element SecurityTokenReference.getTokenElement(org.w3c.dom.Document doc, WSDocInfo docInfo)
          Gets the signing token element, which maybe a BinarySecurityToken or a SAML token.
 void SecurityTokenReference.setKeyIdentifier(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifer Element as a X509 certificate.
 void SecurityTokenReference.setKeyIdentifierSKI(java.security.cert.X509Certificate cert, Crypto crypto)
          Sets the KeyIdentifer Element as a X509 Subject-Key-Identifier (SKI).
 void SecurityTokenReference.setKeyIdentifierThumb(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifer Element as a Thumbprint.
 void SecurityTokenReference.setSAMLKeyIdentifier(java.lang.String keyIdVal)
           
 java.security.cert.X509Certificate[] SecurityTokenReference.getKeyIdentifier(Crypto crypto)
          Gets the KeyIdentifer.
 java.lang.String SecurityTokenReference.getX509SKIAlias(Crypto crypto)
           
 java.security.cert.X509Certificate[] SecurityTokenReference.getX509IssuerSerial(Crypto crypto)
          Gets the certificate identified with X509 issuerSerial data.
 java.lang.String SecurityTokenReference.getX509IssuerSerialAlias(Crypto crypto)
          Gets the alias name of the certificate identified with X509 issuerSerial data.
 java.security.cert.X509Certificate X509Security.getX509Certificate(Crypto crypto)
          Gets the X509Certificate certificate.
 void X509Security.setX509Certificate(java.security.cert.X509Certificate cert)
          Sets the X509Certificate.
 SecurityTokenReference DerivedKeyToken.getSecuityTokenReference()
          Returns the SecurityTokenReference of the derived key token
 java.security.cert.X509Certificate[] PKIPathSecurity.getX509Certificates(boolean reverse, Crypto crypto)
          get the X509Certificate array.
 void PKIPathSecurity.setX509Certificates(java.security.cert.X509Certificate[] certs, boolean reverse, Crypto crypto)
          set the X509Certificate array.
 

Constructors in org.apache.ws.security.message.token that throw WSSecurityException
Timestamp(org.w3c.dom.Element element)
          Constructs a Timestamp object and parses the wsu:Timestamp element to initialize it.
UsernameToken(org.w3c.dom.Element elem)
          Constructs a UsernameToken object and parses the wsse:UsernameToken element to initialize it.
Reference(org.w3c.dom.Element elem)
          Constructor.
SecurityTokenReference(org.w3c.dom.Element elem)
          Constructor.
BinarySecurity(org.w3c.dom.Element elem)
          Constructor.
X509Security(org.w3c.dom.Element elem)
          This constructor creates a new X509 certificate object and initializes it from the data containe in the element.
SignatureConfirmation(org.w3c.dom.Element elem)
          Constructs a SignatureConfirmation object and parses the wsse11:SignatureCOnfirmation element to initialize it.
DerivedKeyToken(org.w3c.dom.Element elem)
          This will create a DerivedKeyToken object with the given DErivedKeyToken element
SecurityContextToken(org.w3c.dom.Element elem)
          This is used to create a SecurityContestToken using a DOM Element
PKIPathSecurity(org.w3c.dom.Element elem)
          Constructor.
 

Uses of WSSecurityException in org.apache.ws.security.processor
 

Methods in org.apache.ws.security.processor that throw WSSecurityException
 void Processor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 void DerivedKeyTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 byte[] DerivedKeyTokenProcessor.getKeyBytes(int len)
          Get the derived key bytes for a given length
 void EncryptedKeyProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, java.security.PrivateKey privatekey)
           
 void EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, javax.security.auth.callback.CallbackHandler cb, Crypto crypto, java.security.PrivateKey privateKey)
           
static byte[] EncryptedKeyProcessor.getDecodedBase64EncodedData(org.w3c.dom.Element element)
          Method getDecodedBase64EncodedData
 void ReferenceListProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wdi, java.util.Vector returnResults, WSSConfig wsc)
           
 void ReferenceListProcessor.decryptDataRefEmbedded(org.w3c.dom.Document doc, java.lang.String dataRefURI, javax.security.auth.callback.CallbackHandler cb)
           
 void SAMLTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 org.opensaml.SAMLAssertion SAMLTokenProcessor.handleSAMLToken(org.w3c.dom.Element token)
           
 void SecurityContextTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 void SignatureConfirmationProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void SignatureProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
protected  java.security.Principal SignatureProcessor.verifyXMLSignature(org.w3c.dom.Element elem, Crypto crypto, java.security.cert.X509Certificate[] returnCert, java.util.Set returnElements, byte[][] signatureValue)
          Verify the WS-Security signature.
 java.security.cert.X509Certificate[] SignatureProcessor.getCertificatesTokenReference(org.w3c.dom.Element elem, Crypto crypto)
          Extracts the certificate(s) from the Binary Security token reference.
 void TimestampProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 void TimestampProcessor.handleTimestamp(Timestamp timestamp)
           
 void UsernameTokenProcessor.handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 WSUsernameTokenPrincipal UsernameTokenProcessor.handleUsernameToken(org.w3c.dom.Element token, javax.security.auth.callback.CallbackHandler cb)
          Check the UsernameToken element.
static java.lang.String X509Util.getEncAlgo(org.w3c.dom.Node encBodyData)
           
protected static javax.crypto.SecretKey X509Util.getSharedKey(org.w3c.dom.Element keyInfoElem, java.lang.String algorithm, javax.security.auth.callback.CallbackHandler cb)
           
 

Uses of WSSecurityException in org.apache.ws.security.saml
 

Methods in org.apache.ws.security.saml that throw WSSecurityException
static java.security.cert.X509Certificate[] SAMLUtil.getCertificatesFromSAML(org.w3c.dom.Element elem)
          Extracts the certificate(s) from the SAML token reference.
static java.lang.String SAMLUtil.getAssertionId(org.w3c.dom.Element envelope, java.lang.String elemName, java.lang.String nmSpace)
           
 org.w3c.dom.Document WSSecSignatureSAML.build(org.w3c.dom.Document doc, Crypto uCrypto, org.opensaml.SAMLAssertion assertion, Crypto iCrypto, java.lang.String iKeyName, java.lang.String iKeyPW, WSSecHeader secHeader)
          Builds a signed soap envelope with SAML token.
 void WSSecSignatureSAML.prepare(org.w3c.dom.Document doc, Crypto uCrypto, org.opensaml.SAMLAssertion assertion, Crypto iCrypto, java.lang.String iKeyName, java.lang.String iKeyPW, WSSecHeader secHeader)
          Initialize a WSSec SAML Signature.
 void WSSecSignatureSAML.addReferencesToSign(java.util.Vector references, WSSecHeader secHeader)
          This method adds references to the Signature.
 void WSSecSignatureSAML.computeSignature()
          Compute the Signature over the references.
 org.w3c.dom.Document WSSignSAMLEnvelope.build(org.w3c.dom.Document doc, Crypto userCrypto, org.opensaml.SAMLAssertion assertion, Crypto issuerCrypto, java.lang.String issuerKeyName, java.lang.String issuerKeyPW)
          Deprecated. replaced by WSSecSignatureSAML.build(Document, Crypto, SAMLAssertion, Crypto, String, String, WSSecHeader)
 

Uses of WSSecurityException in org.apache.ws.security.util
 

Methods in org.apache.ws.security.util that throw WSSecurityException
static byte[] Base64.decode(java.lang.String encoded)
          Decodes Base64 data into octects
static javax.crypto.Cipher WSSecurityUtil.getCipherInstance(java.lang.String cipherAlgo)
           
static int WSSecurityUtil.decodeAction(java.lang.String action, java.util.Vector actions)
           
static int WSSecurityUtil.getKeyLength(java.lang.String algorithm)
          Returns the length of the key in # of bytes
static byte[] WSSecurityUtil.generateNonce(int length)
          Generate a nonce of the given length
static java.security.cert.X509Certificate WSSecurityUtil.ensureSignedTogether(java.util.Iterator results, org.w3c.dom.Element[] elements)
          Search through a WSS4J results vector for a single signature covering all these elements.
 



Copyright © 2004-2008 Apache Web Services. All Rights Reserved.