cawg_identity/x509/
x509_signature_verifier.rs

1// Copyright 2025 Adobe. All rights reserved.
2// This file is licensed to you under the Apache License,
3// Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
4// or the MIT license (http://opensource.org/licenses/MIT),
5// at your option.
6
7// Unless required by applicable law or agreed to in writing,
8// this software is distributed on an "AS IS" BASIS, WITHOUT
9// WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or
10// implied. See the LICENSE-MIT and LICENSE-APACHE files for the
11// specific language governing permissions and limitations under
12// each license.
13
14/// Contains information the X.509 certificate chain and the COSE signature that
15/// was used to generate this identity assertion signature.
16#[deprecated(
17    since = "0.14.0",
18    note = "Moved to c2pa::identity::x509::X509SignatureInfo"
19)]
20pub use c2pa::identity::x509::X509SignatureInfo;
21#[doc(hidden)]
22#[deprecated(
23    since = "0.14.0",
24    note = "Moved to c2pa::identity::x509::X509SignatureReport"
25)]
26pub use c2pa::identity::x509::X509SignatureReport;
27/// An implementation of [`SignatureVerifier`] that supports COSE signatures
28/// generated from X.509 credentials as specified in [§8.2, X.509 certificates
29/// and COSE signatures].
30///
31/// [`SignatureVerifier`]: crate::SignatureVerifier
32/// [§8.2, X.509 certificates and COSE signatures]: https://cawg.io/identity/1.1-draft/#_x_509_certificates_and_cose_signatures
33#[deprecated(
34    since = "0.14.0",
35    note = "Moved to c2pa::identity::x509::X509SignatureVerifier"
36)]
37pub use c2pa::identity::x509::X509SignatureVerifier;