Enum CertificateOrigin

    • Enum Constant Detail

      • KEY_INFO

        public static final CertificateOrigin KEY_INFO
        Certificates extracted from KeyInfo element, XAdES specific
      • SIGNED_DATA

        public static final CertificateOrigin SIGNED_DATA
        Certificates extracted from a signed attribute (CAdES)
      • CERTIFICATE_VALUES

        public static final CertificateOrigin CERTIFICATE_VALUES
        Certificates extracted from CertificateValues element
      • ATTR_AUTHORITIES_CERT_VALUES

        public static final CertificateOrigin ATTR_AUTHORITIES_CERT_VALUES
        Certificates extracted from AttrAuthoritiesCertValues element, XAdES specific
      • TIMESTAMP_VALIDATION_DATA

        public static final CertificateOrigin TIMESTAMP_VALIDATION_DATA
        Certificates extracted from TimeStampValidationData element
      • DSS_DICTIONARY

        public static final CertificateOrigin DSS_DICTIONARY
        Certificates extracted from DSS dictionary, PAdES specific
      • VRI_DICTIONARY

        public static final CertificateOrigin VRI_DICTIONARY
        Certificates extracted from VRI dictionary, PAdES specific
      • BASIC_OCSP_RESP

        public static final CertificateOrigin BASIC_OCSP_RESP
        Certificates extracted from an OCSP Response
    • Method Detail

      • values

        public static CertificateOrigin[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CertificateOrigin c : CertificateOrigin.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CertificateOrigin valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null