Top Fields Constructors Methods
org.bouncycastle.tls

public Class BasicTlsPSKExternal

extends Object
implements TlsPSKExternal
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.TlsPSKExternal, org.bouncycastle.tls.TlsPSK
Imports
org.bouncycastle.tls.crypto.TlsSecret, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
protected final byte[]
protected final TlsSecret
protected final int

Constructor Summary

AccessConstructor and Description
public
BasicTlsPSKExternal(byte[] identity, TlsSecret key)

public
BasicTlsPSKExternal(byte[] identity, TlsSecret key, int prfAlgorithm)

Method Summary

Modifier and TypeMethod and Description
public byte[]
public TlsSecret
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

identityback to summary
protected final byte[] identity
keyback to summary
protected final TlsSecret key
prfAlgorithmback to summary
protected final int prfAlgorithm

Constructor Detail

BasicTlsPSKExternalback to summary
public BasicTlsPSKExternal(byte[] identity, TlsSecret key)
BasicTlsPSKExternalback to summary
public BasicTlsPSKExternal(byte[] identity, TlsSecret key, int prfAlgorithm)

Method Detail

getIdentityback to summary
public byte[] getIdentity()

Implements org.bouncycastle.tls.TlsPSK.getIdentity.

getKeyback to summary
public TlsSecret getKey()

Implements org.bouncycastle.tls.TlsPSK.getKey.

getPRFAlgorithmback to summary
public int getPRFAlgorithm()

Implements org.bouncycastle.tls.TlsPSK.getPRFAlgorithm.