Search Legislation

Council Regulation (EEC) No 3821/85Show full title

Council Regulation (EEC) No 3821/85 of 20 December 1985 on recording equipment in road transport

 Help about what version

What Version

  • Latest available (Revised)
  • Original (As adopted by EU)
 Help about advanced features

Advanced Features

 Help about UK-EU Regulation

Legislation originating from the EU

When the UK left the EU, legislation.gov.uk published EU legislation that had been published by the EU up to IP completion day (31 December 2020 11.00 p.m.). On legislation.gov.uk, these items of legislation are kept up-to-date with any amendments made by the UK since then.

Close

This item of legislation originated from the EU

Legislation.gov.uk publishes the UK version. EUR-Lex publishes the EU version. The EU Exit Web Archive holds a snapshot of EUR-Lex’s version from IP completion day (31 December 2020 11.00 p.m.).

Changes to legislation:

There are currently no known outstanding effects for the Council Regulation (EEC) No 3821/85, Division 5.1. . Help about Changes to Legislation

Close

Changes to Legislation

Revised legislation carried on this site may not be fully up to date. At the current time any known changes or effects made by subsequent legislation have been applied to the text of the legislation you are viewing by the editorial team. Please see ‘Frequently Asked Questions’ for details regarding the timescales for which new effects are identified and recorded on this site.

[F1 [F25.1. Secure messaging U.K.

[CSM_021] VU-cards data transfers integrity shall be protected through Secure Messaging in accordance with references (ISO/IEC 7816-4) and (ISO/IEC 7816-8).

[CSM_022] When data need to be protected during transfer, a cryptographic checksum data object shall be appended to the data objects sent within the command or the response. The cryptographic checksum shall be verified by the receiver.

[CSM_023] The cryptographic checksum of data sent within a command shall integrate the command header, and all data objects sent (= > CLA = ′0C′, and all data objects shall be encapsulated with tags in which b1 = 1).

[CSM_024] The response status-information bytes shall be protected by a cryptographic checksum when the response contains no data field.

[CSM_025] Cryptographic checksums shall be four bytes long.

The structure of commands and responses when using secure messaging is therefore the following:

  • The DOs used are a partial set of the Secure Messaging DOs described in ISO/IEC 7816-4:

    Tag Mnemonic Meaning
    ′81′ T PV Plain Value not BER-TLV coded data (to be protected by CC)
    ′97′ T LE Value of Le in the unsecured command (to be protected by CC)
    ′99′ T SW Status-Info (to be protected by CC)
    ′8E′ T CC Cryptographic Checksum
    ′87′ T PI CG Padding Indicator Byte || Cryptogram (Plain Value not coded in BER-TLV)
  • Given an unsecured command response pair:

    Command header Command body
    CLA INS P1 P2 (L c -field) (Data field) (L e -field)
    four bytes L bytes, denoted as B 1 to B L
    Response body Response trailer
    (Data field) SW1 SW2
    L r data bytes two bytes
  • The corresponding secured command response pair is:

    • Secured command:

      Command header (CH) Command body
      CLA INS P1 P2 (New L c field) (New Data field) (New L e field)
      ′OC′ Length of new data field T PV L PV PV T LE L LE L e T CC L CC CC ′00′
      ′81′ L c Data field ′97′ ′01′ L e ′8E′ ′04′ CC

      Data to be integrated in checksum = CH || PB || T PV || L PV || PV || T LE || L LE L e || PB

      [X1PB = padding bytes (80.. 00) in accordance with ISO-IEC 7816-4 and ISO 9797 method 2]

      DOs PV and LE are present only when there is some corresponding data in the unsecured command.

    • Secured response:

      1.

      Case where response data field is not empty and needs not to be protected for confidentiality:

      Response body Response trailer
      (New data field) new SW1 SW2
      T PV L PV PV T CC L CC CC
      ′81′ L r Data field ′8E′ ′04′ CC

      Data to be integrated in checksum = T PV || L PV || PV || PB

      2.

      Case where response data field is not empty and needs to be protected for confidentiality:

      Response body Response trailer
      (New data field) new SW1 SW2
      T PI CG L PI CG PI CG T CC L CC CC
      ′87′ PI || CG ′8E′ ′04′ CC

      Data to be carried by CG: non BER-TLV coded data and padding bytes.

      Data to be integrated in checksum = T PI CG || L PI CG || PI CG PB

      3.

      Case where response data field is empty:

      Response body Response trailer
      (New data field) new SW1 SW2
      T SW L SW SW T CC L CC CC
      ′99′ ′02′ New SW1 SW2 ′8E′ ′04′ CC

      Data to be integrated in checksum = T SW || L SW || SW || PB] ]

Back to top

Options/Help

Print Options

You have chosen to open the Whole Regulation

The Whole Regulation you have selected contains over 200 provisions and might take some time to download. You may also experience some issues with your browser, such as an alert box that a script is taking a long time to run.

Would you like to continue?

You have chosen to open Schedules only

The Schedules you have selected contains over 200 provisions and might take some time to download. You may also experience some issues with your browser, such as an alert box that a script is taking a long time to run.

Would you like to continue?

Close

Legislation is available in different versions:

Latest Available (revised):The latest available updated version of the legislation incorporating changes made by subsequent legislation and applied by our editorial team. Changes we have not yet applied to the text, can be found in the ‘Changes to Legislation’ area.

Original (As adopted by EU): The original version of the legislation as it stood when it was first adopted in the EU. No changes have been applied to the text.

Close

See additional information alongside the content

Geographical Extent: Indicates the geographical area that this provision applies to. For further information see ‘Frequently Asked Questions’.

Show Timeline of Changes: See how this legislation has or could change over time. Turning this feature on will show extra navigation options to go to these specific points in time. Return to the latest available version by using the controls above in the What Version box.

Close

Opening Options

Different options to open legislation in order to view more content on screen at once

Close

More Resources

Access essential accompanying documents and information for this legislation item from this tab. Dependent on the legislation item being viewed this may include:

  • the original print PDF of the as adopted version that was used for the EU Official Journal
  • lists of changes made by and/or affecting this legislation item
  • all formats of all associated documents
  • correction slips
  • links to related legislation and further information resources
Close

Timeline of Changes

This timeline shows the different versions taken from EUR-Lex before exit day and during the implementation period as well as any subsequent versions created after the implementation period as a result of changes made by UK legislation.

The dates for the EU versions are taken from the document dates on EUR-Lex and may not always coincide with when the changes came into force for the document.

For any versions created after the implementation period as a result of changes made by UK legislation the date will coincide with the earliest date on which the change (e.g an insertion, a repeal or a substitution) that was applied came into force. For further information see our guide to revised legislation on Understanding Legislation.

Close

More Resources

Use this menu to access essential accompanying documents and information for this legislation item. Dependent on the legislation item being viewed this may include:

  • the original print PDF of the as adopted version that was used for the print copy
  • correction slips

Click 'View More' or select 'More Resources' tab for additional information including:

  • lists of changes made by and/or affecting this legislation item
  • confers power and blanket amendment details
  • all formats of all associated documents
  • links to related legislation and further information resources