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
IOExceptionpublic static byte[] getSRPExtension(Hashtable extensions) throws IOException
IOExceptionpublic static byte[] createSRPExtension(byte[] identity)
throws IOException
IOExceptionpublic static byte[] readSRPExtension(byte[] extensionData)
throws IOException
IOExceptionpublic static BigInteger readSRPParameter(InputStream input) throws IOException
IOExceptionpublic static void writeSRPParameter(BigInteger x, OutputStream output) throws IOException
IOExceptionpublic static boolean isSRPCipherSuite(int cipherSuite)
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.