/**
 *  @author   ETSI / STF481 / STF507 / STF517 / STF538
 *  @version  $URL$
 *            $Id$
 *  @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.
 *
 */
module ItsSecurity_Pics {
    
    // 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;
    
    /**
     * @desc Certificate identifier to be used for X_CERTFICATE variant
     */
    modulepar charstring PICS_CERTFICATE_ID_VARIANT := "CERT_IUT_A_AT";
    
    // TODO To be removed
    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;
    
    modulepar certificates_fois PICS_CERTFICATES_FOI := {
        { cc_iutCert_A, sha256, '0000000000000000'O, '0000000000000000'O, omit }, // CERT_IUT_A_AT
        { cc_iutCert_B, sha256, '0000000000000000'O, '0000000000000000'O, { circularRegion := { center := {0, 0}, radius := 1000 } } } // CERT_IUT_B_AT
    }
    modulepar integer PICS_CERTFICATES_VAR := 0;

    
} // End of module ItsSecurity_Pics 
