case "kRSA": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA); case "aRSA": return CipherSuitePredicate.matchAuthentication(Authentication.RSA); case "RSA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA), CipherSuitePredicate.matchAuthentication(Authentication.RSA)); case "kDHr": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHr); case "kDHd": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHd); case "aFZA": return CipherSuitePredicate.matchAuthentication(Authentication.FZA); case "eFZA": return CipherSuitePredicate.matchEncryption(Encryption.FZA); case "FZA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.FZA), CipherSuitePredicate.matchAuthentication(Authentication.FZA), CipherSuitePredicate.matchEncryption(Encryption.FZA)); case "TLSv1.2": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1_2); case "TLSv1": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1); case "kPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK); case "aPSK": return CipherSuitePredicate.matchAuthentication(Authentication.PSK); case "PSK": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchAuthentication(Authentication.PSK), CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK)); case "kRSAPSK": // synonym case "RSAPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSAPSK);
case "kRSA": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA); case "aRSA": return CipherSuitePredicate.matchAuthentication(Authentication.RSA); case "RSA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA), CipherSuitePredicate.matchAuthentication(Authentication.RSA)); case "kDHr": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHr); case "kDHd": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHd); case "aFZA": return CipherSuitePredicate.matchAuthentication(Authentication.FZA); case "eFZA": return CipherSuitePredicate.matchEncryption(Encryption.FZA); case "FZA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.FZA), CipherSuitePredicate.matchAuthentication(Authentication.FZA), CipherSuitePredicate.matchEncryption(Encryption.FZA)); case "TLSv1.2": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1_2); case "TLSv1": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1); case "kPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK); case "aPSK": return CipherSuitePredicate.matchAuthentication(Authentication.PSK); case "PSK": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchAuthentication(Authentication.PSK), CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK)); case "kRSAPSK": // synonym case "RSAPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSAPSK);
case "kRSA": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA); case "aRSA": return CipherSuitePredicate.matchAuthentication(Authentication.RSA); case "RSA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA), CipherSuitePredicate.matchAuthentication(Authentication.RSA)); case "kDHr": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHr); case "kDHd": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHd); case "aFZA": return CipherSuitePredicate.matchAuthentication(Authentication.FZA); case "eFZA": return CipherSuitePredicate.matchEncryption(Encryption.FZA); case "FZA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.FZA), CipherSuitePredicate.matchAuthentication(Authentication.FZA), CipherSuitePredicate.matchEncryption(Encryption.FZA)); case "TLSv1.2": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1_2); case "TLSv1": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1); case "kPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK); case "aPSK": return CipherSuitePredicate.matchAuthentication(Authentication.PSK); case "PSK": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchAuthentication(Authentication.PSK), CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK)); case "kRSAPSK": // synonym case "RSAPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSAPSK);
case "kRSA": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA); case "aRSA": return CipherSuitePredicate.matchAuthentication(Authentication.RSA); case "RSA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSA), CipherSuitePredicate.matchAuthentication(Authentication.RSA)); case "kDHr": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHr); case "kDHd": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.DHd); case "aFZA": return CipherSuitePredicate.matchAuthentication(Authentication.FZA); case "eFZA": return CipherSuitePredicate.matchEncryption(Encryption.FZA); case "FZA": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchKeyAgreement(KeyAgreement.FZA), CipherSuitePredicate.matchAuthentication(Authentication.FZA), CipherSuitePredicate.matchEncryption(Encryption.FZA)); case "TLSv1.2": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1_2); case "TLSv1": return CipherSuitePredicate.matchProtocol(Protocol.TLSv1); case "kPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK); case "aPSK": return CipherSuitePredicate.matchAuthentication(Authentication.PSK); case "PSK": return CipherSuitePredicate.matchAny(CipherSuitePredicate.matchAuthentication(Authentication.PSK), CipherSuitePredicate.matchKeyAgreement(KeyAgreement.PSK)); case "kRSAPSK": // synonym case "RSAPSK": return CipherSuitePredicate.matchKeyAgreement(KeyAgreement.RSAPSK);