Searched refs:SignatureException (Results 1 - 25 of 48) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureException.java34 public class SignatureException extends GeneralSecurityException { class in inherits:GeneralSecurityException
39 * Constructs a SignatureException with no detail message. A
43 public SignatureException() { method in class:SignatureException
48 * Constructs a SignatureException with the specified detail
54 public SignatureException(String msg) { method in class:SignatureException
59 * Creates a <code>SignatureException</code> with the specified
69 public SignatureException(String message, Throwable cause) { method in class:SignatureException
74 * Creates a <code>SignatureException</code> with the specified cause
84 public SignatureException(Throwable cause) { method in class:SignatureException
H A DSignatureSpi.java112 * @exception SignatureException if the engine is not initialized
115 protected abstract void engineUpdate(byte b) throws SignatureException;
125 * @exception SignatureException if the engine is not initialized
129 throws SignatureException;
163 } catch (SignatureException e) {
178 * @exception SignatureException if the engine is not
182 protected abstract byte[] engineSign() throws SignatureException;
211 * SignatureException.
217 * @exception SignatureException if the engine is not
225 throws SignatureException {
[all...]
H A DSignature.java547 * @exception SignatureException if this signature object is not
551 public final byte[] sign() throws SignatureException {
555 throw new SignatureException("object not initialized for " +
580 * @exception SignatureException if this signature object is not
588 throws SignatureException {
597 throw new SignatureException("object not initialized for " +
616 * @exception SignatureException if this signature object is not
621 public final boolean verify(byte[] signature) throws SignatureException {
625 throw new SignatureException("object not initialized for " +
646 * @exception SignatureException i
[all...]
H A DSignedObject.java144 * @exception SignatureException if signing fails.
148 throws IOException, InvalidKeyException, SignatureException {
214 * @exception SignatureException if signature verification failed.
222 throws InvalidKeyException, SignatureException {
236 * @exception SignatureException if signing fails.
239 throws InvalidKeyException, SignatureException {
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/
H A DSignerOutputStream.java31 import java.security.SignatureException;
53 } catch (SignatureException e) {
63 } catch (SignatureException e) {
73 } catch (SignatureException e) {
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDSASignature.java106 protected void engineUpdate(byte b) throws SignatureException {
117 throws SignatureException {
148 protected byte[] getDigestValue() throws SignatureException {
150 throw new SignatureException("Message digest is too long");
236 protected byte[] getDigestValue() throws SignatureException {
243 protected void engineUpdate(byte b) throws SignatureException {
251 throws SignatureException {
270 protected byte[] engineSign() throws SignatureException {
289 throw new SignatureException("Could not sign data", e);
295 protected boolean engineVerify(byte[] signature) throws SignatureException {
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS10.java38 import java.security.SignatureException;
116 * @exception SignatureException when the signature is invalid
121 throws IOException, SignatureException, NoSuchAlgorithmException {
175 throw new SignatureException("Invalid PKCS #10 signature");
177 throw new SignatureException("invalid key");
189 * @exception SignatureException on signature handling errors.
192 throws CertificateException, IOException, SignatureException {
198 throw new SignatureException("request is already signed");
230 throw new SignatureException(nsae);
285 * @exception SignatureException whe
[all...]
H A DSignerInfo.java297 throws NoSuchAlgorithmException, SignatureException {
371 throw new SignatureException("Certificate has unsupported "
389 throw new SignatureException("Failed to parse keyUsage "
400 throw new SignatureException("Key usage restricted: "
416 throw new SignatureException("IO error verifying signature:\n" +
420 throw new SignatureException("InvalidKey: " + e.getMessage());
428 throws NoSuchAlgorithmException, SignatureException {
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSASignature.java41 import java.security.SignatureException;
127 protected void engineUpdate(byte b) throws SignatureException {
138 throws SignatureException {
169 protected byte[] getDigestValue() throws SignatureException {
171 throw new SignatureException("Message digest is too long");
188 throw new SignatureException(
315 protected byte[] getDigestValue() throws SignatureException {
330 * @exception SignatureException if the engine is not initialized
333 protected void engineUpdate(byte b) throws SignatureException
347 * @exception SignatureException i
[all...]
/openjdk7/jdk/src/share/classes/javax/security/cert/
H A DCertificate.java33 import java.security.SignatureException;
137 * @exception SignatureException on signature errors.
143 SignatureException;
156 * @exception SignatureException on signature errors.
162 SignatureException;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DRSASignature.java150 private byte[] getDigest() throws SignatureException {
160 throw new SignatureException(e);
164 protected byte[] engineSign() throws SignatureException {
169 protected boolean engineVerify(byte[] sigBytes) throws SignatureException {
174 throws SignatureException {
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertAndKeyGen.java223 * @exception SignatureException on signature handling errors.
229 throws CertificateException, InvalidKeyException, SignatureException,
238 throws CertificateException, InvalidKeyException, SignatureException,
279 throws CertificateException, InvalidKeyException, SignatureException,
297 * @exception SignatureException on signature handling errors.
300 throws InvalidKeyException, SignatureException
310 throw new SignatureException (sigAlg + " CertificateException");
313 throw new SignatureException (sigAlg + " IOException");
317 throw new SignatureException (sigAlg + " unavailable?");
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertificate.java34 import java.security.SignatureException;
160 * @exception SignatureException on signature errors.
166 SignatureException;
181 * @exception SignatureException on signature errors.
187 SignatureException;
H A DX509CRL.java31 import java.security.SignatureException;
195 * @exception SignatureException on signature errors.
201 SignatureException;
216 * @exception SignatureException on signature errors.
222 SignatureException;
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSASignature.java153 protected void engineUpdate(byte b) throws SignatureException {
160 throws SignatureException {
172 protected byte[] engineSign() throws SignatureException {
180 throw new SignatureException("Could not sign data", e);
182 throw new SignatureException("Could not encode data", e);
187 protected boolean engineVerify(byte[] sigBytes) throws SignatureException {
189 throw new SignatureException("Signature length not correct: got " +
206 throw new SignatureException("Signature verification failed", e);
208 throw new SignatureException("Signature encoding error", e);
/openjdk7/jdk/test/javax/crypto/JceSecurity/
H A DMyX509CertImpl.java181 SignatureException {
185 } catch (SignatureException e) {
188 "Rethrowing as a SignatureException", e);
195 SignatureException {
200 } catch (SignatureException e) {
203 "Rethrowing as a SignatureException", e);
/openjdk7/jdk/test/sun/security/rsa/
H A DInvalidBitString.java34 import java.security.SignatureException;
130 } catch (SignatureException se) {
/openjdk7/jdk/test/java/security/Provider/
H A DGetInstance.java194 protected void engineUpdate(byte b) throws SignatureException { }
195 protected void engineUpdate(byte[] b, int off, int len) throws SignatureException { }
196 protected byte[] engineSign() throws SignatureException {
199 protected boolean engineVerify(byte[] sigBytes) throws SignatureException {
217 protected void engineUpdate(byte b) throws SignatureException { }
218 protected void engineUpdate(byte[] b, int off, int len) throws SignatureException { }
219 protected byte[] engineSign() throws SignatureException {
222 protected boolean engineVerify(byte[] sigBytes) throws SignatureException {
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DTypeSignature.java55 static class SignatureException extends Exception { class in class:TypeSignature
57 SignatureException(String reason) { method in class:TypeSignature.SignatureException
87 public String getTypeSignature(String javasignature) throws SignatureException {
95 throws SignatureException {
176 private String getParamJVMSignature(String paramsig) throws SignatureException {
207 private String getComponentType(String componentType) throws SignatureException {
226 throw new SignatureException(componentType);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Signature.java395 protected void engineUpdate(byte b) throws SignatureException {
420 throws SignatureException {
503 protected byte[] engineSign() throws SignatureException {
517 throw new SignatureException
523 throw new SignatureException("Data for NONEwithECDSA"
555 protected boolean engineVerify(byte[] signature) throws SignatureException {
572 throw new SignatureException
578 throw new SignatureException("Data for NONEwithECDSA"
631 private byte[] encodeSignature(byte[] digest) throws SignatureException {
635 throw new SignatureException("Invali
[all...]
/openjdk7/jdk/test/java/security/Signature/
H A DSignWithOutputBuffer.java53 } catch (SignatureException e) {
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSA.java107 abstract byte[] getDigest() throws SignatureException;
157 * not, a SignatureException is thrown when sign()/verify() is called
192 byte[] getDigest() throws SignatureException {
194 throw new SignatureException
261 * @exception SignatureException if the signature object was not
267 protected byte[] engineSign() throws SignatureException {
282 throw new SignatureException("error encoding signature");
292 * @exception SignatureException if the signature object was not
299 throws SignatureException {
313 * @exception SignatureException i
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DSignatureBaseRSA.java31 import java.security.SignatureException;
102 } catch (SignatureException ex) {
144 } catch (SignatureException ex) {
193 } catch (SignatureException ex) {
202 } catch (SignatureException ex) {
212 } catch (SignatureException ex) {
H A DSignatureDSA.java31 import java.security.SignatureException;
119 } catch (SignatureException ex) {
172 } catch (SignatureException ex) {
227 } catch (SignatureException ex) {
238 } catch (SignatureException ex) {
250 } catch (SignatureException ex) {
/openjdk7/jdk/test/java/security/KeyStore/
H A DDefaultEntryType.java37 import java.security.SignatureException;
78 SignatureException { }
82 SignatureException { }
93 SignatureException { }
97 SignatureException { }

Completed in 1140 milliseconds

12