Compute the length of this value in bytes when encoded as ASN.1 DER.
(&self)
| 74 | { |
| 75 | /// Compute the length of this value in bytes when encoded as ASN.1 DER. |
| 76 | fn encoded_len(&self) -> Result<Length> { |
| 77 | self.value_len().and_then(|len| len.for_tlv()) |
| 78 | } |
| 79 | |
| 80 | /// Encode this value as ASN.1 DER using the provided [`Writer`]. |
| 81 | fn encode(&self, writer: &mut dyn Writer) -> Result<()> { |
no test coverage detected