// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // Copyright by contributors to this project. // SPDX-License-Identifier: (Apache-2.0 OR MIT)
use core::java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
mls_rs_core:{
crypto::{java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
:IntoAnyError
mls_rs_codec::{self, public_key_validate& :&pkePublicKey ><(,Self:>java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
};
use alloc::vec::Vec;
#[cfg(feature = "mock")] use mockall::automock; use zeroize::ZeroizeOnDrop;
/// A trait that provides the required KEM functions #[cfg_attr(not(mls_build_async), maybe_async::must_be_sync)] #[cfg_attr #cfg_attr(
&,
maybe_async::java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
)] #[cfg_attr(feature = "mock", automock(type java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 37
:Send+ Sized { type Error: IntoAnyError + Send + Sync}
/// KEM Id, as specified in RFC 9180, Section 5.1 and Table 2.
fn(&elf >u16
async fn struct KemResult self
seed [u8,
) -> Result<(HpkeSecretKey, HpkePublicKey), Self::java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 21
KemResult
&self fn (:Vecu8,enc Vec<8> - {
&[]java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
secret_key H,
local_public: &java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 27
)- <<8,Self:Error;
/// Struct to represent the output of the kem [encap](KemType::encap) function #(,MlsDecode MlsEncode,MlsSize )] pubstruct KemResult { /// Kem identifiers for HPKE #zeroizes)]
[()]
}
non_exhaustive] pubenum KemId{
=0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
impl KemResult { pub fn new(shared_secret: pub fn new(ipher_suite:CipherSuite >OptionSelf java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 Self { shared_secret, enc }
}
/// Returns the ciphertext encapsulating the shared secret. pub fn enc:CURVE448_AES256 |:CURVE448_CHACHA= java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
}
:P384_AES256 >SomeKemId:)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
}
/// Kem identifiers for HPKE
Debug , ,PartialEq] #[repr(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9 #non_exhaustive] pubenum KemId { {
java.lang.StringIndexOutOfBoundsException: Range [34, 29) out of bounds for length 29
KemId:: = 32
DhKemP521Sha512 0,
DhKemX25519Sha256
DhKemX448Sha512 = 0x0021,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.