MCPcopy Create free account
hub / github.com/grpc/grpc-java / Tls

Method Tls

api/src/main/java/io/grpc/InternalChannelz.java:670–674  ·  view source on GitHub ↗

A constructor only for testing.

(String cipherSuiteName, Certificate localCert, Certificate remoteCert)

Source from the content-addressed store, hash-verified

668 * A constructor only for testing.
669 */
670 public Tls(String cipherSuiteName, Certificate localCert, Certificate remoteCert) {
671 this.cipherSuiteStandardName = cipherSuiteName;
672 this.localCert = localCert;
673 this.remoteCert = remoteCert;
674 }
675
676 /**
677 * Creates an instance.

Callers

nothing calls this directly

Calls 5

getCipherSuiteMethod · 0.80
getLocalCertificatesMethod · 0.80
getPeerCertificatesMethod · 0.80
logMethod · 0.45
getPeerHostMethod · 0.45

Tested by

no test coverage detected