File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,6 @@ impl Reader {
110
110
}
111
111
}
112
112
113
- // pub fn validation_state(&self) -> Result<ValidationState> {
114
- // if let Ok(st) = self.reader.validation_state() {
115
- // Ok(st.validation_state())
116
- // } else {
117
- // Err(Error::RwLock)
118
- // }
119
- // }
120
-
121
113
pub fn resource_to_stream ( & self , uri : & str , stream : & dyn Stream ) -> Result < u64 > {
122
114
if let Ok ( reader) = self . reader . try_read ( ) {
123
115
let mut stream = StreamAdapter :: from ( stream) ;
Original file line number Diff line number Diff line change 1
1
# This sample c2pa settings file enables a trust list.
2
+ # We use the toml format here because it does a good job of containing the PEM formatted certificates.
2
3
# In practice you should update the trust anchors from a remote source as needed.
3
4
# Many other settings are available, see the c2pa documentation for more information.
4
5
[verify ]
You can’t perform that action at this time.
0 commit comments