BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.auth.util.KeyczarCryptoFactory Class Reference
Inheritance diagram for eu.baltrad.dex.auth.util.KeyczarCryptoFactory:
eu.baltrad.dex.auth.util.CryptoFactory

Public Member Functions

 KeyczarCryptoFactory (File keyStoreRoot)
 
Signer createSigner (String name) throws KeyczarException
 
Verifier createVerifier (String name) throws KeyczarException
 

Protected Member Functions

File getKeyLocation (String name)
 

Detailed Description

Construct Keyczar signers and verifiers.

It assumes a certain structure from your keystore:

  • private keys must be stored in $keyStoreRoot/$name.priv
  • public keys must be stored in $keyStoreRoot/$name.pub

Constructor & Destructor Documentation

◆ KeyczarCryptoFactory()

eu.baltrad.dex.auth.util.KeyczarCryptoFactory.KeyczarCryptoFactory ( File keyStoreRoot)
inline

Constructor.

Parameters
keyStoreRoot- root directory of the keystore

Member Function Documentation

◆ createSigner()

Signer eu.baltrad.dex.auth.util.KeyczarCryptoFactory.createSigner ( String name) throws KeyczarException
inline

Create a signer using key from $keyStoreRoot/$name.priv

Exceptions
KeyczarException

Implements eu.baltrad.dex.auth.util.CryptoFactory.

◆ createVerifier()

Verifier eu.baltrad.dex.auth.util.KeyczarCryptoFactory.createVerifier ( String name) throws KeyczarException
inline

Create a signer using key from $keyStoreRoot/$name.pub

Exceptions
KeyczarException

Implements eu.baltrad.dex.auth.util.CryptoFactory.


The documentation for this class was generated from the following file: