| java.lang.Object org.springframework.ws.soap.security.xwss.callback.AbstractCallbackHandler org.springframework.ws.soap.security.xwss.callback.CryptographyCallbackHandler
All known Subclasses: org.springframework.ws.soap.security.xwss.callback.KeyStoreCallbackHandler,
CryptographyCallbackHandler | public class CryptographyCallbackHandler extends AbstractCallbackHandler (Code) | | Default callback handler that handles cryptographic callback. This handler determines the exact callback passed, and
calls a template method for it. By default, all template methods throw an UnsupportedCallbackException ,
so you only need to override those you need.
author: Arjen Poutsma |
Method Summary | |
protected void | handleAliasPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.AliasPrivKeyCertRequest request) Template method that handles SignatureKeyCallback s with AliasPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . | protected void | handleAliasSymmetricKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.AliasSymmetricKeyRequest request) Template method that handles DecryptionKeyCallback s with AliasSymmetricKeyRequest s.
Called from handleSymmetricKeyRequest() . | protected void | handleAliasSymmetricKeyRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.AliasSymmetricKeyRequest request) Template method that handles EncryptionKeyCallback s with AliasSymmetricKeyRequest s.
Called from handleSymmetricKeyRequest() . | protected void | handleAliasX509CertificateRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.AliasX509CertificateRequest request) Template method that handles EncryptionKeyCallback s with AliasX509CertificateRequest s.
Called from handleX509CertificateRequest() . | protected void | handleCertificateValidationCallback(CertificateValidationCallback callback) Template method that handles CertificateValidationCallback s. | final protected void | handleDecryptionKeyCallback(DecryptionKeyCallback callback) Method that handles DecryptionKeyCallback s. | protected void | handleDefaultPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.DefaultPrivKeyCertRequest request) Template method that handles SignatureKeyCallback s with DefaultPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . | protected void | handleDefaultX509CertificateRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.DefaultX509CertificateRequest request) Template method that handles EncryptionKeyCallback s with DefaultX509CertificateRequest s.
Called from handleX509CertificateRequest() . | final protected void | handleEncryptionKeyCallback(EncryptionKeyCallback callback) Method that handles EncryptionKeyCallback s. | final protected void | handleInternal(Callback callback) | final protected void | handlePrivKeyCertRequest(SignatureKeyCallback cb, SignatureKeyCallback.PrivKeyCertRequest request) Method that handles SignatureKeyCallback s with PrivKeyCertRequest s. | final protected void | handlePrivateKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.PrivateKeyRequest request) Method that handles DecryptionKeyCallback s with PrivateKeyRequest . | protected void | handlePublicKeyBasedPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.PublicKeyBasedPrivKeyCertRequest request) Template method that handles SignatureKeyCallback s with PublicKeyBasedPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . | protected void | handlePublicKeyBasedPrivKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.PublicKeyBasedPrivKeyRequest request) Template method that handles DecryptionKeyCallback s with PublicKeyBasedPrivKeyRequest s.
Called from handlePrivateKeyRequest() . | protected void | handlePublicKeyBasedRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.PublicKeyBasedRequest request) Template method that handles EncryptionKeyCallback s with PublicKeyBasedRequest s. | protected void | handlePublicKeyBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.PublicKeyBasedRequest request) Template method that handles SignatureKeyCallback s with PublicKeyBasedRequest s. | final protected void | handleSignatureKeyCallback(SignatureKeyCallback callback) Method that handles SignatureKeyCallback s. | final protected void | handleSignatureVerificationKeyCallback(SignatureVerificationKeyCallback callback) Method that handles SignatureVerificationKeyCallback s. | final protected void | handleSymmetricKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.SymmetricKeyRequest request) Method that handles DecryptionKeyCallback s with SymmetricKeyRequest . | final protected void | handleSymmetricKeyRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.SymmetricKeyRequest request) Method that handles EncryptionKeyCallback s with SymmetricKeyRequest . | protected void | handleX509CertificateBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509CertificateBasedRequest request) Template method that handles DecryptionKeyCallback s with X509CertificateBasedRequest s.
Called from handlePrivateKeyRequest() . | final protected void | handleX509CertificateRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.X509CertificateRequest request) Method that handles EncryptionKeyCallback s with X509CertificateRequest . | final protected void | handleX509CertificateRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.X509CertificateRequest request) Method that handles SignatureVerificationKeyCallback s with X509CertificateRequest s.
Called from handleSignatureVerificationKeyCallback() . | protected void | handleX509IssuerSerialBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509IssuerSerialBasedRequest request) Template method that handles DecryptionKeyCallback s with X509IssuerSerialBasedRequest s.
Called from handlePrivateKeyRequest() . | protected void | handleX509IssuerSerialBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.X509IssuerSerialBasedRequest request) Template method that handles SignatureKeyCallback s with X509IssuerSerialBasedRequest s.
Called from handlePrivKeyCertRequest() . | protected void | handleX509SubjectKeyIdentifierBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509SubjectKeyIdentifierBasedRequest request) Template method that handles DecryptionKeyCallback s with X509SubjectKeyIdentifierBasedRequest s.
Called from handlePrivateKeyRequest() . | protected void | handleX509SubjectKeyIdentifierBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.X509SubjectKeyIdentifierBasedRequest request) Template method that handles SignatureKeyCallback s with PublicKeyBasedPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . |
handleAliasPrivKeyCertRequest | protected void handleAliasPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.AliasPrivKeyCertRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with AliasPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleAliasSymmetricKeyRequest | protected void handleAliasSymmetricKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.AliasSymmetricKeyRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles DecryptionKeyCallback s with AliasSymmetricKeyRequest s.
Called from handleSymmetricKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleAliasSymmetricKeyRequest | protected void handleAliasSymmetricKeyRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.AliasSymmetricKeyRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles EncryptionKeyCallback s with AliasSymmetricKeyRequest s.
Called from handleSymmetricKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleAliasX509CertificateRequest | protected void handleAliasX509CertificateRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.AliasX509CertificateRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles EncryptionKeyCallback s with AliasX509CertificateRequest s.
Called from handleX509CertificateRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleCertificateValidationCallback | protected void handleCertificateValidationCallback(CertificateValidationCallback callback) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles CertificateValidationCallback s. Called from
handleInternal() . Default implementation throws an UnsupportedCallbackException .
|
handleDefaultPrivKeyCertRequest | protected void handleDefaultPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.DefaultPrivKeyCertRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with DefaultPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleDefaultX509CertificateRequest | protected void handleDefaultX509CertificateRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.DefaultX509CertificateRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles EncryptionKeyCallback s with DefaultX509CertificateRequest s.
Called from handleX509CertificateRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handlePublicKeyBasedPrivKeyCertRequest | protected void handlePublicKeyBasedPrivKeyCertRequest(SignatureKeyCallback callback, SignatureKeyCallback.PublicKeyBasedPrivKeyCertRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with PublicKeyBasedPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handlePublicKeyBasedPrivKeyRequest | protected void handlePublicKeyBasedPrivKeyRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.PublicKeyBasedPrivKeyRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles DecryptionKeyCallback s with PublicKeyBasedPrivKeyRequest s.
Called from handlePrivateKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handlePublicKeyBasedRequest | protected void handlePublicKeyBasedRequest(EncryptionKeyCallback callback, EncryptionKeyCallback.PublicKeyBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles EncryptionKeyCallback s with PublicKeyBasedRequest s. Called
from handleX509CertificateRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handlePublicKeyBasedRequest | protected void handlePublicKeyBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.PublicKeyBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with PublicKeyBasedRequest s. Called
from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleX509CertificateBasedRequest | protected void handleX509CertificateBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509CertificateBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles DecryptionKeyCallback s with X509CertificateBasedRequest s.
Called from handlePrivateKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleX509IssuerSerialBasedRequest | protected void handleX509IssuerSerialBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509IssuerSerialBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles DecryptionKeyCallback s with X509IssuerSerialBasedRequest s.
Called from handlePrivateKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleX509IssuerSerialBasedRequest | protected void handleX509IssuerSerialBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.X509IssuerSerialBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with X509IssuerSerialBasedRequest s.
Called from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleX509SubjectKeyIdentifierBasedRequest | protected void handleX509SubjectKeyIdentifierBasedRequest(DecryptionKeyCallback callback, DecryptionKeyCallback.X509SubjectKeyIdentifierBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles DecryptionKeyCallback s with X509SubjectKeyIdentifierBasedRequest s.
Called from handlePrivateKeyRequest() . Default implementation throws an
UnsupportedCallbackException .
|
handleX509SubjectKeyIdentifierBasedRequest | protected void handleX509SubjectKeyIdentifierBasedRequest(SignatureVerificationKeyCallback callback, SignatureVerificationKeyCallback.X509SubjectKeyIdentifierBasedRequest request) throws IOException, UnsupportedCallbackException(Code) | | Template method that handles SignatureKeyCallback s with PublicKeyBasedPrivKeyCertRequest s.
Called from handlePrivKeyCertRequest() . Default implementation throws an
UnsupportedCallbackException .
|
Fields inherited from org.springframework.ws.soap.security.xwss.callback.AbstractCallbackHandler | final protected Log logger(Code)(Java Doc)
|
|
|