KeySerialization (EncryptionLibrary 1.0.2-2.16.1 API)
Date: 2013-09-24

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.common.utils.encryption
Class KeySerialization

    java.lang.Object
      org.gcube.common.utils.encryption.KeySerialization

    public class KeySerialization

extends Object

Manage keys serialization

Author:
  Manuele Simi (CNR)

Constructor Summary
`KeySerialization()`

Method Summary
`protected static SecretKey` | `loadDESede(File file, String jceAlgorithmName)` Loads the key
`protected static void` | `store(Key key, File file)` Stores the key

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KeySerialization

    public KeySerialization()

Method Detail

### store

    protected static void store(Key key,
                                File file)
                         throws Exception

  Stores the key

  Parameters:
    `key` - the key to store
    `file` - the file where to store the key
  Throws:
    `Exception`

### loadDESede

    protected static SecretKey loadDESede(File file,
                                          String jceAlgorithmName)
                                   throws Exception

  Loads the key

  Parameters:
    `file` - the name of the file where the key has been stored
    `jceAlgorithmName` - the name of the algorithm of the key
  Throws:
    `Exception`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.