javax.xml.crypto.dsig.XMLValidateContext Java Examples
The following examples show how to use
javax.xml.crypto.dsig.XMLValidateContext.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractDOMSignatureMethod.java From dragonwell8_jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #2
Source File: AbstractDOMSignatureMethod.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #3
Source File: AbstractDOMSignatureMethod.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #4
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #5
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #6
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #7
Source File: AbstractDOMSignatureMethod.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #8
Source File: AbstractDOMSignatureMethod.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #9
Source File: AbstractDOMSignatureMethod.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #10
Source File: AbstractDOMSignatureMethod.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #11
Source File: AbstractDOMSignatureMethod.java From jdk8u_jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #12
Source File: AbstractDOMSignatureMethod.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;
Example #13
Source File: AbstractDOMSignatureMethod.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 2 votes |
/** * Verifies the passed-in signature with the specified key, using the * underlying Signature or Mac algorithm. * * @param key the verification key * @param si the SignedInfo * @param sig the signature bytes to be verified * @param context the XMLValidateContext * @return <code>true</code> if the signature verified successfully, * <code>false</code> if not * @throws NullPointerException if <code>key</code>, <code>si</code> or * <code>sig</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws SignatureException if an unexpected error occurs, such * as the passed in signature is improperly encoded * @throws XMLSignatureException if an unexpected error occurs */ abstract boolean verify(Key key, SignedInfo si, byte[] sig, XMLValidateContext context) throws InvalidKeyException, SignatureException, XMLSignatureException;