Asylo
|
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>
Public Member Functions | |
EnclaveCredentialsOptions & | Add (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... | |
Options used to configure a ::grpc::ChannelCredentials
object or a ::grpc::ServerCredentials
object for use in an enclave system.
EnclaveCredentialsOptions& asylo::EnclaveCredentialsOptions::Add | ( | const EnclaveCredentialsOptions & | additional_options | ) |
Combines the given EnclaveCredentialsOptions with this object.
additional_options | The EnclaveCredentialsOptions object to combine with this object. |
additional_options
. AssertionDescriptionHashSet asylo::EnclaveCredentialsOptions::accepted_peer_assertions |
Peer assertions accepted by the credential holder.
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.
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.
AssertionDescriptionHashSet asylo::EnclaveCredentialsOptions::self_assertions |
Assertions offered by the credential holder.