# Constant Field Values

## Contents

- lv.eparaksts.*
- lv.pasts.*

## lv.eparaksts.*

- lv.eparaksts.edoc.EDoc2Builder
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `EDOC_FORMAT_2_0` | `"2.0"`

- lv.eparaksts.edoc.EDoc2Exception
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_BAD_FORMAT` | `21`
  `public static final int` | `REASON_FILE_WRITE_ACCESS` | `12`
  `public static final int` | `REASON_GENERAL` | `-1`
  `public static final int` | `REASON_INVALID_STRUCTURE` | `22`
  `public static final int` | `REASON_IO` | `11`

- lv.eparaksts.edoc.EDoc2Signature
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `KEY_SIGNATURE_METHOD_URI` | `"signatureMethodURI"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA256` | `"http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA384` | `"http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA512` | `"http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA1` | `"http://www.w3.org/2000/09/xmldsig#rsa-sha1"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA224` | `"http://www.w3.org/2001/04/xmldsig-more#rsa-sha224"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA256` | `"http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA384` | `"http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA512` | `"http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"`

- lv.eparaksts.helpers.PdfQualifiedSignatureHelper
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REVOCATIONDATA_ANY` | `0`
  `public static final int` | `REVOCATIONDATA_CRL` | `1`
  `public static final int` | `REVOCATIONDATA_OCSP` | `2`

- lv.eparaksts.pdf.PdfException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_BAD_FORMAT` | `21`
  `public static final int` | `REASON_ENCRYPTION` | `23`
  `public static final int` | `REASON_FILE_WRITE_ACCESS` | `12`
  `public static final int` | `REASON_GENERAL` | `-1`
  `public static final int` | `REASON_INVALID_PASSWORD` | `22`
  `public static final int` | `REASON_IO` | `11`

- lv.eparaksts.pdf.PdfSignature
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `KEY_SIGNATURE_METHOD_OID` | `"signatureMethodOID"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA256` | `"1.2.840.10045.4.3.2"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA384` | `"1.2.840.10045.4.3.3"`
  `public static final String` | `SIGNATURE_METHOD_ECDSA_SHA512` | `"1.2.840.10045.4.3.4"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA1` | `"1.2.840.113549.1.1.5"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA224` | `"1.2.840.113549.1.1.14"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA256` | `"1.2.840.113549.1.1.11"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA384` | `"1.2.840.113549.1.1.12"`
  `public static final String` | `SIGNATURE_METHOD_RSA_SHA512` | `"1.2.840.113549.1.1.13"`

- lv.eparaksts.tsl.TrustedListException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_CONFIG` | `1`
  `public static final int` | `REASON_GENERAL` | `-1`
  `public static final int` | `REASON_LOAD` | `2`
  `public static final int` | `REASON_NOT_AFTER` | `5`
  `public static final int` | `REASON_PARSE` | `3`
  `public static final int` | `REASON_SIGNATURE` | `4`

- lv.eparaksts.tsl.TrustedListManager
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `EU_LOTL_TERRITORY` | `"EU"`
  `public static final String` | `EU_LOTL_URL` | `"https://ec.europa.eu/tools/lotl/eu-lotl.xml"`
  `public static final String` | `EU_TC_LOTL_TERRITORY` | `"EU"`
  `public static final String` | `EU_TC_LOTL_URL` | `"https://ec.europa.eu/tools/lotl/mra/ades-lotl.xml"`

- lv.eparaksts.tsl.TrustedListService
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `TYPE_CA_PKC` | `"http://uri.etsi.org/TrstSvc/Svctype/CA/PKC"`
  `public static final String` | `TYPE_CA_QC` | `"http://uri.etsi.org/TrstSvc/Svctype/CA/QC"`
  `public static final String` | `TYPE_OCSP` | `"http://uri.etsi.org/TrstSvc/Svctype/Certstatus/OCSP"`
  `public static final String` | `TYPE_OCSP_QC` | `"http://uri.etsi.org/TrstSvc/Svctype/Certstatus/OCSP/QC"`
  `public static final String` | `TYPE_TSA` | `"http://uri.etsi.org/TrstSvc/Svctype/TSA"`
  `public static final String` | `TYPE_TSA_QC` | `"http://uri.etsi.org/TrstSvc/Svctype/TSA/TSS-QC"`
  `public static final String` | `TYPE_TSA_QC_QES` | `"http://uri.etsi.org/TrstSvc/Svctype/TSA/TSS-AdESQCandQES"`
  `public static final String` | `TYPE_TSA_QTST` | `"http://uri.etsi.org/TrstSvc/Svctype/TSA/QTST"`

- lv.eparaksts.tsl.TrustedListServiceStatus
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `STATUS_ACCREDITATION_CEASED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/accreditationceased"`
  `public static final String` | `STATUS_ACCREDITATION_REVOKED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/accreditationrevoked"`
  `public static final String` | `STATUS_ACCREDITED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/accredited"`
  `public static final String` | `STATUS_DEPRECATED_AT_NATIONAL_LEVEL` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/deprecatedatnationallevel"`
  `public static final String` | `STATUS_DEPRECATED_BY_NATIONAL_LAW` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/deprecatedbynationallaw"`
  `public static final String` | `STATUS_GRANTED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/granted"`
  `public static final String` | `STATUS_GRANTED_UA` | `"http://czo.gov.ua/TrstSvc/TrustedList/Svcstatus/granted"`
  `public static final String` | `STATUS_RECOGNISED_AT_NATIONAL_LEVEL` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/recognisedatnationallevel"`
  `public static final String` | `STATUS_SET_BY_NATIONAL_LAW` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/setbynationallaw"`
  `public static final String` | `STATUS_SUPERVISION_CEASED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/supervisionceased"`
  `public static final String` | `STATUS_SUPERVISION_IN_CESSATION` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/supervisionincessation"`
  `public static final String` | `STATUS_SUPERVISION_REVOKED` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/supervisionrevoked"`
  `public static final String` | `STATUS_UNDER_SUPERVISION` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/undersupervision"`
  `public static final String` | `STATUS_WITHDRAWN` | `"http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/withdrawn"`

