|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.encryption.EncryptionCreator
Utility class for creating encrypted data.
| Constructor Summary | |
EncryptionCreator()
|
|
| Method Summary | |
static org.w3c.dom.Document |
createEmptyDoc(boolean ns)
Create an empty document. |
static org.w3c.dom.Element |
decrypt(org.w3c.dom.Node node,
java.net.URL url,
EncryptionKey key)
Decrypt a document. |
static org.w3c.dom.Element |
encrypt(org.w3c.dom.Node node,
java.net.URL url,
EncryptionKey key)
Encrypt a document. |
static EncryptionKey |
getKey(EncryptionKey key)
Get the default encryption key. |
static java.security.KeyStore |
getKeyStore(EncryptionKey key)
Get the key store for an encryption key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EncryptionCreator()
| Method Detail |
public static EncryptionKey getKey(EncryptionKey key)
key - the current encryption key
public static org.w3c.dom.Document createEmptyDoc(boolean ns)
throws java.lang.Exception
ns - should the document be namespace aware?
java.lang.Exception - there was error creating the document
public static org.w3c.dom.Element encrypt(org.w3c.dom.Node node,
java.net.URL url,
EncryptionKey key)
throws java.lang.Exception
node - the node to be encryptedurl - the base URL of dockey - the encryption key
java.lang.Exception - the node could not be encrypted
public static org.w3c.dom.Element decrypt(org.w3c.dom.Node node,
java.net.URL url,
EncryptionKey key)
throws java.lang.Exception
node - the node to be decryptedurl - the base URL of dockey - the encryption key
java.lang.Exception - the node could not be encrypted
public static java.security.KeyStore getKeyStore(EncryptionKey key)
throws java.lang.Exception
key - the key
java.lang.Exception - the key sotre could not be accessed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||