HandshakerResult

io.grpc.alts.internal.handshaker.HandshakerResult
See theHandshakerResult companion object
final case class HandshakerResult(applicationProtocol: String, recordProtocol: String, keyData: ByteString, peerIdentity: Option[Identity], localIdentity: Option[Identity], keepChannelOpen: Boolean, peerRpcVersions: Option[RpcProtocolVersions], maxFrameSize: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[HandshakerResult]

Value parameters

applicationProtocol

The application protocol negotiated for this connection.

keepChannelOpen

Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.

keyData

Cryptographic key data. The key data may be more than the key length required for the record protocol, thus the client of the handshaker service needs to truncate the key data into the right key length.

localIdentity

The local identity used in the handshake.

maxFrameSize

The maximum frame size of the peer.

peerIdentity

The authenticated identity of the peer.

peerRpcVersions

The RPC protocol versions supported by the peer.

recordProtocol

The record protocol negotiated for this connection.

Attributes

Companion
object
Source
HandshakerResult.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
HandshakerResult.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
HandshakerResult.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
HandshakerResult.scala
override def serializedSize: Int

Attributes

Definition Classes
Source
HandshakerResult.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
HandshakerResult.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
HandshakerResult.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala