ItsSecurity_Pics.ttcn 4.27 KB
Newer Older
garciay's avatar
garciay committed
/**
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538 / STF545
 *  @version  $Url: https://oldforge.etsi.org/svn/ITS/tags/20170222_STF527_Final/ttcn/AtsSecurity/ItsSecurity_Pics.ttcn $
 *            $Id: ItsSecurity_Pics.ttcn 2655 2017-01-26 10:46:08Z filatov $
 *  @desc     Module containing Pics for Security ATS
 *  @copyright   ETSI Copyright Notification
 *               No part may be reproduced except as authorized by written permission.
 *               The copyright and the foregoing restriction extend to reproduction in all media.
 *               All rights reserved.
 *
 */
/* 0*/module ItsSecurity_Pics {
garciay's avatar
garciay committed
    
    // LibIts
    import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;
    import from IEEE1609dot2 language "ASN.1:1997" all;
    import from EtsiTs103097Module language "ASN.1:1997" all;
    
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    
    type record certificates_foi {
        charstring certificate_id,
        HashAlgorithm hashAlgorithm,
        HashedId8 issuer,
        HashedId8 hashedId8,
        GeographicRegion region optional
    } // End of type certificates_foi
    type record of certificates_foi certificates_fois;
    
Yann Garcia's avatar
Yann Garcia committed
    modulepar certificates_fois PX_CERTFICATES_FOI := {
/* 0*/        { cc_iutCert_A, sha256, 'C9779926F6177F62'O, 'F4D2FA773D9C6E63'O, omit }, // CERT_IUT_A_AT
/* 1*/        { cc_iutCert_A_B, sha256, 'F28ADDDA81B01F8D 'O, 'A36502318051A71C'O, omit }, // CERT_IUT_A_B_AT
/* 2*/        { cc_iutCert_A_N, sha256, 'F28ADDDA81B01F8D 'O, 'A36502318051A71C'O, omit }, // CERT_IUT_A_N_AT
/* 3*/        { cc_iutCert_A_B_N, sha256, 'F28ADDDA81B01F8D 'O, '4A357209218677EF'O, omit }, // CERT_IUT_A_B_N_AT
/* 4*/        { cc_iutCert_A_B3, sha384, 'F28ADDDA81B01F8D 'O, '623F3CE451FA1A04'O, omit }, // CERT_IUT_A_B3_AT
/* 5*/        { cc_iutCert_A_B3_N, sha256, 'F28ADDDA81B01F8D 'O, 'E390E79D9A7DB454'O, omit }, // CERT_IUT_A_B3_N_AT
/* 6*/        { cc_iutCert_A_AA, sha256, 'F8945B67D4EBA414 'O, 'C9779926F6177F62'O, omit }, // CERT_IUT_A_AA

Yann Garcia's avatar
Yann Garcia committed
/* 7*/        { cc_iutCert_C1, sha256, '45DC8C75476D0E5B'O, '6854E0E0956DC14D'O, omit }, // CERT_IUT_C1_AT
/* 8*/        { cc_iutCert_CA2, sha256, 'A5E743E075BDDECB'O, 'F86E387105A8733D'O, omit }, // CERT_IUT_CA2_AT
Yann Garcia's avatar
Yann Garcia committed
/* 9*/        { cc_iutCert_C3, sha256, '65CFAAF67625462B'O, '0B1AD5674BB4FE85'O, omit }, // CERT_IUT_C3_AA
/*10*/        { cc_iutCert_CA3, sha256, '0B1AD5674BB4FE85 'O, '1D421A5719013B52'O, omit }, // CERT_IUT_CA3_AT

/*11*/        { cc_iutCert_A1, sha256, 'C9779926F6177F62'O, 'EC46A154A581C6EA'O, omit }, // CERT_IUT_A1_AT
/*12*/        { cc_iutCert_A2, sha256, 'C9779926F6177F62'O, '8C20D11A3FF76E64'O, omit }, // CERT_IUT_A2_AT
/*12*/        { cc_iutCert_A3, sha256, 'C9779926F6177F62'O, 'C15CB85A9DA26C21'O, omit }, // CERT_IUT_A3_AT
/*13*/        { cc_iutCert_A4, sha256, 'C9779926F6177F62'O, '4E1D74DC4327831F'O, omit }, // CERT_IUT_A4_AT

/*14*/        { cc_iutCert_B, sha256, 'C9779926F6177F62'O, '240F58161F950F49 'O, { circularRegion := { center := {436169490, 70533080}, radius := 5000 } } }, 
                // CERT_IUT_B_AT
/*15*/        { cc_iutCert_C, sha256, 'C9779926F6177F62'O, '17B93E3345D509A9'O, { rectangularRegion := { { northWest := { latitude := 436618657, longitude := 70083912 }, southEast := { latitude := 435720322, longitude := 70982247 } } } } }, 
                // CERT_IUT_C_AT
/*16*/        { cc_iutCert_D, sha256, 'C9779926F6177F62'O, '761779BB8F281F1D'O, { polygonalRegion := { { latitude := 436618657, longitude := 70083912 }, { latitude := 436618657, longitude := 70982247 }, { latitude := 435720322, longitude := 70982247 }, { latitude := 435720322, longitude := 70083912 } } } }, 
                // CERT_IUT_D_AT
/*17*/        { cc_iutCert_E, sha256, 'C9779926F6177F62'O, '70820EA96D75652A'O, { identifiedRegion := { { countryOnly := 250 } } } }, 
                // CERT_IUT_E_AT

/*18*/        { cc_iutCert_CA_AA, sha256, '65CFAAF67625462B 'O, 'A5E743E075BDDECB'O, omit }, // CERT_IUT_CA_AA
/*19*/        { cc_iutCert_CC_AA, sha256, '65CFAAF67625462B 'O, '45DC8C75476D0E5B'O, omit } // CERT_IUT_CC_AA

garciay's avatar
garciay committed
    }
    
    /**
     * @desc Certificate identifier to be used for X_CERTFICATE variant
     */
Yann Garcia's avatar
Yann Garcia committed
    modulepar integer PX_CERTFICATES_VAR := 0;
garciay's avatar
garciay committed
    
} // End of module ItsSecurity_Pics