Author: simonetripodi
Date: Sat Jan 30 20:18:25 2010
New Revision: 904867
URL: http://svn.apache.org/viewvc?rev=904867&view=rev
Log:
reading the buffered byte array could throw an exception
Modified:
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/rsa/AbstractRsaSha1Key.java
Modified:
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/rsa/AbstractRsaSha1Key.java
URL:
http://svn.apache.org/viewvc/labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/rsa/AbstractRsaSha1Key.java?rev=904867&r1=904866&r2=904867&view=diff
==============================================================================
---
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/rsa/AbstractRsaSha1Key.java
(original)
+++
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/rsa/AbstractRsaSha1Key.java
Sat Jan 30 20:18:25 2010
@@ -96,8 +96,10 @@
* Initializes the key after reading the RSA certificate.
*
* @param bufferedValue the buffered RSA certificate.
+ * @throws SignatureException if any error occurs while reading the
+ * certificate.
*/
- protected abstract void init(byte[] bufferedValue);
+ protected abstract void init(byte[] bufferedValue) throws
SignatureException;
/**
* Read the certificate and store the value into a returned buffer.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]