Lines Matching refs:der_bytes
34 der_bytes: Vec<u8>, field
43 self.der_bytes.as_slice() in as_bytes()
55 self.der_bytes in into_vec()
60 self.der_bytes.clone() in to_vec()
86 let (label, der_bytes) = pem::decode_vec(pem.as_bytes())?; in from_pem()
87 Ok((label, der_bytes.try_into()?)) in from_pem()
158 der_bytes: bytes.into(), in decode()
181 fn try_from(der_bytes: &[u8]) -> Result<Self> { in try_from()
182 Self::from_der(der_bytes) in try_from()
189 fn try_from(der_bytes: Vec<u8>) -> Result<Self> { in try_from()
190 let mut decoder = SliceReader::new(&der_bytes)?; in try_from()
194 let length = der_bytes.len().try_into()?; in try_from()
195 Ok(Self { der_bytes, length }) in try_from()
300 self.0.der_bytes.zeroize(); in drop()
315 fn try_from(der_bytes: &[u8]) -> Result<Self> { in try_from()
316 Document::try_from(der_bytes).map(Self) in try_from()
324 fn try_from(der_bytes: Vec<u8>) -> Result<Self> { in try_from()
325 Document::try_from(der_bytes).map(Self) in try_from()