All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itextpdf.signatures.validation.v1.context.CertificateSource Maven / Gradle / Ivy

There is a newer version: 9.0.0
Show newest version
/*
    This file is part of the iText (R) project.
    Copyright (c) 1998-2024 Apryse Group NV
    Authors: Apryse Software.

    This program is offered under a commercial and under the AGPL license.
    For commercial licensing, contact us at https://itextpdf.com/sales.  For AGPL licensing, see below.

    AGPL licensing:
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see .
 */
package com.itextpdf.signatures.validation.v1.context;

/**
 * This enum lists all possible contexts related to the certificate origin in which a validation may take place
 */
public enum CertificateSource {
    /**
     * The context while validating a CRL issuer certificate.
     */
    CRL_ISSUER,
    /**
     * The context while validating a OCSP issuer certificate that is neither trusted nor CA.
     */
    OCSP_ISSUER,
    /**
     * The context while validating a certificate issuer certificate.
     */
    CERT_ISSUER,
    /**
     * The context while validating a signer certificate.
     */
    SIGNER_CERT,
    /**
     * A certificate that is on a trusted list.
     */
    TRUSTED,
    /**
     * The context while validating a timestamp issuer certificate.
     */
    TIMESTAMP
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy