Asylo
Public Member Functions | Public Attributes | List of all members
asylo::EnclaveCredentialsOptions Struct Reference

Options used to configure a ::grpc::ChannelCredentials object or a ::grpc::ServerCredentials object for use in an enclave system. More...

#include <enclave_credentials_options.h>

Collaboration diagram for asylo::EnclaveCredentialsOptions:
Collaboration graph
[legend]

Public Member Functions

EnclaveCredentialsOptionsAdd (const EnclaveCredentialsOptions &additional_options)
 Combines the given EnclaveCredentialsOptions with this object. More...
 

Public Attributes

std::string additional_authenticated_data
 Additional data that is authenticated during establishment of the gRPC channel. More...
 
AssertionDescriptionHashSet self_assertions
 Assertions offered by the credential holder. More...
 
AssertionDescriptionHashSet accepted_peer_assertions
 Peer assertions accepted by the credential holder. More...
 
absl::optional< IdentityAclPredicate > peer_acl
 The accepted ACL for the peer. More...
 

Detailed Description

Options used to configure a ::grpc::ChannelCredentials object or a ::grpc::ServerCredentials object for use in an enclave system.

Member Function Documentation

◆ Add()

EnclaveCredentialsOptions& asylo::EnclaveCredentialsOptions::Add ( const EnclaveCredentialsOptions additional_options)

Combines the given EnclaveCredentialsOptions with this object.

Parameters
additional_optionsThe EnclaveCredentialsOptions object to combine with this object.
Returns
This object, modified to add the additional_options.

Member Data Documentation

◆ accepted_peer_assertions

AssertionDescriptionHashSet asylo::EnclaveCredentialsOptions::accepted_peer_assertions

Peer assertions accepted by the credential holder.

◆ additional_authenticated_data

std::string asylo::EnclaveCredentialsOptions::additional_authenticated_data

Additional data that is authenticated during establishment of the gRPC channel.

This string does not need to be null-terminated.

◆ peer_acl

absl::optional<IdentityAclPredicate> asylo::EnclaveCredentialsOptions::peer_acl

The accepted ACL for the peer.

Failure to match the ACL against the authenticated peer's identities will cause gRPC channel establishment to fail.

◆ self_assertions

AssertionDescriptionHashSet asylo::EnclaveCredentialsOptions::self_assertions

Assertions offered by the credential holder.


The documentation for this struct was generated from the following file: