Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/formats
/ try_from
Method
try_from
der/src/document.rs:181–183 ·
view source on GitHub ↗
(der_bytes: &[u8])
Source
from the content-addressed store, hash-verified
179
type Error = Error;
180
181
fn try_from(der_bytes: &[u8]) -> Result<Self> {
182
Self::from_der(der_bytes)
183
}
184
}
185
186
impl TryFrom<Vec<u8>> for Document {
Callers
nothing calls this directly
Calls
3
decode_sequence
Function · 0.85
finish
Method · 0.45
len
Method · 0.45
Tested by
no test coverage detected