⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tlsciphersuite.java

📁 kmlnjlkj nlkjlkjkljl okopokipoipo oipipipo i
💻 JAVA
字号:
package org.bouncycastle.crypto.tls;import java.io.IOException;/** * A generic class for ciphersuites in TLS 1.0. */public abstract class TlsCipherSuite{    protected static final short KE_RSA = 1;    protected static final short KE_RSA_EXPORT = 2;    protected static final short KE_DHE_DSS = 3;    protected static final short KE_DHE_DSS_EXPORT = 4;    protected static final short KE_DHE_RSA = 5;    protected static final short KE_DHE_RSA_EXPORT = 6;    protected static final short KE_DH_DSS = 7;    protected static final short KE_DH_RSA = 8;    protected static final short KE_DH_anon = 9;    protected abstract void init(byte[] ms, byte[] cr, byte[] sr);    protected abstract byte[] encodePlaintext(short type, byte[] plaintext, int offset, int len);    protected abstract byte[] decodeCiphertext(short type, byte[] plaintext, int offset, int len, TlsProtocolHandler handler) throws IOException;    protected abstract short getKeyExchangeAlgorithm();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -