what-the-bank/sources/org/bouncycastle/crypto/tls/TlsKeyExchange.java

39 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto.tls;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/* loaded from: classes6.dex */
public interface TlsKeyExchange {
void generateClientKeyExchange(OutputStream outputStream) throws IOException;
byte[] generatePremasterSecret() throws IOException;
byte[] generateServerKeyExchange() throws IOException;
void init(TlsContext tlsContext);
void processClientCertificate(Certificate certificate) throws IOException;
void processClientCredentials(TlsCredentials tlsCredentials) throws IOException;
void processClientKeyExchange(InputStream inputStream) throws IOException;
void processServerCertificate(Certificate certificate) throws IOException;
void processServerCredentials(TlsCredentials tlsCredentials) throws IOException;
void processServerKeyExchange(InputStream inputStream) throws IOException;
boolean requiresServerKeyExchange();
void skipClientCredentials() throws IOException;
void skipServerCredentials() throws IOException;
void skipServerKeyExchange() throws IOException;
void validateCertificateRequest(CertificateRequest certificateRequest) throws IOException;
}