| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MlsAead | |
| public static final short[] | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| public static final MlsCipherSuite | |
| private final Digest | |
| private final HPKE | |
| private final MlsKdf | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| private final MlsSigner | |
| private final short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public AsymmetricCipherKeyPair | |
| public byte[][] | |
| public AsymmetricCipherKeyPair | |
| public MlsAead | |
| public HPKE | |
| public MlsKdf | |
| public static MlsCipherSuite | |
| public short | |
| public byte[] | |
| public byte[] | |
| public byte[] | |
| public byte[] | |
| public byte[] | |
| public boolean |
| aead | back to summary |
|---|---|
| private final MlsAead aead | |
| ALL_SUPPORTED_SUITES | back to summary |
|---|---|
| public static final short[] ALL_SUPPORTED_SUITES | |
| BCMLS_128_DHKEMP256_AES128GCM_SHA256_P256 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_128_DHKEMP256_AES128GCM_SHA256_P256 | |
| BCMLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 | |
| BCMLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 | |
| BCMLS_256_DHKEMP384_AES256GCM_SHA384_P384 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_256_DHKEMP384_AES256GCM_SHA384_P384 | |
| BCMLS_256_DHKEMP521_AES256GCM_SHA512_P521 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_256_DHKEMP521_AES256GCM_SHA512_P521 | |
| BCMLS_256_DHKEMX448_AES256GCM_SHA512_Ed448 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_256_DHKEMX448_AES256GCM_SHA512_Ed448 | |
| BCMLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448 | back to summary |
|---|---|
| public static final MlsCipherSuite BCMLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448 | |
| digest | back to summary |
|---|---|
| private final Digest digest | |
| hpke | back to summary |
|---|---|
| private final HPKE hpke | |
| kdf | back to summary |
|---|---|
| private final MlsKdf kdf | |
| MLS_128_DHKEMP256_AES128GCM_SHA256_P256 | back to summary |
|---|---|
| public static final short MLS_128_DHKEMP256_AES128GCM_SHA256_P256 | |
| MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 | back to summary |
|---|---|
| public static final short MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 | |
| MLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 | back to summary |
|---|---|
| public static final short MLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 | |
| MLS_256_DHKEMP384_AES256GCM_SHA384_P384 | back to summary |
|---|---|
| public static final short MLS_256_DHKEMP384_AES256GCM_SHA384_P384 | |
| MLS_256_DHKEMP521_AES256GCM_SHA512_P521 | back to summary |
|---|---|
| public static final short MLS_256_DHKEMP521_AES256GCM_SHA512_P521 | |
| MLS_256_DHKEMX448_AES256GCM_SHA512_Ed448 | back to summary |
|---|---|
| public static final short MLS_256_DHKEMX448_AES256GCM_SHA512_Ed448 | |
| MLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448 | back to summary |
|---|---|
| public static final short MLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448 | |
| signer | back to summary |
|---|---|
| private final MlsSigner signer | |
| suiteID | back to summary |
|---|---|
| private final short suiteID | |
| MlsCipherSuite | back to summary |
|---|---|
| public MlsCipherSuite(short id, MlsSigner signer, MlsKdf kdf, MlsAead aead, HPKE hpke) | |
| decryptWithLabel | back to summary |
|---|---|
| public byte[] decryptWithLabel(byte[] priv, String label, byte[] context, byte[] kem_output, byte[] ciphertext) throws IOException, InvalidCipherTextException | |
| deserializeSignaturePrivateKey | back to summary |
|---|---|
| public AsymmetricCipherKeyPair deserializeSignaturePrivateKey(byte[] priv) | |
| encryptWithLabel | back to summary |
|---|---|
| public byte[][] encryptWithLabel(byte[] pub, String label, byte[] context, byte[] plaintext) throws IOException, InvalidCipherTextException | |
| generateSignatureKeyPair | back to summary |
|---|---|
| public AsymmetricCipherKeyPair generateSignatureKeyPair() | |
| getAEAD | back to summary |
|---|---|
| public MlsAead getAEAD() | |
| getHPKE | back to summary |
|---|---|
| public HPKE getHPKE() | |
| getKDF | back to summary |
|---|---|
| public MlsKdf getKDF() | |
| getSuite | back to summary |
|---|---|
| public static MlsCipherSuite getSuite(short id) throws Exception | |
| getSuiteID | back to summary |
|---|---|
| public short getSuiteID() | |
| hash | back to summary |
|---|---|
| public byte[] hash(byte[] value) throws IOException | |
| refHash | back to summary |
|---|---|
| public byte[] refHash(byte[] value, String label) throws IOException | |
| serializeSignaturePrivateKey | back to summary |
|---|---|
| public byte[] serializeSignaturePrivateKey(AsymmetricKeyParameter key) | |
| serializeSignaturePublicKey | back to summary |
|---|---|
| public byte[] serializeSignaturePublicKey(AsymmetricKeyParameter key) | |
| signWithLabel | back to summary |
|---|---|
| public byte[] signWithLabel(byte[] priv, String label, byte[] content) throws IOException, CryptoException | |
| verifyWithLabel | back to summary |
|---|---|
| public boolean verifyWithLabel(byte[] pub, String label, byte[] content, byte[] signature) throws IOException | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | writeTo(MLSOutputStream stream)
Implements org.
|
| content | back to summary |
|---|---|
| private byte[] content | |
| label | back to summary |
|---|---|
| private byte[] label | |
| GenericContent | back to summary |
|---|---|
| public GenericContent(String label, byte[] content) | |
| writeTo | back to summary |
|---|---|
| public void writeTo(MLSOutputStream stream) throws IOException Implements org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | writeTo(MLSOutputStream stream)
Implements org.
|
| RefHash | back to summary |
|---|---|
| public RefHash(byte[] label, byte[] value) | |
| writeTo | back to summary |
|---|---|
| public void writeTo(MLSOutputStream stream) throws IOException Implements org.
| |