## lv.pasts.*

- lv.pasts.eme.cert.CertValidatorException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_CERT_EXPIRED` | `14`
  `public static final int` | `REASON_CERT_NOT_YET_VALID` | `15`
  `public static final int` | `REASON_CERT_STATUS_REVOKED` | `11`
  `public static final int` | `REASON_CERT_STATUS_UNKNOWN` | `12`
  `public static final int` | `REASON_CERT_STATUS_UNRESOLVED` | `13`
  `public static final int` | `REASON_CRL` | `31`
  `public static final int` | `REASON_OCSP_CERTIFICATE` | `25`
  `public static final int` | `REASON_OCSP_REQUEST_FAILED` | `21`
  `public static final int` | `REASON_OCSP_RESPONSE_MALFORMED` | `22`
  `public static final int` | `REASON_OCSP_RESPONSE_NONCE` | `24`
  `public static final int` | `REASON_OCSP_RESPONSE_UNSUCCESSFUL` | `23`
  `public static final int` | `REASON_OCSP_SIGNATURE` | `26`
  `public static final int` | `REASON_TSL` | `41`

- lv.pasts.eme.cert.CertValidatorResult.OCSPResult
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final long` | `OCSP_RESULT_LIFETIME` | `3600000L`

- lv.pasts.eme.edoc.EDOCConstants
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `BASE_PROPERTY_KEY_EDOC_FORMAT` | `"eDoc_Format"`
  `public static final String` | `CORE_PROPERTY_KEY_CREATED` | `"Created"`
  `public static final String` | `CORE_PROPERTY_KEY_CREATOR` | `"Creator"`
  `public static final String` | `CORE_PROPERTY_KEY_LANGUAGE` | `"Language"`
  `public static final String` | `CORE_PROPERTY_KEY_LAST_MODIFIED_BY` | `"Last_Modified_By"`
  `public static final String` | `CORE_PROPERTY_KEY_MODIFIED` | `"Modified"`
  `public static final String` | `CORE_PROPERTY_KEY_REVISION` | `"Revision"`
  `public static final String` | `CORE_PROPERTY_KEY_TITLE` | `"Title"`
  `public static final String` | `CORE_PROPERTY_KEY_VERSION` | `"Version"`
  `public static final String` | `EDOC_FORMAT_1_01` | `"1.01"`
  `public static final String` | `EDOC_FORMAT_1_02` | `"1.02"`
  `public static final String` | `EDOC_FORMAT_2_0` | `"2.0"`

