iaik.security.ssl
Class KeyShare.KeyShareEntry

java.lang.Object
  extended by iaik.security.ssl.KeyShare.KeyShareEntry
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
KeyShare

public static class KeyShare.KeyShareEntry
extends java.lang.Object
implements java.lang.Cloneable

Implements the KeyShareEntry struct.

 struct {
     NamedGroup group;
     opaque key_exchange<1..2^16-1>;
 } KeyShareEntry;
 


Constructor Summary
KeyShare.KeyShareEntry(NamedGroup namedGroup)
          Creates a KeyShareEntry for the given named group.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this KeyShareEntry.
 byte[] getKeyExchange()
          Gets the keyExchange (public key) value.
 NamedGroup getNamedGroup()
          Gets the named group of this KeyShareEntry.
 java.lang.String toString()
          Gets a string representation of this KeyShareEntry.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyShare.KeyShareEntry

public KeyShare.KeyShareEntry(NamedGroup namedGroup)
Creates a KeyShareEntry for the given named group.

Parameters:
namedGroup - the named group
Method Detail

getNamedGroup

public NamedGroup getNamedGroup()
Gets the named group of this KeyShareEntry.

Returns:
the named group

getKeyExchange

public byte[] getKeyExchange()
Gets the keyExchange (public key) value.

Returns:
the keyExchange value or null if no keyExchange value has been set yet

clone

public java.lang.Object clone()
Returns a clone of this KeyShareEntry.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this KeyShareEntry

toString

public java.lang.String toString()
Gets a string representation of this KeyShareEntry.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this KeyShareEntry

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 6.0, (c) 2002 IAIK, (c) 2003 - 2015 SIC