KeyWriter
ptolemy.actor.lib.security.KeyWriter

Read in a Key from the input port and write it out to a KeyStore. <p>Keystores are ways to manage keys and certificates. See the <a href="../../../../ptolemy/actor/lib/security/KeyStoreActor.xml">ptolemy.actor.lib.security.KeyStoreActor</a> documentation for more information about keystores. <p>The input is of type <a href="../../../../ptolemy/actor/lib/security/KeyToken.xml">ptolemy.actor.lib.security.KeyToken</a>. This actor does not support writing PublicKeys because PublicKeys require certificates. Instead, to write a PublicKey/PrivateKey pair to a keystore, use the <code>keytool</code> executable. Currently, this actor only support writing SecretKeys and PrivateKeys to a keystore.

Author(s): Christopher Brooks
Version:$Id: KeyWriter.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Yellow (cxh)
Pt.Accepted Rating:Red (cxh)


input
The input port, which contains on KeyToken.
output
The output port, which contains a True boolean token when the key has been written.