Skip to content
LibItsPki_Pixits.ttcn 1.28 KiB
Newer Older
garciay's avatar
garciay committed
module LibItsPki_Pixits {
Yann Garcia's avatar
Yann Garcia committed
  
  // LibCommon
  import from LibCommon_BasicTypesAndValues all;
  import from LibCommon_DataStrings all;
  
  // LibIts
  import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;

  // LibItsPki
  import from LibItsPki_TypesAndValues all;
garciay's avatar
garciay committed
  
  /**
   * @desc Do the encryption keys be included in Authorization Request?
   */
  modulepar boolean PX_INCLUDE_ENCRYPTION_KEYS := true;
  
  /**
   * @desc Do the Authorization Request use SignedWithPop mechanism?
   */
  modulepar boolean PX_AUTHORIZATION_REQUEST_WITH_POP := true;
Yann Garcia's avatar
Yann Garcia committed

  /**
   * @desc Contains the private key for the EC certificate, used in case of re-enrolment
   */
  modulepar Oct32 PX_EC_PRIVATE_KEY := int2oct(0, 32);
Yann Garcia's avatar
Yann Garcia committed
  /**
   * @desc Contains the hashed id8 of the EC certificate, used in case of re-enrolment
   */
  modulepar HashedId8 PX_EC_HASHED_ID8 := int2oct(0, 8);

  /**
   * @desc Contains the hash of the EC certificate, used in case of re-enrolment
   */
  modulepar Oct32 PX_EC_HASH := int2oct(0, 32);
  
  /**
   * @desc Indicate which encryption algorithem to be used
   */
  modulepar SecurityAlg PX_EC_ALG := e_nist_p256;
  
  /**
   * @desc Indicate which verification algorithem to be used
   */
  modulepar SecurityAlg PX_VE_ALG := e_nist_p256;
  
garciay's avatar
garciay committed
} // End of module LibItsPki_Pixits