cawg_identity/x509/
x509_credential_holder.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/// An implementation of `CredentialHolder` that generates COSE signatures
15/// using X.509 credentials as specified in [§8.2, X.509 certificates and COSE
16/// signatures].
17///
18/// [`SignatureVerifier`]: crate::SignatureVerifier
19/// [§8.2, X.509 certificates and COSE signatures]: https://cawg.io/identity/1.1-draft/#_x_509_certificates_and_cose_signatures
20#[deprecated(
21    since = "0.14.0",
22    note = "Moved to c2pa::identity::x509::AsyncX509CredentialHolder"
23)]
24pub use c2pa::identity::x509::X509CredentialHolder;