KeyFactory (EncryptionLibrary 1.0.2-2.17.0 API)
Date: 2013-11-29

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 KeyFactory

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

    public class KeyFactory

extends Object

A simplified keys generator for the most common algorithms

Author:
  Manuele Simi (CNR)

Constructor Summary
`KeyFactory()`

Method Summary
`protected static SecretKey` | `newAESKey()` Generates an AES key
`protected static SecretKey` | `newDESKey()` Generates a DESede key
`protected static SecretKey` | `newRijndaelKey()` Generates a Rijndael key
`protected static SecretKey` | `newTripleDESKey()` Generates a TripleDES key

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

Constructor Detail

### KeyFactory

    public KeyFactory()

Method Detail

### newAESKey

    protected static SecretKey newAESKey()
                                  throws Exception

  Generates an AES key

  Throws:
    `Exception`

### newTripleDESKey

    protected static SecretKey newTripleDESKey()
                                        throws Exception

  Generates a TripleDES key

  Throws:
    `Exception`

### newRijndaelKey

    protected static SecretKey newRijndaelKey()
                                       throws Exception

  Generates a Rijndael key

  Throws:
    `Exception`

### newDESKey

    protected static SecretKey newDESKey()
                                  throws Exception

  Generates a DESede 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.