Package io.grpc.alts.internal
Class AltsInternalContext
java.lang.Object
io.grpc.alts.internal.AltsInternalContext
AltsInternalContext contains security-related context information about an ALTs connection.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAltsInternalContext
(HandshakerResult result) Create a new AltsInternalContext. -
Method Summary
Modifier and TypeMethodDescriptionGet application protocol.static AltsInternalContext
Get local service account.Get peer attributes.Get peer RPC versions.Get peer service account.Get negotiated record protocol.Get security level.
-
Field Details
-
context
-
-
Constructor Details
-
AltsInternalContext
Create a new AltsInternalContext.
-
-
Method Details
-
getDefaultInstance
-
getApplicationProtocol
Get application protocol.- Returns:
- the context's application protocol.
-
getRecordProtocol
Get negotiated record protocol.- Returns:
- the context's negotiated record protocol.
-
getSecurityLevel
Get security level.- Returns:
- the context's security level.
-
getPeerServiceAccount
Get peer service account.- Returns:
- the context's peer service account.
-
getLocalServiceAccount
Get local service account.- Returns:
- the context's local service account.
-
getPeerRpcVersions
Get peer RPC versions.- Returns:
- the context's peer RPC versions.
-
getPeerAttributes
Get peer attributes.- Returns:
- the context's peer attributes.
-