Commit ec376d26 authored by Yann Garcia's avatar Yann Garcia
Browse files

Continue PKI ATS development

parent c59baf96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ module LibItsHttp_Templates {
          version_major := 1,
          version_minor := 1,
          statuscode    := 200,
          statustext    := "OK",
          statustext    := ?,//"OK",
          header        := p_header,
          body          := p_body
      } // End of template mw_http_response_ok
+253 −173

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ module LibItsPki_Pixits {
  /**
   * @desc Do the Authorization Request use SignedWithPop mechanism?
   */
  modulepar boolean PX_AUTHORIZATION_REQUEST_WITH_POP := true;
  modulepar boolean PICS_PKI_AUTH_POP := true;

  /**
   * @desc Contains the private key for the EC certificate, used in case of re-enrolment
+21 −3
Original line number Diff line number Diff line
@@ -55,6 +55,15 @@ module LibItsPki_Templates {
    }
  } // End of template m_etsiTs102941Data_inner_ec_response

  template (present) EtsiTs102941Data mw_etsiTs102941Data_inner_ec_response(
                                                                            template (present) InnerEcResponse p_inner_ec_response := ?
                                                                            ) := {
    version := PkiProtocolVersion,
    content := {
      enrolmentResponse := p_inner_ec_response
    }
  } // End of template mw_etsiTs102941Data_inner_ec_response

  template (value) EtsiTs102941Data m_etsiTs102941Data_authorization_request(
                                                                             in template (value) InnerAtRequest p_inner_at_request
                                                                             ) := {
@@ -308,6 +317,15 @@ module LibItsPki_Templates {
    certificate  := p_certificate
  } // End of template mw_innerAtResponse_ok
  
  template (value) InnerAtResponse m_innerAtResponse_ko(
                                                        in template (value) Oct16 p_requestHash,
                                                        in template (value) AuthorizationResponseCode p_responseCode
                                                        ) := {
    requestHash  := p_requestHash,
    responseCode := p_responseCode,
    certificate  := omit
  } // End of template m_innerAtResponse_ko
  
  template (present) InnerAtResponse mw_innerAtResponse_ko(
                                                           template (present) Oct16 p_requestHash := ?,
                                                           template (present) AuthorizationResponseCode p_responseCode := complement(ok)
+1 −0
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ module LibItsSecurity_TypesAndValues {
        const charstring cc_taCert_CA3 := "CERT_IUT_CA3_AT";
        const charstring cc_taCert_CC_AA := "CERT_IUT_CC_AA";
        const charstring cc_iutCert_A := "CERT_IUT_A_AT"; /** Default certificate, without region validity restriction, to be used when secured messages are sent from TA to IUT */
        const charstring cc_iutCert_A_AA := "CERT_IUT_A_AA"; /** Default certificate, without region validity restriction, to be used when secured messages are sent from TA to IUT */
        const charstring cc_iutCert_B := "CERT_IUT_B_AT"; /** Default certificate, with circular region, to be used when secured messages are sent from TA to IUT */
        const charstring cc_iutCert_C := "CERT_IUT_C_AT"; /** Certificate with a rectangular region, to be used when secured messages are sent from TA to IUT */
        const charstring cc_iutCert_D := "CERT_IUT_D_AT"; /** Certificate with a polygonal region, to be used when secured messages are sent from TA to IUT */