Skip to content

Commit

Permalink
Make Low-Level config fields public
Browse files Browse the repository at this point in the history
Bug: 338559159
Change-Id: I1aa1f09dfc06e01d6ee47d4a7d129cb935937f93
  • Loading branch information
ipetr0v committed May 31, 2024
1 parent 64ab29e commit d43dc4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions oak_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ impl<'a> SessionConfigBuilder<'a> {

#[allow(dead_code)]
pub struct AttestationProviderConfig<'a> {
attestation_type: AttestationType,
self_attesters: Vec<&'a dyn Attester>,
peer_verifiers: Vec<&'a dyn AttestationVerifier>,
pub attestation_type: AttestationType,
pub self_attesters: Vec<&'a dyn Attester>,
pub peer_verifiers: Vec<&'a dyn AttestationVerifier>,
}

#[allow(dead_code)]
pub struct HandshakerConfig<'a> {
handshake_type: HandshakeType,
self_static_private_key: Option<&'a dyn EncryptionKeyHandle>,
peer_static_public_key: Option<Vec<u8>>,
pub handshake_type: HandshakeType,
pub self_static_private_key: Option<&'a dyn EncryptionKeyHandle>,
pub peer_static_public_key: Option<Vec<u8>>,
}

0 comments on commit d43dc4d

Please sign in to comment.