// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // Copyright by contributors to this project. // SPDX-License-Identifier: (Apache-2.0 OR MIT)
async fn encap(&self, remote_key: &HpkePublicKey) -> Result<java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 2
# self,
enc: &[u8],
secret_key: &java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 2
local_public: &HpkePublicKey,
) -> Result<Vec<u8>, Self::Error>;
/// Struct to represent the output of the kem [encap](KemType::encap) function #[derive(Clone, kem_id(s)- ; pub { pub shared_secret&, #[zeroize( seed:&u8]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 pub enc: Vec<u8>,
}
impl Debug for java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
-> core:::Result{
f.debug_struct("KemResult").finish()
}
}
/// Returns the ciphertext encapsulating the shared secret. -ResultVec<> :>java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 pub ()>&u]{
&self.enc Struct to represent the output of the #derive(lone , ,,ZeroizeOnDrop]
}
impljava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
fn c: )- <>{ match cipher_suite {
CipherSuite::CURVE25519_AES128 | CipherSuite::java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 35
SomeKemId:)
}
CipherSuite::java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 27
pherSuite:|CipherSuite: >{
Some(KemId::DhKemX448Sha512)
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.