javax.xml.crypto.dsig.XMLSignContext Java Examples
The following examples show how to use
javax.xml.crypto.dsig.XMLSignContext.
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 |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #2
Source File: AbstractDOMSignatureMethod.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #3
Source File: AbstractDOMSignatureMethod.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #4
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #5
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #6
Source File: AbstractDOMSignatureMethod.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #7
Source File: AbstractDOMSignatureMethod.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #8
Source File: AbstractDOMSignatureMethod.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #9
Source File: AbstractDOMSignatureMethod.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #10
Source File: AbstractDOMSignatureMethod.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #11
Source File: AbstractDOMSignatureMethod.java From jdk8u_jdk with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #12
Source File: AbstractDOMSignatureMethod.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;
Example #13
Source File: AbstractDOMSignatureMethod.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 2 votes |
/** * Signs the bytes with the specified key, using the underlying * Signature or Mac algorithm. * * @param key the signing key * @param si the SignedInfo * @param context the XMLSignContext * @return the signature * @throws NullPointerException if <code>key</code> or * <code>si</code> are <code>null</code> * @throws InvalidKeyException if the key is improperly encoded, of * the wrong type, or parameters are missing, etc * @throws XMLSignatureException if an unexpected error occurs */ abstract byte[] sign(Key key, SignedInfo si, XMLSignContext context) throws InvalidKeyException, XMLSignatureException;