PKI MariaDB

Tables (10)

certificates

  • certificates_id — INT — 인증서_ID
  • serial_number — VARCHAR(16) — NOT NULL — 시리얼_넘버
  • not_before — DATETIME — NOT NULL — 유효_시작_시간
  • not_after — DATETIME — NOT NULL — 유효_종료_시간
  • revocation_yn — CHAR(1) — NOT NULL — 폐기_여부
  • revocation_reason — VARCHAR(50) — 폐기_이유
  • revocation_reason_text — VARCHAR(100) — 폐기_이유_설명
  • revocation_date — DATETIME — 폐기_일시

certs_map

  • certs_map_id — INT — 엔티티_매핑_아이디
  • certificates_id — INT — Foreign key → certificates.certificates_id — NOT NULL — 인증서-아이디
  • csms_certs_id — INT — Foreign key → csms_certs.csms_certs_id — csms_인증서_아이디
  • contract_certs_id — INT — Foreign key → contract_certs.contract_certs_id — 계약_인증서_아이디
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시
  • Key — Foreign key → csms_certs.Key — NOT NULL

code_pkifailureinfo

  • code — VARCHAR(25) — 코드
  • code_nm — VARCHAR(100) — NOT NULL — 코드_명
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

code_request_type

  • code — VARCHAR(25) — 코드
  • code_nm — VARCHAR(100) — NOT NULL — 코드_명
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

code_response_status

  • code — VARCHAR(25) — 코드
  • code_nm — VARCHAR(100) — NOT NULL — 코드_명
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

code_revocation_reason

  • code — VARCHAR(25) — 코드
  • code_nm — VARCHAR(100) — NOT NULL — 코드_명
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

contract_certs

  • contract_certs_id — INT — 계약_인증서_아이디
  • certificates_id — INT — Foreign key → certificates.certificates_id — NOT NULL — 인증서_아이디
  • pcid — VARCHAR(60) — NOT NULL — PCID
  • emaid — VARCHAR(60) — NOT NULL — EMAID
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

csms_certs

  • Key — Primary key — NOT NULL
  • csms_certs_id — INT — csms_인증서_아이디
  • certificates_id — INT — Foreign key → certificates.certificates_id — NOT NULL — 인증서_아이디
  • cb_id — INT — NOT NULL — 충전기_아이디
  • create_datetime — DATETIME — 생성_일시
  • update_datetime — DATETIME — 수정_일시

ocsp_logs

  • ocsp_logs_id — INT — ocsp_로그_아이디
  • certificates_id — INT — Foreign key → certificates.certificates_id — 인증서_아이디
  • request_datetime — DATETIME — 요청_일자
  • response_status — VARCHAR(60) — Foreign key → code_response_status.code — NOT NULL — 응답_상태
  • response_datetime — DATETIME — 응답_일자

request_logs

  • request_logs_id — INT — 요청_로그_아이디
  • certificates_id — INT — Foreign key → certificates.certificates_id — 인증서_아이디
  • request_type — VARCHAR(60) — Foreign key → code_request_type.code — 요청_타입
  • request_status — ENUM(waiting, accepted, rejection) — NOT NULL — 요청_상태
  • request_error_msg — VARCHAR(60) — Foreign key → code_pkifailureinfo.code — 요청_에러_메시지
  • request_datetime — DATETIME — 요청_일자
  • response_datetime — DATETIME — 응답_일자