public class TlsSRPUtils extends Object
Constructor and Description |
---|
TlsSRPUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addSRPExtension(Hashtable extensions,
byte[] identity) |
static byte[] |
createSRPExtension(byte[] identity) |
static byte[] |
getSRPExtension(Hashtable extensions) |
static boolean |
isSRPCipherSuite(int cipherSuite) |
static byte[] |
readSRPExtension(byte[] extensionData) |
static BigInteger |
readSRPParameter(InputStream input) |
static void |
writeSRPParameter(BigInteger x,
OutputStream output) |
public static final Integer EXT_SRP
public static void addSRPExtension(Hashtable extensions, byte[] identity) throws IOException
IOException
public static byte[] getSRPExtension(Hashtable extensions) throws IOException
IOException
public static byte[] createSRPExtension(byte[] identity) throws IOException
IOException
public static byte[] readSRPExtension(byte[] extensionData) throws IOException
IOException
public static BigInteger readSRPParameter(InputStream input) throws IOException
IOException
public static void writeSRPParameter(BigInteger x, OutputStream output) throws IOException
IOException
public static boolean isSRPCipherSuite(int cipherSuite)
Copyright © 2018 BouncyCastle.org. All rights reserved.