de.upb.swtpra05.group03.crypto
Class ShuttleCrypto

java.lang.Object
  extended byde.upb.swtpra05.group03.crypto.Crypto
      extended byde.upb.swtpra05.group03.crypto.BobCrypto
          extended byde.upb.swtpra05.group03.crypto.ShuttleCrypto

public class ShuttleCrypto
extends BobCrypto

crypto class used by the shuttle agents

Version:
$Revision: 1.3 $

Field Summary
protected static java.lang.String NAME
          name used as identifier for loading the signing keys
 
Fields inherited from class de.upb.swtpra05.group03.crypto.BobCrypto
 
Fields inherited from class de.upb.swtpra05.group03.crypto.Crypto
AGREEMENT_ALGORITHM, CIPHER_ALGORITHM, KEY_ALGORITHM, pubKeyFactory, SIGNATURE_ALGORITHM, signer, state, STATE_INIT, STATE_READY, STATE_WAITING, verifyer
 
Constructor Summary
ShuttleCrypto()
          Constructor
 
Methods inherited from class de.upb.swtpra05.group03.crypto.BobCrypto
generatePublicKey, reset, saveSeed
 
Methods inherited from class de.upb.swtpra05.group03.crypto.Crypto
decryptObject, encryptObject, genPublicKeyFromX509, getSecretKey, isReady, loadSigningKeys, setSecretKey, setSecretKey, sign, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

protected static final java.lang.String NAME
name used as identifier for loading the signing keys

See Also:
Constant Field Values
Constructor Detail

ShuttleCrypto

public ShuttleCrypto()
              throws java.security.NoSuchAlgorithmException,
                     javax.crypto.NoSuchPaddingException,
                     java.io.IOException,
                     java.security.spec.InvalidKeySpecException,
                     java.security.InvalidKeyException
Constructor

Throws:
javax.crypto.NoSuchPaddingException
java.security.NoSuchAlgorithmException
java.io.IOException
java.security.spec.InvalidKeySpecException
java.security.InvalidKeyException