Class AltsInternalContext


  • public final class AltsInternalContext
    extends java.lang.Object
    AltsInternalContext contains security-related context information about an ALTs connection.
    • Constructor Detail

      • AltsInternalContext

        public AltsInternalContext​(HandshakerResult result)
        Create a new AltsInternalContext.
    • Method Detail

      • getApplicationProtocol

        public java.lang.String getApplicationProtocol()
        Get application protocol.
        Returns:
        the context's application protocol.
      • getRecordProtocol

        public java.lang.String getRecordProtocol()
        Get negotiated record protocol.
        Returns:
        the context's negotiated record protocol.
      • getSecurityLevel

        public SecurityLevel getSecurityLevel()
        Get security level.
        Returns:
        the context's security level.
      • getPeerServiceAccount

        public java.lang.String getPeerServiceAccount()
        Get peer service account.
        Returns:
        the context's peer service account.
      • getLocalServiceAccount

        public java.lang.String getLocalServiceAccount()
        Get local service account.
        Returns:
        the context's local service account.
      • getPeerRpcVersions

        public RpcProtocolVersions getPeerRpcVersions()
        Get peer RPC versions.
        Returns:
        the context's peer RPC versions.
      • getPeerAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getPeerAttributes()
        Get peer attributes.
        Returns:
        the context's peer attributes.