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

Continue PKI ATS development

parent c59baf96
......@@ -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
......
This diff is collapsed.
......@@ -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
......
......@@ -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
) := {
......@@ -303,11 +312,20 @@ module LibItsPki_Templates {
template (present) Oct16 p_requestHash := ?,
template (present) EtsiTs103097Certificate p_certificate := ?
) := {
requestHash := p_requestHash,
responseCode := ok,
certificate := p_certificate
requestHash := p_requestHash,
responseCode := ok,
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)
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment