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

Packages that use WSSecurityException
org.apache.ws.security   
org.apache.ws.security.action   
org.apache.ws.security.components.crypto   
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.transform   
org.apache.ws.security.util   
 

Uses of WSSecurityException in org.apache.ws.security
 

Methods in org.apache.ws.security that throw WSSecurityException
 boolean PublicKeyCallback.verifyTrust(java.security.KeyStore keyStore)
          Evaluate whether a given public key should be trusted.
 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 SAMLTokenUnsignedAction.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 UsernameTokenAction.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 UsernameTokenSignedAction.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 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 SignatureAction.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[] 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)
           
 java.security.cert.CertificateFactory CryptoBase.getCertificateFactory()
          Singleton certificate factory for this Crypto instance.
 java.security.cert.X509Certificate CryptoBase.loadCertificate(java.io.InputStream in)
          load a X509Certificate from the input stream.
 java.lang.String CryptoBase.getAliasForX509Cert(java.lang.String issuer)
          Lookup a X509 Certificate in the keystore according to a given the issuer of a Certificate.
 java.lang.String CryptoBase.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 Certificate.
 java.lang.String CryptoBase.getAliasForX509Cert(byte[] skiBytes)
          Lookup a X509 Certificate in the keystore according to a given SubjectKeyIdentifier.
 java.lang.String CryptoBase.getAliasForX509Cert(java.security.cert.Certificate cert)
          Return a X509 Certificate alias in the keystore according to a given Certificate

 java.security.cert.X509Certificate[] CryptoBase.getCertificates(java.lang.String alias)
          Gets the list of certificates for a given alias.
 java.lang.String CryptoBase.getAliasForX509CertThumb(byte[] thumb)
          Lookup a X509 Certificate in the keystore according to a given Thumbprint.
 byte[] CryptoBase.getSKIBytesFromCert(java.security.cert.X509Certificate cert)
          Reads the SubjectKeyIdentifier information from the certificate.
 java.lang.String[] CryptoBase.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.

 byte[] CryptoBase.getCertificateData(boolean reverse, java.security.cert.X509Certificate[] certs)
          get a byte array given an array of X509 certificates.
 java.security.cert.X509Certificate[] CryptoBase.getX509Certificates(byte[] data, boolean reverse)
          Construct an array of X509Certificate's from the byte array.
 boolean CryptoBase.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.
 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 Certificate.
 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 Certificate.
 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

 

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

Methods in org.apache.ws.security.handler that throw WSSecurityException
 boolean WSS4JHandler.processMessage(javax.xml.rpc.handler.MessageContext mc, boolean isRequestMessage)
          Switch for transferring 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
protected  void WSHandler.doSenderAction(int doAction, org.w3c.dom.Document doc, RequestData reqData, java.util.Vector actions, boolean isRequest)
          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.decodeCustomPasswordTypes(RequestData reqData)
           
protected  boolean WSHandler.decodeNamespaceQualifiedPasswordTypes(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 the receivers' side.
 

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

Methods in org.apache.ws.security.message that throw WSSecurityException
 org.w3c.dom.Document WSSignEnvelope.build(org.w3c.dom.Document doc, Crypto crypto)
          Deprecated. replaced by WSSecSignature.build(Document, Crypto, WSSecHeader)
 org.w3c.dom.Document WSEncryptBody.build(org.w3c.dom.Document doc, Crypto crypto)
          Deprecated. replaced by WSSecEncrypt.build(Document, Crypto, WSSecHeader)
 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 WSSecDKSign.build(org.w3c.dom.Document doc, WSSecHeader secHeader)
           
 void WSSecDKSign.prepare(org.w3c.dom.Document doc, 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).
 byte[] WSSecUsernameToken.getSecretKey()
          Get the derived secret key.
 byte[] WSSecUsernameToken.getDerivedKey()
          Get the derived key.
 org.w3c.dom.Document WSSecDKEncrypt.build(org.w3c.dom.Document doc, 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)
          Initialize a WSSec Derived key.
 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 WSSecEncryptedKey.setKeySize(int keySize)
           
 

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

Methods in org.apache.ws.security.message.token that throw WSSecurityException
 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.
 SecurityTokenReference DerivedKeyToken.getSecurityTokenReference()
          Returns the SecurityTokenReference of the derived key token
 SecurityTokenReference DerivedKeyToken.getSecuityTokenReference()
          Deprecated. use getSecurityTokenReference() instead
 Reference SecurityTokenReference.getReference()
          Gets the Reference.
 org.w3c.dom.Element SecurityTokenReference.getTokenElement(org.w3c.dom.Document doc, WSDocInfo docInfo, javax.security.auth.callback.CallbackHandler cb)
          Gets the signing token element, which maybe a BinarySecurityToken or a SAML token.
 org.w3c.dom.Element SecurityTokenReference.getKeyIdentifierTokenElement(org.w3c.dom.Document doc, WSDocInfo docInfo, javax.security.auth.callback.CallbackHandler cb)
          Gets the signing token element, which may be a BinarySecurityToken or a SAML token.
 void SecurityTokenReference.setKeyIdentifier(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifier Element as a X509 certificate.
 void SecurityTokenReference.setKeyIdentifierSKI(java.security.cert.X509Certificate cert, Crypto crypto)
          Sets the KeyIdentifier Element as a X509 Subject-Key-Identifier (SKI).
 void SecurityTokenReference.setKeyIdentifierThumb(java.security.cert.X509Certificate cert)
          Sets the KeyIdentifier Element as a Thumbprint.
 void SecurityTokenReference.setKeyIdentifierEncKeySHA1(java.lang.String value)
           
 void SecurityTokenReference.setSAMLKeyIdentifier(java.lang.String keyIdVal)
           
 void SecurityTokenReference.setKeyIdentifier(java.lang.String valueType, java.lang.String keyIdVal)
           
 java.security.cert.X509Certificate[] SecurityTokenReference.getKeyIdentifier(Crypto crypto)
          Gets the KeyIdentifier.
 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.
 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.
 byte[] UsernameToken.getDerivedKey()
          This method gets a derived key as defined in WSS Username Token Profile.
 boolean UsernameToken.isDerivedKey()
          Return whether the UsernameToken represented by this class is to be used for key derivation as per the UsernameToken Profile 1.1.
 

Constructors in org.apache.ws.security.message.token that throw WSSecurityException
SignatureConfirmation(org.w3c.dom.Element elem)
          Constructs a SignatureConfirmation object and parses the wsse11:SignatureCOnfirmation element to initialize it.
PKIPathSecurity(org.w3c.dom.Element elem)
          Constructor.
DerivedKeyToken(org.w3c.dom.Element elem)
          This will create a DerivedKeyToken object with the given DerivedKeyToken element
SecurityTokenReference(org.w3c.dom.Element elem)
          Constructor.
BinarySecurity(org.w3c.dom.Element elem)
          Constructor.
Timestamp(org.w3c.dom.Element element)
          Constructs a Timestamp object and parses the wsu:Timestamp element to initialize it.
Reference(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 contained in the element.
UsernameToken(org.w3c.dom.Element elem)
          Constructs a UsernameToken object and parses the wsse:UsernameToken element to initialize it.
UsernameToken(org.w3c.dom.Element elem, boolean allowNamespaceQualifiedPasswordTypes)
          Constructs a UsernameToken object and parses the wsse:UsernameToken element to initialize it.
SecurityContextToken(org.w3c.dom.Element elem)
          This is used to create a SecurityContextToken using a DOM Element
 

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

Methods in org.apache.ws.security.processor that throw WSSecurityException
 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)
           
 java.util.ArrayList EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
           
 java.util.ArrayList EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey, java.security.PrivateKey privatekey)
           
 java.util.ArrayList 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 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)
           
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)
           
 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 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.
 byte[] UsernameTokenProcessor.getDerivedKey(javax.security.auth.callback.CallbackHandler cb)
           
 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 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 BinarySecurityTokenProcessor.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 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)
           
static org.w3c.dom.Element ReferenceListProcessor.findEncryptedDataElement(org.w3c.dom.Document doc, java.lang.String dataRefURI)
          Look up the encrypted data.
static WSDataRef ReferenceListProcessor.decryptEncryptedData(org.w3c.dom.Document doc, java.lang.String dataRefURI, org.w3c.dom.Element encData, javax.crypto.SecretKey symmetricKey, java.lang.String symEncAlgo)
          Decrypt the EncryptedData argument using a SecretKey.
 void EncryptedDataProcessor.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 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 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, java.util.List protectedElements, byte[][] signatureValue, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo)
          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 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)
           
 

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

Methods in org.apache.ws.security.saml that throw WSSecurityException
 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)
static SAMLKeyInfo SAMLUtil.getSAMLKeyInfo(org.w3c.dom.Element elem, Crypto crypto, javax.security.auth.callback.CallbackHandler cb)
          Extract certificates or the key available in the SAMLAssertion
static SAMLKeyInfo SAMLUtil.getSAMLKeyInfo(org.opensaml.SAMLAssertion assertion, Crypto crypto, javax.security.auth.callback.CallbackHandler cb)
           
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.
 

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

Methods in org.apache.ws.security.transform that throw WSSecurityException
static org.w3c.dom.Element STRTransformUtil.dereferenceSTR(org.w3c.dom.Document doc, SecurityTokenReference secRef, WSDocInfo wsDocInfo)
          Retrieves the element representing the referenced content of a STR.
protected static org.w3c.dom.Element STRTransformUtil.createBSTX509(org.w3c.dom.Document doc, java.security.cert.X509Certificate cert, org.w3c.dom.Element secRefE)
           
 

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

Methods in org.apache.ws.security.util that throw WSSecurityException
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.decodeAction(java.lang.String action, java.util.Vector actions, WSSConfig wssConfig)
          Decode an action String.
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.
static byte[] Base64.decode(java.lang.String encoded)
          Decodes Base64 data into octects
 



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.