- lv.pasts.eme.edoc.EDOCException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_BAD_FORMAT` | `13`
  `public static final int` | `REASON_BAD_TEMPLATE` | `12`
  `public static final int` | `REASON_FILE_DELETE` | `3`
  `public static final int` | `REASON_FILE_READ` | `1`
  `public static final int` | `REASON_FILE_WRITE` | `2`
  `public static final int` | `REASON_ILLEGAL_ARGUMENT` | `4`
  `public static final int` | `REASON_INIT_KEY` | `14`
  `public static final int` | `REASON_INVALID_STRUCTURE` | `10`
  `public static final int` | `REASON_SIGNATURE_COMPLETED` | `31`
  `public static final int` | `REASON_SIGNATURE_VALUE_VERIFY` | `32`
  `public static final int` | `REASON_SIGNATURES_EXIST` | `11`
  `public static final int` | `REASON_TIMESTAMP_REQUEST_REJECTED` | `20`
  `public static final int` | `REASON_TIMESTAMP_VERIFY` | `33`
  `public static final int` | `REASON_UNKNOWN` | `-1`

- lv.pasts.eme.edoc.EDOCTemplate
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `DEFAULT_TEMPLATE_ID` | `"URN:MICROSOFT:LV:EDOCTEMPLATE:EXTENDED"`

- lv.pasts.eme.edoc.EDOCValidatorResult
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CHECK_STATUS_FAILED` | `2`
  `public static final int` | `CHECK_STATUS_NOT_CHECKED` | `3`
  `public static final int` | `CHECK_STATUS_PASSED` | `1`
  `public static final int` | `TYPE_MANIFEST_RELATIONSHIPS` | `112`
  `public static final int` | `TYPE_PACKAGE_RELATIONSHIPS` | `111`
  `public static final int` | `TYPE_PROPERTIES` | `12`
  `public static final int` | `TYPE_PROPERTIES_BASE` | `122`
  `public static final int` | `TYPE_PROPERTIES_CORE` | `121`
  `public static final int` | `TYPE_PROPERTIES_EXTENDED` | `123`
  `public static final int` | `TYPE_ROOT` | `0`
  `public static final int` | `TYPE_SIGNATURE` | `20`
  `public static final int` | `TYPE_SIGNATURE_CERT_PATH_BUILD` | `311`
  `public static final int` | `TYPE_SIGNATURE_CERT_PATH_CHECK` | `312`
  `public static final int` | `TYPE_SIGNATURE_CERT_PATH_CRL_CHECK` | `313`
  `public static final int` | `TYPE_SIGNATURE_PROPERTIES` | `22`
  `public static final int` | `TYPE_SIGNATURE_REFERENCE` | `231`
  `public static final int` | `TYPE_SIGNATURE_STRUCTURE` | `21`
  `public static final int` | `TYPE_SIGNATURE_TIMESTAMP` | `321`
  `public static final int` | `TYPE_SIGNATURE_TIMESTAMP_CERT_PATH` | `322`
  `public static final int` | `TYPE_SIGNATURE_TIMESTAMP_CERT_PATH_CRL` | `323`
  `public static final int` | `TYPE_SIGNATURE_VALUE` | `23`
  `public static final int` | `TYPE_STRUCTURE` | `11`
  `public static final int` | `TYPE_XADES_C` | `33`
  `public static final int` | `TYPE_XADES_C_CERT_PATH_BUILD` | `331`
  `public static final int` | `TYPE_XADES_C_CRL_OCSP` | `3311`
  `public static final int` | `TYPE_XADES_C_CRL_TSA` | `3310`
  `public static final int` | `TYPE_XADES_C_OCSP_CERT_PATH_BUILD` | `334`
  `public static final int` | `TYPE_XADES_C_OCSP_CERT_PATH_CHECK` | `335`
  `public static final int` | `TYPE_XADES_C_OCSP_RESPONSE` | `333`
  `public static final int` | `TYPE_XADES_C_TIMESTAMP_TIME` | `339`
  `public static final int` | `TYPE_XADES_C_TRUSTED_ROOT` | `332`
  `public static final int` | `TYPE_XADES_C_TSA_CERT_PATH_BUILD` | `336`
  `public static final int` | `TYPE_XADES_C_TSA_CERT_PATH_CHECK` | `338`
  `public static final int` | `TYPE_XADES_C_TSA_TRUSTED_ROOT` | `337`

- lv.pasts.eme.edoc.SignatureType
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `SIGNATURE_LEVEL_BASIC` | `1`
  `public static final int` | `SIGNATURE_LEVEL_TIMESTAMPED` | `2`
  `public static final int` | `SIGNATURE_LEVEL_VERIFIED` | `3`

- lv.pasts.eme.tsp.TSPException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `REASON_REQUEST_FAILED` | `31`
  `public static final int` | `REASON_REQUEST_FORBIDDEN` | `32`
  `public static final int` | `REASON_REQUEST_REJECTED` | `33`
  `public static final int` | `REASON_RESPONSE_INCONSISTENT` | `22`
  `public static final int` | `REASON_RESPONSE_MALFORMED` | `21`
  `public static final int` | `REASON_TIMESTAMP_INVALID` | `11`
  `public static final int` | `REASON_TIMESTAMP_SIGNATURE` | `12`

Copyright VAS Latvijas Valsts radio un televizijas centrs / Developed by SIA EUSO