diff --git a/help.html b/help.html index 96c016fbcc..9d68e6c991 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/settings.html b/settings.html index e3e2398e78..f5711b8a70 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/tlsn_prover/struct.Prover.html b/tlsn_prover/struct.Prover.html index f6cdf29c2e..bb79522add 100644 --- a/tlsn_prover/struct.Prover.html +++ b/tlsn_prover/struct.Prover.html @@ -1,15 +1,15 @@ Prover in tlsn_prover - Rust

Struct tlsn_prover::Prover

source ·
pub struct Prover<T: ProverState> { /* private fields */ }
Expand description

A prover instance.

-

Implementations§

source§

impl Prover<Notarize>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

-
source

pub fn transcript_commit(&mut self, config: TranscriptCommitConfig)

Configures transcript commitments.

+

Implementations§

source§

impl Prover<Notarize>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

+
source

pub fn transcript_commit(&mut self, config: TranscriptCommitConfig)

Configures transcript commitments.

source

pub async fn finalize( self, - config: &RequestConfig, -) -> Result<(Attestation, Secrets), ProverError>

Finalizes the notarization.

-
source§

impl Prover<Prove>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

+ config: &RequestConfig, +) -> Result<(Attestation, Secrets), ProverError>

Finalizes the notarization.

+
source§

impl Prover<Prove>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

source

pub async fn prove_transcript( &mut self, - sent: Idx, - recv: Idx, + sent: Idx, + recv: Idx, ) -> Result<(), ProverError>

Proves subsequences in the transcript to the verifier.

§Arguments
    @@ -42,7 +42,7 @@
    §Arguments
  • socket - The socket to the server.
-
source§

impl Prover<Closed>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

+
source§

impl Prover<Closed>

source

pub fn transcript(&self) -> &Transcript

Returns the transcript.

source

pub fn start_notarize(self) -> Prover<Notarize>

Starts notarization of the TLS session.

Used when the TLS verifier is a Notary to transition the prover to the next state where it can generate commitments to the transcript prior diff --git a/tlsn_prover/struct.ProverConfig.html b/tlsn_prover/struct.ProverConfig.html index 6dcf729eca..fe5f5b71f7 100644 --- a/tlsn_prover/struct.ProverConfig.html +++ b/tlsn_prover/struct.ProverConfig.html @@ -1,7 +1,7 @@ ProverConfig in tlsn_prover - Rust

Struct tlsn_prover::ProverConfig

source ·
pub struct ProverConfig { /* private fields */ }
Expand description

Configuration for the prover

Implementations§

source§

impl ProverConfig

source

pub fn builder() -> ProverConfigBuilder

Create a new builder for ProverConfig.

-
source

pub fn server_name(&self) -> &ServerName

Returns the server DNS name.

-
source

pub fn crypto_provider(&self) -> &CryptoProvider

Returns the crypto provider.

+
source

pub fn server_name(&self) -> &ServerName

Returns the server DNS name.

+
source

pub fn crypto_provider(&self) -> &CryptoProvider

Returns the crypto provider.

source

pub fn protocol_config(&self) -> &ProtocolConfig

Returns the protocol configuration.

source

pub fn defer_decryption_from_start(&self) -> bool

Returns whether the deferred decryption feature is toggled on from the start of the MPC-TLS connection.

diff --git a/tlsn_prover/struct.ProverConfigBuilder.html b/tlsn_prover/struct.ProverConfigBuilder.html index acd9d46980..95c6885ab3 100644 --- a/tlsn_prover/struct.ProverConfigBuilder.html +++ b/tlsn_prover/struct.ProverConfigBuilder.html @@ -1,5 +1,5 @@ ProverConfigBuilder in tlsn_prover - Rust

Struct tlsn_prover::ProverConfigBuilder

source ·
pub struct ProverConfigBuilder { /* private fields */ }
Expand description

Builder for ProverConfig.

-

Implementations§

source§

impl ProverConfigBuilder

source

