|
Foxit PDF SDK
|
Public 成员函数 | |
| CertVerifyResult () | |
| 构造函数。 | |
| CertVerifyResult (byte[] cert, boolean is_ca, boolean is_trusted, Response response, TimeRange response_effect_time_range, DateTime revoke_time, int cert_status, int reason, DateTime cert_check_time, boolean exist_signature_vri_creation_time, DateTime signature_vri_creation_time, boolean exist_response_signature_vri_creation_time, DateTime response_signature_vri_creation_time, int response_info_location) | |
| 带参数的构造函数。 更多... | |
| CertVerifyResult (CertVerifyResult other) | |
| 带另一个证书验证结果对象的构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| byte[] | getCert () |
| Get 证书内容。 更多... | |
| DateTime | getCert_check_time () |
| Get 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
| int | getCert_status () |
| Get 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。 更多... | |
| boolean | getExist_response_signature_vri_creation_time () |
| Get 指示响应签名的 VRI 创建时间是否存在。 更多... | |
| boolean | getExist_signature_vri_creation_time () |
| Get 指示签名的 VRI 创建时间是否存在。 更多... | |
| boolean | getIs_ca () |
| Get 指示证书是否为 CA 证书。 更多... | |
| boolean | getIs_trusted () |
| Get 指示证书是否被用户信任。 更多... | |
| int | getReason () |
| Get 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。 更多... | |
| Response | getResponse () |
| Get 证书的响应。 更多... | |
| TimeRange | getResponse_effect_time_range () |
| Get 响应生效的时间范围。 更多... | |
| int | getResponse_info_location () |
| Get 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。 更多... | |
| DateTime | getResponse_signature_vri_creation_time () |
| Get 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
| DateTime | getRevoke_time () |
| Get 从响应中获得的撤销时间。 更多... | |
| DateTime | getSignature_vri_creation_time () |
| Get 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
| void | set (byte[] cert, boolean is_ca, boolean is_trusted, Response response, TimeRange response_effect_time_range, DateTime revoke_time, int cert_status, int reason, DateTime cert_check_time, boolean exist_signature_vri_creation_time, DateTime signature_vri_creation_time, boolean exist_response_signature_vri_creation_time, DateTime response_signature_vri_creation_time, int response_info_location) |
| 设置值。 更多... | |
| void | setCert (byte[] value) |
| Set 证书内容。 更多... | |
| void | setCert_check_time (DateTime value) |
| Set 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
| void | setCert_status (int value) |
| Set 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。 更多... | |
| void | setExist_response_signature_vri_creation_time (boolean value) |
| Set 指示响应签名的 VRI 创建时间是否存在。 更多... | |
| void | setExist_signature_vri_creation_time (boolean value) |
| Set 指示签名的 VRI 创建时间是否存在。 更多... | |
| void | setIs_ca (boolean value) |
| Set 指示证书是否为 CA 证书。 更多... | |
| void | setIs_trusted (boolean value) |
| Set 指示证书是否被用户信任。 更多... | |
| void | setReason (int value) |
| Set 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。 更多... | |
| void | setResponse (Response value) |
| Set 证书的响应。 更多... | |
| void | setResponse_effect_time_range (TimeRange value) |
| Set 响应生效的时间范围。 更多... | |
| void | setResponse_info_location (int value) |
| Set 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。 更多... | |
| void | setResponse_signature_vri_creation_time (DateTime value) |
| Set 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
| void | setRevoke_time (DateTime value) |
| Set 从响应中获得的撤销时间。 更多... | |
| void | setSignature_vri_creation_time (DateTime value) |
| Set 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 更多... | |
静态 Public 属性 | |
| static final int | e_CertStatusExpired = 2 |
| 表示证书已过期。 | |
| static final int | e_CertStatusRevoked = 1 |
| 表示证书已被撤销。 | |
| static final int | e_CertStatusUnknown = 3 |
| 表示证书状态未知。 | |
| static final int | e_CertStatusValid = 0 |
| 表示证书有效。 | |
| static final int | e_LocationDSS = 1 |
| 响应信息在 DSS 字典中找到。 | |
| static final int | e_LocationNotSet = 0 |
| 位置未设置。 | |
| static final int | e_LocationOnline = 3 |
| 响应信息通过在线请求获得。 | |
| static final int | e_LocationSignature = 2 |
| 响应信息在签名内容中找到。 | |
| static final int | e_ReasonAACompromise = 9 |
| 撤销原因:AA 泄露。 | |
| static final int | e_ReasonAffiliationChanged = 3 |
| 撤销原因:附属关系发生变化。 | |
| static final int | e_ReasonCACompromise = 2 |
| 撤销原因:CA 泄露。 | |
| static final int | e_ReasonCertificateHold = 6 |
| 撤销原因:证书暂停。 | |
| static final int | e_ReasonCessationOfOperation = 5 |
| 撤销原因:停止操作。 | |
| static final int | e_ReasonKeyCompromise = 1 |
| 撤销原因:密钥泄露。 | |
| static final int | e_ReasonNoStatus = -1 |
| 撤销原因:证书无状态。 | |
| static final int | e_ReasonPrivilegeWithDrawn = 8 |
| 撤销原因:特权被撤销。 | |
| static final int | e_ReasonRemoveFromCRL = 7 |
| 撤销原因:从 CRL 中移除。 | |
| static final int | e_ReasonSuperseded = 4 |
| 撤销原因:已被替代。 | |
| static final int | e_ReasonUnspecified = 0 |
| 撤销原因:未指定原因。 | |
此类表示证书的验证结果。
| com.foxit.sdk.pdf.CertVerifyResult.CertVerifyResult | ( | byte[] | cert, |
| boolean | is_ca, | ||
| boolean | is_trusted, | ||
| Response | response, | ||
| TimeRange | response_effect_time_range, | ||
| DateTime | revoke_time, | ||
| int | cert_status, | ||
| int | reason, | ||
| DateTime | cert_check_time, | ||
| boolean | exist_signature_vri_creation_time, | ||
| DateTime | signature_vri_creation_time, | ||
| boolean | exist_response_signature_vri_creation_time, | ||
| DateTime | response_signature_vri_creation_time, | ||
| int | response_info_location | ||
| ) |
带参数的构造函数。
| [in] | cert | 证书内容。 |
| [in] | is_ca | 指示证书是否为 CA 证书。 |
| [in] | is_trusted | 指示证书是否被用户信任。 |
| [in] | response | 证书的响应。 |
| [in] | response_effect_time_range | 响应生效的时间范围。 |
| [in] | revoke_time | 从响应中获得的撤销时间。 |
| [in] | cert_status | 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。 |
| [in] | reason | 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。 |
| [in] | cert_check_time | 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | exist_signature_vri_creation_time | 指示签名的 VRI 创建时间是否存在。 |
| [in] | signature_vri_creation_time | 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | exist_response_signature_vri_creation_time | 指示响应签名的 VRI 创建时间是否存在。 |
| [in] | response_signature_vri_creation_time | 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | response_info_location | 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。 |
| com.foxit.sdk.pdf.CertVerifyResult.CertVerifyResult | ( | CertVerifyResult | other | ) |
带另一个证书验证结果对象的构造函数。
| [in] | other | 另一个响应对象。 |
| synchronized void com.foxit.sdk.pdf.CertVerifyResult.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.pdf.CertVerifyResult.getCert | ( | ) |
Get 证书内容。
| com.foxit.sdk.pdf.CertVerifyResult.getCert_check_time | ( | ) |
Get 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| com.foxit.sdk.pdf.CertVerifyResult.getCert_status | ( | ) |
Get 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。
| com.foxit.sdk.pdf.CertVerifyResult.getExist_response_signature_vri_creation_time | ( | ) |
Get 指示响应签名的 VRI 创建时间是否存在。
| com.foxit.sdk.pdf.CertVerifyResult.getExist_signature_vri_creation_time | ( | ) |
Get 指示签名的 VRI 创建时间是否存在。
| com.foxit.sdk.pdf.CertVerifyResult.getIs_ca | ( | ) |
Get 指示证书是否为 CA 证书。
| com.foxit.sdk.pdf.CertVerifyResult.getIs_trusted | ( | ) |
Get 指示证书是否被用户信任。
| com.foxit.sdk.pdf.CertVerifyResult.getReason | ( | ) |
Get 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。
| com.foxit.sdk.pdf.CertVerifyResult.getResponse | ( | ) |
Get 证书的响应。
| com.foxit.sdk.pdf.CertVerifyResult.getResponse_effect_time_range | ( | ) |
Get 响应生效的时间范围。
| com.foxit.sdk.pdf.CertVerifyResult.getResponse_info_location | ( | ) |
Get 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。
| com.foxit.sdk.pdf.CertVerifyResult.getResponse_signature_vri_creation_time | ( | ) |
Get 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| com.foxit.sdk.pdf.CertVerifyResult.getRevoke_time | ( | ) |
Get 从响应中获得的撤销时间。
| com.foxit.sdk.pdf.CertVerifyResult.getSignature_vri_creation_time | ( | ) |
Get 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| void com.foxit.sdk.pdf.CertVerifyResult.set | ( | byte[] | cert, |
| boolean | is_ca, | ||
| boolean | is_trusted, | ||
| Response | response, | ||
| TimeRange | response_effect_time_range, | ||
| DateTime | revoke_time, | ||
| int | cert_status, | ||
| int | reason, | ||
| DateTime | cert_check_time, | ||
| boolean | exist_signature_vri_creation_time, | ||
| DateTime | signature_vri_creation_time, | ||
| boolean | exist_response_signature_vri_creation_time, | ||
| DateTime | response_signature_vri_creation_time, | ||
| int | response_info_location | ||
| ) |
设置值。
| [in] | cert | 证书内容。 |
| [in] | is_ca | 指示证书是否为 CA 证书。 |
| [in] | is_trusted | 指示证书是否被用户信任。 |
| [in] | response | 证书的响应。 |
| [in] | response_effect_time_range | 响应生效的时间范围。 |
| [in] | revoke_time | 从响应中获得的撤销时间。 |
| [in] | cert_status | 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。 |
| [in] | reason | 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。 |
| [in] | cert_check_time | 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | exist_signature_vri_creation_time | 指示签名的 VRI 创建时间是否存在。 |
| [in] | signature_vri_creation_time | 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | exist_response_signature_vri_creation_time | 指示响应签名的 VRI 创建时间是否存在。 |
| [in] | response_signature_vri_creation_time | 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| [in] | response_info_location | 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。 |
| com.foxit.sdk.pdf.CertVerifyResult.setCert | ( | byte[] | value | ) |
Set 证书内容。
| [in] | value | 证书内容。 |
| com.foxit.sdk.pdf.CertVerifyResult.setCert_check_time | ( | DateTime | value | ) |
Set 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| [in] | value | 检查此证书有效性的实际时间。 此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| com.foxit.sdk.pdf.CertVerifyResult.setCert_status | ( | int | value | ) |
Set 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。
| [in] | value | 证书状态。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_CertStatusValid 开始的值, 应为这些值之一。 |
| com.foxit.sdk.pdf.CertVerifyResult.setExist_response_signature_vri_creation_time | ( | boolean | value | ) |
Set 指示响应签名的 VRI 创建时间是否存在。
| [in] | value | 指示响应签名的 VRI 创建时间是否存在。 |
| com.foxit.sdk.pdf.CertVerifyResult.setExist_signature_vri_creation_time | ( | boolean | value | ) |
Set 指示签名的 VRI 创建时间是否存在。
| [in] | value | 指示签名的 VRI 创建时间是否存在。 |
| com.foxit.sdk.pdf.CertVerifyResult.setIs_ca | ( | boolean | value | ) |
Set 指示证书是否为 CA 证书。
| [in] | value | 指示证书是否为 CA 证书。 |
| com.foxit.sdk.pdf.CertVerifyResult.setIs_trusted | ( | boolean | value | ) |
Set 指示证书是否被用户信任。
| [in] | value | 指示证书是否被用户信任。 |
| com.foxit.sdk.pdf.CertVerifyResult.setReason | ( | int | value | ) |
Set 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。
| [in] | value | 证书的撤销原因。请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_ReasonNoStatus 开始的值, 应为这些值之一。 |
| com.foxit.sdk.pdf.CertVerifyResult.setResponse | ( | Response | value | ) |
Set 证书的响应。
| [in] | value | 证书的响应。 |
| com.foxit.sdk.pdf.CertVerifyResult.setResponse_effect_time_range | ( | TimeRange | value | ) |
Set 响应生效的时间范围。
| [in] | value | 响应生效的时间范围。 |
| com.foxit.sdk.pdf.CertVerifyResult.setResponse_info_location | ( | int | value | ) |
Set 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。
| [in] | value | 响应信息(作为撤销信息)的位置,可在此位置找到证书响应。 请参考从 com.foxit.sdk.pdf.CertVerifyResult.e_LocationNotSet 开始的值, 应为这些值之一。 |
| com.foxit.sdk.pdf.CertVerifyResult.setResponse_signature_vri_creation_time | ( | DateTime | value | ) |
Set 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| [in] | value | 响应签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |
| com.foxit.sdk.pdf.CertVerifyResult.setRevoke_time | ( | DateTime | value | ) |
Set 从响应中获得的撤销时间。
| [in] | value | 从响应中获得的撤销时间。 |
| com.foxit.sdk.pdf.CertVerifyResult.setSignature_vri_creation_time | ( | DateTime | value | ) |
Set 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。
| [in] | value | 签名的 VRI 创建时间。此时间对象的 utc_hour_offset 和 utc_minite_offset 被忽略。 |