SE545318C2

Method and system for registering digital documents

Abstract

Method for registering and updating an electronically stored and versioned alpha digital document (A) in a digital document register by storing, for each version, not the document but a public ownership key; a digital document hash value; and a digital document signature. The invention is characterised by the steps a) providing a first document version, defined in a document description language to have a defined rendered graphic representation; b) registering said first version; c) providing a second document version by adding a reversibly added part to said first document version, said second version comprising a second set of metadata; and d) registering said second version, in that said second metadata is embedded in the second version without affecting said graphic representation, in that at least a part of the reversibly added part can be unambiguously generated based on the second metadata, and in that the registering in step d comprises storing a hash of the second metadata. The invention also relates to a system.

SE545318C2, drawing sheet 1
Sheet 1 of 22

Term

No projected expiry on record.

  1. Priority and filed
  2. Granted
  3. Today

32 claims: 19 independent, 13 dependent

  1. 1
    Method for registering and updating an electronically stored and versioned alpha digital document (A), said registration and updating of the alpha digital document (A) 5 being in a digital document register arranged to register a plurality of versions of versioned digital documents (A) by storing, for each version of such digital document (A) apart from an initial version of the digital document in question, not the document in question but a public ownership key corresponding to a private ownership key in an asymmetric crypio tographic key pair; a digital document hash value calculated based on the version of the digital document (A) in question; and a digital document signature of a hash of the version of the digital document (A) in question, calculated using a previous private ownership key in turn corresponding to a previous 15 public ownership key in an asymmetric cryptographic key pair, the previous public ownership key being stored in the digital document register in relation to a previous version of said digital document (A) immediately preceding the version of the digital document (A) in question, characterised in 20 that the method comprises the steps:a) providing a first version of said alpha digital document (A), the alpha digital document (A) being defined in a document description language to have a respective defined rendered graphic representation for each version of said alpha digital document (A);25 b) registering said first version in said digital document register;c) providing a second version of said alpha digital document (A) by adding, in said document description language, a reversibly added part to said first version of the alpha digital document (A), said reversibly added part being added in such a way so that it is possible to unambiguously produce the first version of the alpha digital 30 document (A) based only on said document description language and the contents 545 318 of the second version of the alpha digital document (A), said second version of said alpha digital document (A) comprising a second set of metadata;and d) registering said second version in said digital document register, that said second set of metadata is embedded as a part of said second version of the alpha 5 digital document (A) without the embedding affecting said graphic representation for the second version of the alpha digital document (A), that at least a part of the reversibly added part that affects the rendered graphic representation for the second version of the alpha digital document (A) can be unambiguously generated based on the second set of metadata, and io that the registering in step d comprises calculating and storing in the digital document register a hash of the second set of metadata.
  2. 4
    Method according to any one of the preceding claims, wherein the second set of metadata comprises a hash or signature of a part of the reversibly added part.
  3. 6
    Method according to any one of the preceding claims, wherein said first version of the alpha digital document (A) comprises a first set of metadata embedded as a part of 30 said first version of the alpha digital document (A) without the embedding affecting said rendered graphic representation for said first version of the alpha digital document (A). 545 318
  4. 10
    Method according to any one of the preceding claims, wherein the second set of 15 metadata comprises a hash of any first set of metadata and/or a hash of the first version of the alpha digital document (A).
  5. 11
    Method according to any one of the preceding claims, wherein said first and/or second metadata is provided as plaintext and added to the alpha digital document (A) 20 either as plaintext data or in a processed form, such as in an encrypted and/or compressed form.
  6. 12
    Method according to any one of the preceding claims, wherein the alpha digital document (A) comprises binary coded information.
  7. 13
    Method according to any one of the preceding claims, wherein said graphic representation is arranged to be unambiguously produced from said document description language using a document description language interpreter piece of software to achieve said graphic representation.
  8. 15
    Method according to any one of the preceding claims, wherein the method furthermore comprises the steps:5 e) restoring, based on the second version of the alpha digital document (A), the first version of the alpha digital document (A) by reversing the addition of said reversibly added part;f) calculating a hash of the first version of the alpha digital document (A) and a hash of the second version of the alpha digital document (A);and io g) verifying both of said hashes against the corresponding hashes stored in the digital document register for the first and second versions of the alpha digital document (A).
  9. 17
    Method according to any one of the preceding claims, wherein the method further 20 comprises storing in the digital document register a hash value of an initial version of the alpha digital document (A), which initial version may be said first version, and wherein step d further comprises storing in the digital document register a document version number of the second version of the alpha digital document (A). 25
  10. 18
    Method according to any one of the preceding claims, wherein step d further comprises storing in the digital document register also a unique transaction identifier.
  11. 19
    Method according to any one of the preceding claims, wherein step d further comprises storing in the digital document register also a public version key, which public 30 version key is a public key in an asymmetric cryptographic key pair also comprising a corresponding private version key, and in that the private version key is comprised in the second set of metadata. 545 318
  12. 20
    Method according to any one of the preceding claims, wherein the alpha digital document (A) is associated in the digital document register with all versions of the alpha digital document (A), and wherein the information stored for each version of the alpha 5 digital document (A) is retained in the digital document register when storing a further version of the alpha digital document (A).
  13. 23
    Method according to any one of the preceding claims, wherein the method further comprises a repeated step in which a digital register signature is calculated based upon the digital document register, and wherein the digital register signature is publicly published. 20
  14. 25
    Method according to any one of the preceding claims, wherein a new asymmetric 25 ownership key pair is provided and used for the second version of the alpha digital document (A).
  15. 27
    Method according to any one of the preceding claims, wherein the second version of the alpha digital document (A) defines a document cancellation, wherein no further document amendments are allowed after such a document cancellation. 5
  16. 29
    Method according to any one of the preceding claims, wherein the second set of metadata comprises information regarding the owning party identity;a time stamp;the io public ownership key;the document signature;and/or the document hash value.
  17. 30
    Method according to any one of the preceding claims, wherein the second set of metadata is formatted according to a predetermined plain text document formatting standard.
  18. 31
    Method according to any one of the preceding claims, wherein said reversible addition of the first version results in a corresponding change in the graphic representation of the alpha digital document (A), said change being a pure append at an end of the graphic representation as compared to a graphic representation of said first version of the 20 alpha digital document (A).
  19. 32
    System (100) for registering and updating an electronically stored and versioned alpha digital document (A), said system (100) comprising a digital document register and being arranged to perform said registration and updating of the alpha digital document (A) 25 in said digital document register, the digital document register being arranged to register a plurality of versions of versioned digital documents (A) by storing, for each version of such digital document (A) apart from an initial version of the digital document in question, not the document in question but a public ownership key corresponding to a private ownership key in an asymmetric cryp30 tographic key pair;a digital document hash value calculated based on the version of the digital document (A) in question;and 545 318 a digital document signature of a hash of the version of the digital document (A) in question, calculated using a previous private ownership key in turn corresponding to a previous public ownership key in an asymmetric cryptographic key pair, the previous public ownership key being stored in the digital document register in relation to a previous version of 5 said digital document (A) immediately preceding the version of the digital document (A) in question, characterised in that the system (100) is arranged to a) receive a first version of said alpha digital document (A), the alpha digital document io (A) being defined in a document description language to have a respective defined rendered graphic representation for each version of said alpha digital document (A);b) register said first version in said digital document register;c) receive or produce a second version of said alpha digital document (A), the second version of said alpha digital document (A) being defined by adding, in said document 15 description language, a reversibly added part to said first version of the alpha digital document (A), said reversibly added part being added in such a way so that it is possible to unambiguously produce the first version of the alpha digital document (A) based only on said document description language and the contents of the second version of the alpha digital document (A), said second version of said alpha digital 20 document (A) comprising a second set of metadata;and d) register said second version in said digital document register, that said second set of metadata is embedded as a part of said second version of the alpha digital document (A) without the embedding affecting said graphic representation for the second version of the alpha digital document (A), 25 that at least a part of the reversibly added part that affects the rendered graphic representation for the second version of the alpha digital document (A) can be unambiguously generated based on the second set of metadata, and that the registering in step d comprises calculating and storing in the digital document register a hash of the second set of metadata.
Independent claims19