pub fn server_name<VALUE: Into<ServerName>>( +

Implementations§

source§

impl ProverConfigBuilder

source

pub fn server_name<VALUE: Into<ServerName>>( &mut self, value: VALUE, ) -> &mut Self

The server DNS name.

@@ -7,7 +7,7 @@
source

pub fn defer_decryption_from_start(&mut self, value: bool) -> &mut Self

Whether the deferred decryption feature is toggled on from the start of the MPC-TLS connection.

See defer_decryption_from_start in [tls_mpc::MpcTlsLeaderConfig].

-
source

pub fn crypto_provider<VALUE: Into<Arc<CryptoProvider>>>( +

source

pub fn crypto_provider<VALUE: Into<Arc<CryptoProvider>>>( &mut self, value: VALUE, ) -> &mut Self

Cryptography provider.

diff --git a/tlsn_verifier/struct.SessionInfo.html b/tlsn_verifier/struct.SessionInfo.html index 85753d45c7..1b80dd39e9 100644 --- a/tlsn_verifier/struct.SessionInfo.html +++ b/tlsn_verifier/struct.SessionInfo.html @@ -1,9 +1,9 @@ SessionInfo in tlsn_verifier - Rust

Struct tlsn_verifier::SessionInfo

source ·
pub struct SessionInfo {
-    pub server_name: ServerName,
-    pub connection_info: ConnectionInfo,
+    pub server_name: ServerName,
+    pub connection_info: ConnectionInfo,
 }
Expand description

Information about the TLS session.

-

Fields§

§server_name: ServerName

Server’s name.

-
§connection_info: ConnectionInfo

Connection information.

+

Fields§

§server_name: ServerName

Server’s name.

+
§connection_info: ConnectionInfo

Connection information.

Trait Implementations§

source§

impl Debug for SessionInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where diff --git a/tlsn_verifier/struct.Verifier.html b/tlsn_verifier/struct.Verifier.html index c9dc69ebf8..fc9fd84e14 100644 --- a/tlsn_verifier/struct.Verifier.html +++ b/tlsn_verifier/struct.Verifier.html @@ -1,13 +1,13 @@ Verifier in tlsn_verifier - Rust

Struct tlsn_verifier::Verifier

source ·
pub struct Verifier<T: VerifierState> { /* private fields */ }
Expand description

A Verifier instance.

Implementations§

source§

impl Verifier<Notarize>

source

pub async fn finalize( self, - config: &AttestationConfig, -) -> Result<Attestation, VerifierError>

Notarizes the TLS session.

+ config: &AttestationConfig, +) -> Result<Attestation, VerifierError>

Notarizes the TLS session.

§Arguments
  • config - The attestation configuration.
-
source§

impl Verifier<Verify>

source

pub async fn receive(&mut self) -> Result<PartialTranscript, VerifierError>

Receives the purported transcript from the Prover.

+
source§

impl Verifier<Verify>

source

pub async fn receive(&mut self) -> Result<PartialTranscript, VerifierError>

Receives the purported transcript from the Prover.

§Warning

The content of the received transcript can not be considered authentic until after finalization.

@@ -25,8 +25,8 @@
§Arguments
source

pub async fn notarize<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( self, socket: S, - config: &AttestationConfig, -) -> Result<Attestation, VerifierError>

Runs the TLS verifier to completion, notarizing the TLS session.

+ config: &AttestationConfig, +) -> Result<Attestation, VerifierError>

Runs the TLS verifier to completion, notarizing the TLS session.

This is a convenience method which runs all the steps needed for notarization.

§Arguments
@@ -37,7 +37,7 @@
§Arguments
source

pub async fn verify<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( self, socket: S, -) -> Result<(PartialTranscript, SessionInfo), VerifierError>

Runs the TLS verifier to completion, verifying the TLS session.

+) -> Result<(PartialTranscript, SessionInfo), VerifierError>

Runs the TLS verifier to completion, verifying the TLS session.

This is a convenience method which runs all the steps needed for verification.

§Arguments
diff --git a/tlsn_verifier/struct.VerifierConfig.html b/tlsn_verifier/struct.VerifierConfig.html index 890779aed7..e30d1cd8df 100644 --- a/tlsn_verifier/struct.VerifierConfig.html +++ b/tlsn_verifier/struct.VerifierConfig.html @@ -1,7 +1,7 @@ VerifierConfig in tlsn_verifier - Rust

Struct tlsn_verifier::VerifierConfig

source ·
pub struct VerifierConfig { /* private fields */ }
Expand description

Configuration for the Verifier.

Implementations§

source§

impl VerifierConfig

source

pub fn builder() -> VerifierConfigBuilder

Creates a new configuration builder.

source

pub fn protocol_config_validator(&self) -> &ProtocolConfigValidator

Returns the protocol configuration validator.

-
source

pub fn crypto_provider(&self) -> &CryptoProvider

Returns the cryptography provider.

+
source

pub fn crypto_provider(&self) -> &CryptoProvider

Returns the cryptography provider.

Trait Implementations§

source§

impl Debug for VerifierConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where diff --git a/tlsn_verifier/struct.VerifierConfigBuilder.html b/tlsn_verifier/struct.VerifierConfigBuilder.html index a9ef75bb1e..e8dcb4f1a4 100644 --- a/tlsn_verifier/struct.VerifierConfigBuilder.html +++ b/tlsn_verifier/struct.VerifierConfigBuilder.html @@ -1,5 +1,5 @@ VerifierConfigBuilder in tlsn_verifier - Rust

Struct tlsn_verifier::VerifierConfigBuilder

source ·
pub struct VerifierConfigBuilder { /* private fields */ }
Expand description

Builder for VerifierConfig.

-

Implementations§

source§

impl VerifierConfigBuilder

source

pub fn protocol_config_validator(self, value: ProtocolConfigValidator) -> Self

source

pub fn crypto_provider<VALUE: Into<Arc<CryptoProvider>>>( +

Implementations§

source§

impl VerifierConfigBuilder

source

pub fn protocol_config_validator(self, value: ProtocolConfigValidator) -> Self

source

pub fn crypto_provider<VALUE: Into<Arc<CryptoProvider>>>( self, value: VALUE, ) -> Self

Cryptography provider.