| Modifier and Type | Field and Description |
|---|---|
| private static final Hashtable | |
| private static final Vector | |
| private static byte[] | |
| private static byte[] | |
| public static final byte[] | |
| public static final int[] | |
| public static final long[] | |
| public static final short[] | |
| public static final String[] | |
| pack-priv static final short | |
| pack-priv static final short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | addCertSigAlgOID(Hashtable<K, V> h, ASN1ObjectIdentifier oid, short hashAlgorithm, short signatureAlgorithm)
|
| public static void | |
| public static void | |
| public static void | |
| pack-priv static Hashtable | addKeyShareToClientHello(TlsClientContext clientContext, TlsClient client, Hashtable<K, V> clientExtensions)
|
| pack-priv static Hashtable | addKeyShareToClientHelloRetry(TlsClientContext clientContext, Hashtable<K, V> clientExtensions, int keyShareGroup)
|
| pack-priv static void | |
| pack-priv static OfferedPsks. | addPreSharedKeyToClientHello(TlsClientContext clientContext, TlsClient client, Hashtable<K, V> clientExtensions, int[] offeredCipherSuites)
|
| pack-priv static OfferedPsks. | addPreSharedKeyToClientHelloRetry(TlsClientContext clientContext, OfferedPsks.
|
| public static boolean | |
| pack-priv static void | |
| private static boolean | |
| pack-priv static byte[] | |
| pack-priv static byte[] | calculateEndPointHash(TlsContext context, TlsCertificate certificate, byte[] enc, int encOff, int encLen)
|
| public static byte[] | |
| private static byte[] | calculateFinishedHMAC(SecurityParameters securityParameters, TlsSecret baseKey, byte[] transcriptHash)
|
| private static byte[] | calculateFinishedHMAC(int prfCryptoHashAlgorithm, int prfHashLength, TlsSecret baseKey, byte[] transcriptHash)
|
| pack-priv static TlsSecret | |
| pack-priv static byte[] | calculatePSKBinder(TlsCrypto crypto, boolean isExternalPSK, int pskCryptoHashAlgorithm, TlsSecret earlySecret, byte[] transcriptHash)
|
| pack-priv static byte[] | calculateSignatureHash(TlsContext context, SignatureAndHashAlgorithm algorithm, byte[] extraSignatureInput, DigestInputBuffer buf)
|
| pack-priv static byte[] | |
| private static void | checkClientCertificateType(CertificateRequest certificateRequest, short clientCertificateType, short alertDescription)
|
| private static void | |
| pack-priv static void | |
| pack-priv static void | |
| public static void | checkPeerSigAlgs(TlsContext context, TlsCertificate[] peerCertPath)
Check the signature algorithm for certificates in the peer's CertPath as specified in RFC 5246 7.4.2, 7.4.4, 7.4.6 and similar rules for earlier TLS versions. |
| private static void | |
| private static void | |
| pack-priv static void | checkTlsFeatures(Certificate serverCertificate, Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static SignatureAndHashAlgorithm | chooseSignatureAndHashAlgorithm(TlsContext context, Vector<E> sigHashAlgs, short signatureAlgorithm)
|
| public static SignatureAndHashAlgorithm | chooseSignatureAndHashAlgorithm(ProtocolVersion negotiatedVersion, Vector<E> sigHashAlgs, short signatureAlgorithm)
|
| public static byte[] | |
| public static String[] | |
| private static void | collectKeyShares(TlsClientContext clientContext, int[] supportedGroups, Vector<E> keyShareGroups, Hashtable<K, V> clientAgreements, Vector<E> clientShares)
|
| pack-priv static byte[] | |
| public static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| pack-priv static boolean | |
| public static boolean | containsSignatureAlgorithm(Vector<E> supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm)
|
| public static byte[] | |
| private static Hashtable | |
| private static Vector | |
| private static TlsHash | |
| private static TlsHash | |
| private static TlsKeyExchange | |
| private static TlsKeyExchange | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static int | |
| public static int[] | |
| public static long | |
| public static short | |
| public static short[] | |
| pack-priv static TlsSecret | deriveSecret(SecurityParameters securityParameters, TlsSecret secret, String label, byte[] transcriptHash)
|
| pack-priv static TlsSecret | deriveSecret(int prfCryptoHashAlgorithm, int prfHashLength, TlsSecret secret, String label, byte[] transcriptHash)
|
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static void | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| pack-priv static TlsCredentialedSigner | establish13ClientCredentials(TlsAuthentication clientAuthentication, CertificateRequest certificateRequest)
|
| pack-priv static void | establish13PhaseApplication(TlsContext context, byte[] serverFinishedTranscriptHash, RecordStream recordStream)
|
| pack-priv static void | establish13PhaseEarly(TlsContext context, byte[] clientHelloTranscriptHash, RecordStream recordStream)
|
| pack-priv static void | establish13PhaseHandshake(TlsContext context, byte[] serverHelloTranscriptHash, RecordStream recordStream)
|
| pack-priv static void | |
| pack-priv static TlsCredentialedSigner | |
| private static void | establish13TrafficSecrets(TlsContext context, byte[] transcriptHash, TlsSecret phaseSecret, String clientLabel, String serverLabel, RecordStream recordStream)
|
| pack-priv static TlsCredentials | establishClientCredentials(TlsAuthentication clientAuthentication, CertificateRequest certificateRequest)
|
| pack-priv static void | |
| pack-priv static TlsCredentials | |
| pack-priv static void | establishServerSigAlgs(SecurityParameters securityParameters, CertificateRequest certificateRequest)
|
| pack-priv static DigitallySigned | generate13CertificateVerify(TlsContext context, TlsCredentialedSigner credentialedSigner, TlsHandshakeHash handshakeHash)
|
| private static byte[] | generate13CertificateVerify(TlsCrypto crypto, TlsCredentialedSigner credentialedSigner, String contextString, TlsHandshakeHash handshakeHash, SignatureAndHashAlgorithm signatureAndHashAlgorithm)
|
| pack-priv static DigitallySigned | generateCertificateVerifyClient(TlsClientContext clientContext, TlsCredentialedSigner clientAuthSigner, SignatureAndHashAlgorithm clientAuthAlgorithm, TlsStreamSigner clientAuthStreamSigner, TlsHandshakeHash handshakeHash)
|
| public static TlsSecret | generateEncryptedPreMasterSecret(TlsContext context, TlsEncryptor encryptor, OutputStream output)
Generate a pre_master_secret and send it encrypted to the server. |
| pack-priv static void | generateServerKeyExchangeSignature(TlsContext context, TlsCredentialedSigner credentials, byte[] extraSignatureInput, DigestInputBuffer digestBuffer)
|
| private static byte[] | |
| pack-priv static SignatureAndHashAlgorithm | |
| public static int | |
| public static int | getCommonCipherSuite13(ProtocolVersion negotiatedVersion, int[] peerCipherSuites, int[] localCipherSuites, boolean useLocalOrder)
|
| public static int[] | |
| pack-priv static byte[] | |
| public static Vector | |
| public static Vector | |
| public static Vector | |
| public static SignatureAndHashAlgorithm | |
| public static Vector | |
| public static Vector | |
| public static int | |
| public static int | |
| public static byte[] | |
| public static int | |
| public static Vector | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static Vector | |
| public static int | |
| public static ProtocolVersion | |
| public static Vector | |
| public static Vector | |
| public static ASN1ObjectIdentifier | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int[] | |
| pack-priv static TlsSecret | |
| pack-priv static TlsSecret[] | |
| pack-priv static TlsPSKExternal[] | |
| pack-priv static Vector | |
| pack-priv static byte[] | |
| pack-priv static TlsSecret | |
| public static SignatureAndHashAlgorithm | getSignatureAndHashAlgorithm(TlsContext context, TlsCredentialedSigner signerCredentials)
Deprecated
Will be removed
|
| pack-priv static SignatureAndHashAlgorithm | getSignatureAndHashAlgorithm(ProtocolVersion negotiatedVersion, TlsCredentialedSigner credentialedSigner)
|
| public static int[] | |
| public static int[] | getSupportedCipherSuites(TlsCrypto crypto, int[] suites, int suitesCount)
Deprecated
Use
getSupportedCipherSuites(TlsCrypto, int[], int, int) instead.
|
| public static int[] | |
| public static Vector | |
| public static Vector | |
| pack-priv static boolean | |
| public static boolean | hasExpectedEmptyExtensionData(Hashtable<K, V> extensions, Integer extensionType, short alertDescription)
|
| public static boolean | |
| public static TlsSession | |
| pack-priv static TlsCipher | |
| pack-priv static TlsKeyExchange | |
| pack-priv static TlsKeyExchange | |
| public static boolean | |
| public static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| pack-priv static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: Whether a server can select the specified cipher suite given the available signature algorithms for ServerKeyExchange.
|
| public static boolean | isValidCipherSuiteForVersion(int cipherSuite, ProtocolVersion version)
Deprecated
Use
isValidVersionForCipherSuite(int, ProtocolVersion) instead.
|
| pack-priv static boolean | |
| pack-priv static boolean | isValidKeyShareSelection(ProtocolVersion negotiatedVersion, int[] clientSupportedGroups, Hashtable<K, V> clientAgreements, int keyShareGroup)
|
| pack-priv static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static CertificateRequest | normalizeCertificateRequest(CertificateRequest certificateRequest, short[] validClientCertificateTypes)
|
| public static Vector | |
| public static TlsSecret | PRF(SecurityParameters securityParameters, TlsSecret secret, String asciiLabel, byte[] seed, int length)
|
| public static TlsSecret | PRF(TlsContext context, TlsSecret secret, String asciiLabel, byte[] seed, int length)
Deprecated
Use
PRF(SecurityParameters, TlsSecret, String, byte[], int) instead.
|
| pack-priv static void | processClientCertificate(TlsServerContext serverContext, Certificate clientCertificate, TlsKeyExchange keyExchange, TlsServer server)
|
| pack-priv static short | processClientCertificateTypeExtension(Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)
|
| pack-priv static short | processClientCertificateTypeExtension13(Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)
|
| pack-priv static short | processMaxFragmentLengthExtension(Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)
|
| pack-priv static void | processServerCertificate(TlsClientContext clientContext, CertificateStatus serverCertificateStatus, TlsKeyExchange keyExchange, TlsAuthentication clientAuthentication, Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions)
|
| pack-priv static short | processServerCertificateTypeExtension(Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)
|
| pack-priv static short | processServerCertificateTypeExtension13(Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)
|
| public static byte[] | |
| public static ASN1Primitive | |
| public static ASN1Primitive | readDERObject(byte[] encoding)
Deprecated
Will be removed. Use readASN1Object in combination with requireDEREncoding instead
|
| pack-priv static byte[] | |
| public static byte[] | |
| public static void | |
| public static int | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static int | |
| public static int | |
| public static int[] | |
| public static int | |
| public static int | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static short | |
| public static short | |
| public static short[] | |
| public static short[] | |
| public static ProtocolVersion | |
| public static ProtocolVersion | |
| pack-priv static TlsAuthentication | receive13ServerCertificate(TlsClientContext clientContext, TlsClient client, ByteArrayInputStream buf, Hashtable<K, V> serverExtensions)
|
| pack-priv static TlsAuthentication | receiveServerCertificate(TlsClientContext clientContext, TlsClient client, ByteArrayInputStream buf, Hashtable<K, V> serverExtensions)
|
| pack-priv static TlsCredentialedAgreement | |
| pack-priv static TlsCredentialedDecryptor | |
| public static void | |
| pack-priv static TlsCredentialedSigner | |
| pack-priv static short[] | |
| pack-priv static KeyShareEntry | |
| pack-priv static KeyShareEntry | selectKeyShare(TlsCrypto crypto, ProtocolVersion negotiatedVersion, Vector<E> clientShares, int[] clientSupportedGroups, int[] serverSupportedGroups)
|
| pack-priv static int | selectKeyShareGroup(TlsCrypto crypto, ProtocolVersion negotiatedVersion, int[] clientSupportedGroups, int[] serverSupportedGroups)
|
| pack-priv static OfferedPsks. | selectPreSharedKey(TlsServerContext serverContext, TlsServer server, Hashtable<K, V> clientHelloExtensions, HandshakeMessageInput clientHelloMessage, TlsHandshakeHash handshakeHash, boolean afterHelloRetryRequest)
|
| pack-priv static void | sendSignatureInput(TlsContext context, byte[] extraSignatureInput, DigestInputBuffer buf, OutputStream output)
|
| pack-priv static TlsAuthentication | |
| pack-priv static void | trackHashAlgorithmClient(TlsHandshakeHash handshakeHash, SignatureAndHashAlgorithm signatureAndHashAlgorithm)
|
| pack-priv static void | |
| pack-priv static short[] | |
| pack-priv static int[] | |
| private static void | |
| private static TlsSecret | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static TlsCredentialedSigner | |
| pack-priv static CertificateRequest | |
| private static short | |
| pack-priv static TlsCredentials | |
| public static Vector | |
| private static void | verify13CertificateVerify(Vector<E> supportedAlgorithms, String contextString, TlsHandshakeHash handshakeHash, TlsCertificate certificate, CertificateVerify certificateVerify)
|
| pack-priv static void | verify13CertificateVerifyClient(TlsServerContext serverContext, TlsHandshakeHash handshakeHash, CertificateVerify certificateVerify)
|
| pack-priv static void | verify13CertificateVerifyServer(TlsClientContext clientContext, TlsHandshakeHash handshakeHash, CertificateVerify certificateVerify)
|
| pack-priv static void | verifyCertificateVerifyClient(TlsServerContext serverContext, CertificateRequest certificateRequest, DigitallySigned certificateVerify, TlsHandshakeHash handshakeHash)
|
| pack-priv static void | verifyServerKeyExchangeSignature(TlsContext context, InputStream signatureInput, TlsCertificate serverCertificate, byte[] extraSignatureInput, DigestInputBuffer digestBuffer)
|
| public static void | verifySupportedSignatureAlgorithm(Vector<E> supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm)
|
| pack-priv static void | verifySupportedSignatureAlgorithm(Vector<E> supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm, short alertDescription)
|
| pack-priv static void | |
| pack-priv static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void |