|
From: Pelle B. <pe...@us...> - 2004-04-09 18:54:08
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19535/src/java/org/neuclear/commons/crypto/signers Modified Files: BrowsableSigner.java JCESigner.java Log Message: BrowsableSigner now inherits Signer and PublicKeySource, which means implementations only need to implement BrowsableSigner now. Added NewAliasDialog, which isnt yet complete. Index: JCESigner.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/JCESigner.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** JCESigner.java 7 Apr 2004 17:22:10 -0000 1.19 --- JCESigner.java 9 Apr 2004 18:40:45 -0000 1.20 *************** *** 2,5 **** --- 2,9 ---- * $Id$ * $Log$ + * Revision 1.20 2004/04/09 18:40:45 pelle + * BrowsableSigner now inherits Signer and PublicKeySource, which means implementations only need to implement BrowsableSigner now. + * Added NewAliasDialog, which isnt yet complete. + * * Revision 1.19 2004/04/07 17:22:10 pelle * Added support for the new improved interactive signing model. A new Agent is also available with SwingAgent. *************** *** 181,185 **** * Wrapper around JCE KeyStore */ ! public class JCESigner implements org.neuclear.commons.crypto.signers.Signer, BrowsableSigner, PublicKeySource { /** --- 185,189 ---- * Wrapper around JCE KeyStore */ ! public class JCESigner implements BrowsableSigner { /** Index: BrowsableSigner.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/BrowsableSigner.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BrowsableSigner.java 7 Apr 2004 17:22:10 -0000 1.2 --- BrowsableSigner.java 9 Apr 2004 18:40:45 -0000 1.3 *************** *** 4,8 **** import java.security.KeyStoreException; - import java.security.PublicKey; import java.util.Iterator; --- 4,7 ---- *************** *** 27,30 **** --- 26,33 ---- $Id$ $Log$ + Revision 1.3 2004/04/09 18:40:45 pelle + BrowsableSigner now inherits Signer and PublicKeySource, which means implementations only need to implement BrowsableSigner now. + Added NewAliasDialog, which isnt yet complete. + Revision 1.2 2004/04/07 17:22:10 pelle Added support for the new improved interactive signing model. A new Agent is also available with SwingAgent. *************** *** 43,51 **** * provide an iterator of the keys held within. */ ! public interface BrowsableSigner { Iterator iterator() throws KeyStoreException; - PublicKey getPublicKey(String name) throws NonExistingSignerException; - byte[] sign(byte data[], SetPublicKeyCallBack callback) throws UserCancellationException; --- 46,52 ---- * provide an iterator of the keys held within. */ ! public interface BrowsableSigner extends Signer, PublicKeySource { Iterator iterator() throws KeyStoreException; byte[] sign(byte data[], SetPublicKeyCallBack callback) throws UserCancellationException; |