Package javax.security.auth.callback

Examples of javax.security.auth.callback.UnsupportedCallbackException


     * {@code UnsupportedCallbackException}.
     */
    protected void handlePublicKeyBasedRequest(EncryptionKeyCallback callback,
                                               EncryptionKeyCallback.PublicKeyBasedRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here


            throws IOException, UnsupportedCallbackException {
        if (callback.getRequest() instanceof SignatureKeyCallback.PrivKeyCertRequest) {
            handlePrivKeyCertRequest(callback, (SignatureKeyCallback.PrivKeyCertRequest) callback.getRequest());
        }
        else {
            throw new UnsupportedCallbackException(callback);
        }
    }
View Full Code Here

        }
        else if (cb.getRequest() instanceof SignatureKeyCallback.PublicKeyBasedPrivKeyCertRequest) {
            handlePublicKeyBasedPrivKeyCertRequest(cb, (SignatureKeyCallback.PublicKeyBasedPrivKeyCertRequest) request);
        }
        else {
            throw new UnsupportedCallbackException(cb);
        }
    }
View Full Code Here

     * {@code UnsupportedCallbackException}.
     */
    protected void handleDefaultPrivKeyCertRequest(SignatureKeyCallback callback,
                                                   SignatureKeyCallback.DefaultPrivKeyCertRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here

     * {@code UnsupportedCallbackException}.
     */
    protected void handleAliasPrivKeyCertRequest(SignatureKeyCallback callback,
                                                 SignatureKeyCallback.AliasPrivKeyCertRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here

     * {@code UnsupportedCallbackException}.
     */
    protected void handlePublicKeyBasedPrivKeyCertRequest(SignatureKeyCallback callback,
                                                          SignatureKeyCallback.PublicKeyBasedPrivKeyCertRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here

        if (callback.getRequest() instanceof SignatureVerificationKeyCallback.X509CertificateRequest) {
            handleX509CertificateRequest(callback,
                    (SignatureVerificationKeyCallback.X509CertificateRequest) callback.getRequest());
        }
        else {
            throw new UnsupportedCallbackException(callback);
        }
    }
View Full Code Here

        else if (request instanceof SignatureVerificationKeyCallback.X509SubjectKeyIdentifierBasedRequest) {
            handleX509SubjectKeyIdentifierBasedRequest(callback,
                    (SignatureVerificationKeyCallback.X509SubjectKeyIdentifierBasedRequest) request);
        }
        else {
            throw new UnsupportedCallbackException(callback);
        }
    }
View Full Code Here

     * {@code UnsupportedCallbackException}.
     */
    protected void handleX509SubjectKeyIdentifierBasedRequest(SignatureVerificationKeyCallback callback,
                                                              SignatureVerificationKeyCallback.X509SubjectKeyIdentifierBasedRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here

     * {@code UnsupportedCallbackException}.
     */
    protected void handleX509IssuerSerialBasedRequest(SignatureVerificationKeyCallback callback,
                                                      SignatureVerificationKeyCallback.X509IssuerSerialBasedRequest request)
            throws IOException, UnsupportedCallbackException {
        throw new UnsupportedCallbackException(callback);
    }
View Full Code Here

TOP

Related Classes of javax.security.auth.callback.UnsupportedCallbackException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.