|
From: <pe...@us...> - 2003-10-29 21:16:31
|
Update of /cvsroot/neuclear/neuclear-id/src/java
In directory sc8-pr-cvs1:/tmp/cvs-serv29589/src/java
Added Files:
neuclear-id.xml
Log Message:
Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
To use it you pass a byte array and an alias. The sign method then returns the signature.
If a Signer needs a passphrase it uses a PassPhraseAgent to present a dialogue box, read it from a command line etc.
This new Signer pattern allows us to use secure signing hardware such as N-Cipher in the future for server applications as well
as SmartCards for end user applications.
--- NEW FILE: neuclear-id.xml ---
<components>
<component type="org.neudist.crypto.Signer"
class="org.neuclear.signers.DefaultSigner"/>
<component type="org.neuclear.signers.PublicKeySource"
class="org.neuclear.signers.DefaultSigner"/>
<component type="org.neuclear.passphraseagents.PassPhraseAgent"
class="org.neuclear.passphraseagents.GuiDialogAgent"/>
</components>
|