Skip to main content

commit_log_entry_tbs

Function commit_log_entry_tbs 

pub fn commit_log_entry_tbs(
    commit_log_id: &[u8; 32],
    nonce: &[u8; 12],
    ciphertext: &[u8],
) -> Result<Vec<u8>, Error>
Expand description

The TLS encoding of CommitLogEntryTBS (API section 3.1), which a sealed commit-log entry’s signature covers. It fails only for a ciphertext of 2^30 bytes or more.