| java.lang.Object org.apache.harmony.xnet.provider.jsse.PRF
PRF | public class PRF (Code) | | This class provides functionality for computation
of PRF values for TLS (http://www.ietf.org/rfc/rfc2246.txt)
and SSL v3 (http://wp.netscape.com/eng/ssl3) protocols.
|
Method Summary | |
static synchronized void | computePRF(byte[] out, byte[] secret, byte[] str_byts, byte[] seed) Computes the value of TLS pseudo random function.
out: the buffer to fill up with the value of the function. | static synchronized void | computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed) Computes the value of SSLv3 pseudo random function.
out: the buffer to fill up with the value of the function. |
computePRF | static synchronized void computePRF(byte[] out, byte[] secret, byte[] str_byts, byte[] seed) throws GeneralSecurityException(Code) | | Computes the value of TLS pseudo random function.
out: the buffer to fill up with the value of the function. secret: the buffer containing the secret value to generate prf. str_bytes: the label bytes to be used. seed: the seed to be used. |
computePRF_SSLv3 | static synchronized void computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed)(Code) | | Computes the value of SSLv3 pseudo random function.
out: the buffer to fill up with the value of the function. secret: the buffer containing the secret value to generate prf. seed: the seed to be used. |
|
|