Class CryptoSTSEngineImpl

  • All Implemented Interfaces:
    CryptoSTSEngine

    final class CryptoSTSEngineImpl
    extends java.lang.Object
    implements CryptoSTSEngine
    STS authentication protocol using a symmetric 4 message ECDH/ECDSA handshake
    • Constructor Summary

      Constructors 
      Constructor Description
      CryptoSTSEngineImpl​(java.security.PublicKey _myPub, java.security.PrivateKey _myPriv)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getAuth​(java.nio.ByteBuffer message)  
      protected byte[] getBytes​(java.nio.ByteBuffer buffer, int max_size)  
      protected int getInt​(java.nio.ByteBuffer buffer, int max_size)  
      void getKeys​(java.nio.ByteBuffer message)  
      void getMessage​(java.nio.ByteBuffer buffer, boolean keys)  
      byte[] getRemotePublicKey()  
      byte[] getSharedSecret()  
      void putAuth​(java.nio.ByteBuffer message)  
      protected void putBytes​(java.nio.ByteBuffer buffer, byte[] value, int max_size)  
      protected void putInt​(java.nio.ByteBuffer buffer, int value, int max_size)  
      void putKeys​(java.nio.ByteBuffer message)  
      void putMessage​(java.nio.ByteBuffer message, boolean keys)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait