pub struct NewRequestTlv {
pub ecdh_pub: Bytes,
pub cert_request: Bytes,
}Expand description
TLV-encoded NEW request (ApplicationParameters of /<ca>/CA/NEW).
Per NDNCERT 0.3 the request carries an ECDH ephemeral public key (65 bytes,
uncompressed P-256 point) instead of the raw Ed25519 public key from Phase 1A.
The cert request bytes (name + not-before + not-after + Ed25519 pubkey) are
nested under TLV_CERT_REQUEST.
Fields§
§ecdh_pub: BytesUncompressed P-256 ephemeral public key (65 bytes).
cert_request: BytesDER/TLV-encoded self-signed certificate of the requester.
Implementations§
Auto Trait Implementations§
impl !Freeze for NewRequestTlv
impl RefUnwindSafe for NewRequestTlv
impl Send for NewRequestTlv
impl Sync for NewRequestTlv
impl Unpin for NewRequestTlv
impl UnwindSafe for NewRequestTlv
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more