Top Fields Constructors Methods
org.bouncycastle.tls

public Class TlsSRPUtils

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, .OutputStream, java.math.BigInteger, java.util.Hashtable, org.bouncycastle.util.BigIntegers, .Integers

Field Summary

Modifier and TypeField and Description
public static final Integer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
addSRPExtension(Hashtable<K, V> extensions, byte[] identity)

public static byte[]
createSRPExtension(byte[] identity)

public static byte[]
getSRPExtension(Hashtable<K, V> extensions)

public static boolean
isSRPCipherSuite(int cipherSuite)

public static byte[]
readSRPExtension(byte[] extensionData)

public static BigInteger
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXT_SRPback to summary
public static final Integer EXT_SRP

Constructor Detail

TlsSRPUtilsback to summary
public TlsSRPUtils()

Method Detail

addSRPExtensionback to summary
public static void addSRPExtension(Hashtable<K, V> extensions, byte[] identity) throws IOException
createSRPExtensionback to summary
public static byte[] createSRPExtension(byte[] identity) throws IOException
getSRPExtensionback to summary
public static byte[] getSRPExtension(Hashtable<K, V> extensions) throws IOException
isSRPCipherSuiteback to summary
public static boolean isSRPCipherSuite(int cipherSuite)
readSRPExtensionback to summary
public static byte[] readSRPExtension(byte[] extensionData) throws IOException
readSRPParameterback to summary
public static BigInteger readSRPParameter(InputStream input) throws IOException
writeSRPParameterback to summary
public static void writeSRPParameter(BigInteger x, OutputStream output) throws IOException