public static class KeyShare.KeyShareEntry
extends java.lang.Object
implements java.lang.Cloneable
struct {
NamedGroup group;
opaque key_exchange<1..2^16-1>;
} KeyShareEntry;
| Constructor and Description |
|---|
KeyShareEntry(NamedGroup namedGroup)
Creates a KeyShareEntry for the given named group.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public KeyShareEntry(NamedGroup namedGroup)
namedGroup - the named grouppublic NamedGroup getNamedGroup()
public byte[] getKeyExchange()
null if no
keyExchange value has been set yetpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object