RECOVERING A CRYPTOGRAMIC KEY
Patent Information
- Application Number
- DE502022001698
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-10-27
- Filing Date
- 2022-10-14
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2042-10-14
AI Technical Summary
Existing methods for securely managing and recovering cryptographic keys for encrypted digital documents face challenges such as forgery, data protection, and access issues, particularly when physical documents are lost or damaged, and scanned data can be easily altered or lost.
A method involving an issuer computer system that stores encrypted digital documents and cryptographic keys under anonymized file names, using a combination of personal attributes and one-way functions to ensure secure recovery and access, with encryption and decryption processes protected by asymmetric key pairs.
This method provides a secure and efficient way to recover and access encrypted digital documents, ensuring only authorized access through possession of the physical document and its associated anonymized file name and cryptographic key, protecting personal data from unauthorized access.
Description
[0001] The invention relates to a method for recovering a cryptographic key for decrypting an encrypted digital document, as well as to an issuer computer system and a system for recovering the cryptographic key.
[0002] Physical documents, such as certificates, comprise a document body, e.g. made of paper, on which they are issued, i.e. which is labeled with the document data. However, such documents can easily be forged, for example using modern image processing programs and color printers. The problem of a lack of security against forgery arises in particular when, in addition to an original document, further copies such as transcripts, duplicates and copies are required. Furthermore, in the case of documents with labeled document bodies, there is the difficulty that these or their data cannot be directly integrated into an electronic data processing system. If the document data or their labeling is simply scanned, for example, the problem of a lack of security against forgery arises again, as the scanned data can easily be altered.In addition, errors may occur during scanning.
[0003] When a digital document is issued, the problem of providing it securely arises. If cryptographic keys are used for security, access to the digital document depends on access to a corresponding cryptographic key. If the corresponding cryptographic key is lost or corrupted, the digital document can no longer be accessed.
[0004] US 2010 / 217987 A1 describes a document security management system for securely managing documents for users. The document management system comprises a document store that provides a means for storing data files representing the documents. A key store stores a public key of one or more encryption key pairs, each of the encryption key pairs being associated with one of the documents stored in the document store. Each document stored in the document store is encrypted with the public key of the encryption key pair associated with the document. A plurality of client terminals are operable to store the documents and retrieve them from the document store for processing by a user. Each user is in possession of a digital certificate comprising a certificate key pair.The key store contains the private key of the encryption key pair, which is encrypted with the public key of the certificate key pair assigned to the user. The client device is operable with the private key of the certificate key pair in the user's possession. The client device is used to decrypt the private key of the encryption key pair using the private key of the user's certificate key pair, retrieve the encrypted document from the document store, and decrypt the document using the decrypted private key of the encryption key pair.
[0005] GB 2 446 173 A describes a key management method for data backup. Data received by a data transmission device for backup is encrypted using an encryption key and stored on a removable data storage element along with an encrypted copy of the decryption key required to decrypt the data. The decryption key is encrypted using a public key generated by a trusted third party. When a user wishes to access the backed-up data, the encrypted decryption key is provided to the trusted third party for decryption. The trusted third party verifies the user, decrypts the encrypted decryption key using the corresponding private key of the public key, and provides the decryption key to the user.The decryption key is then used to decrypt the encrypted backed up data.
[0006] The invention is based on the object of creating an efficient and secure method for recovering a cryptographic key for decrypting an encrypted digital document.
[0007] The problem underlying the invention is solved by the features of the independent patent claims. Embodiments of the invention are specified in the dependent patent claims.
[0008] Embodiments include a method for recovering a first cryptographic key for decrypting an encrypted digital document by an issuer computer system of an issuer of the digital document.
[0009] The digital document, which is a digital copy of data from the physical document, is stored in encrypted form on a server under a first anonymized file name. Furthermore, a first copy of the first cryptographic key is stored on the server in encrypted form under a second anonymized file name. The encrypted digital document is decryptable using the first cryptographic key. The first copy of the first cryptographic key is encrypted with a second public cryptographic key of a second asymmetric key pair assigned to the issuer of the digital document.
[0010] The second anonymized file name is calculated using a combination of personal attributes of the owner of the digital document to which a one-way function is applied.
[0011] A second private cryptographic key of the issuer's second asymmetric key pair is stored in a protected memory area of a memory of the issuer's computer system.
[0012] The procedure includes: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the issuer computer system, Establishing a first connection over a network between the issuer computer system and the server, Sending a read request to read the encrypted first copy of the first cryptographic key from the issuer computer system to the server over the first connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted first copy of the first cryptographic key on the server, In response to sending the read request, Receiving the encrypted first copy of the first cryptographic key by the issuer computer system from the server over the first connection,Decrypting the encrypted first copy of the first cryptographic key by the issuer computer system using the second private cryptographic key.
[0013] Embodiments can have the advantage of providing a secure method for restoring a cryptographic key with which a digital document provided on a server can be decrypted. By providing the digital document on the server in encrypted form under an anonymized file name, it can be ensured that access to the data of the digital document is only possible with knowledge of the corresponding anonymized file name and the corresponding cryptographic key. The corresponding anonymized file name and the cryptographic key are provided, for example, in the form of a label on a document body of the physical document. However, if the corresponding physical document is lost, for example, an option for restoring access to the digital document orthe data provided by the digital document is required. The corresponding digital data of the digital document are digital copies of the data in the physical document. Thus, by restoring access to the digital document, access to the data in the physical document can be provided. Without the anonymized file name and the cryptographic key for decrypting the digital document, access to the data in the digital document is not possible.
[0014] The first and second anonymized file names can, for example, be different file names. For example, the first and second anonymized file names are identical file names. In this case, for example, the data of the physical document is stored on the server together with the first copy of the first cryptographic key. The first and / or second anonymized file names are, for example, a derivable file name, in particular a file name derivable using a one-way function. The first and / or second anonymized file names are, for example, a non-derivable file name, such as a random number.
[0015] If an anonymized file name includes a combination of personal attributes of the digital document owner to which a one-way function is applied, an issuing computer system is enabled to reconstruct the anonymized file name if the personal attributes of the digital document owner are available to it. For example, the issuing computer system receives the corresponding personal attributes from the digital document owner. For example, the issuing computer system provides the corresponding personal attributes from the digital document owner as part of a recovery request and / or a loss report regarding a loss of the physical document.If necessary, the issuer of the physical document can supplement the combination of personal attributes with an issuer secret and other data necessary for calculating the anonymized file name. The corresponding additional data can be, for example, a document ID value, an issuer ID, and / or a reference to a storage period in which the physical document and / or the digital document was issued. The issuer's computer system establishes a connection over the network to the server on which the digital document is stored. The connection can be, for example, an encrypted connection, in particular an end-to-end encrypted connection.The issuing computer system can use the corresponding connection to send a read request to read an encrypted copy of the cryptographic key stored on the server along with the digital document. This allows the server to provide the second piece of information required to access the digital document data in the form of a copy of the cryptographic key. The corresponding copy of the cryptographic key is encrypted with a public key of the issuing computer system. This ensures that only the issuing computer system, which is in possession of the private cryptographic key for decrypting the copy of the cryptographic key, is able to use the corresponding cryptographic key. Only the issuing computer system can decrypt the encrypted cryptographic key and thus use it.To access the copy of the cryptographic key, the second anonymized file name determined by the issuing computer system is also required. Using the determined second anonymized file name, the issuing computer system can generate a read request for the copy of the cryptographic key, which the server can use to identify the copy of the cryptographic key to be read. In response to a corresponding read request, the issuing computer system receives the encrypted copy of the cryptographic key, which the issuing computer system decrypts using its private cryptographic key. This ensures that only the issuing computer system is able to obtain the decrypted copy of the photographic key.
[0016] Embodiments can have the advantage that a user of a physical document can be provided with a digital copy of the data of the corresponding physical document, i.e. a digital document, in addition to a physical document in a secure manner. The digital copy is, for example, a signed document, such as a signed PDF document. By encrypting the digital document, its data, in particular personal data, can be protected against unauthorized access. Since the digital document is also stored under an anonymized file name, the file name cannot be used to determine its content, in particular not any personal data contained in the digital document. In addition, the digital copy is provided in a straightforward manner for which a user, for example, only requires a minimal amount of hardware and software.For example, to provide the digital document, the physical document and the user's computer system can be connected to access the server via a network, for example, using HTTPS. For example, the digital document can be stored in a publicly accessible portal for retrieval by the user of the physical document. This allows, for example, any owner of a physical document, such as a paper certificate, to convert it into a digital document or to access a digital copy of the corresponding physical document in the form of a digital document without having to install special software.
[0017] Since decrypting a digital document requires a cryptographic key, which is provided in the form of an inscription on a corresponding physical document, decrypting a digital document requires possession of the physical document. This ensures that possession of the physical document is a prerequisite for providing a digital document. At the same time, it can be ensured that the data in the digital document can only be decrypted and thus read by the owner of the physical document. This effectively protects personal data of the owner of the digital document, who could be the user of the physical document, for example, from unauthorized access. The digital document is provided in encrypted form on a server.Encryption protects the digital document data on the server from unauthorized access. Furthermore, access to the digital document requires knowledge of the file name under which the digital document is stored on the server. This file name is an anonymized file name. An anonymized file name is one that does not contain any plaintext document data. In particular, the file name does not contain any personal data of the owner of the digital document in plaintext. The anonymized file name can, for example, be a random value or data from the digital document to which a one-way function has been applied.
[0018] Thus, two security mechanisms are implemented to secure access to the digital document: First, access to the digital document requires knowledge of the anonymized file name under which the corresponding digital document is stored on the server. This file name is necessary to identify the digital document. Once the corresponding digital document has been identified, knowledge of the cryptographic key is also required, which can be used to decrypt the encrypted data of the digital document. Access to the digital document is only possible once the anonymized file name is known in combination with the cryptographic key.
[0019] Embodiments thus allow a physical document to be issued and the recipient of the corresponding physical document to be immediately granted secure access to a digital copy of the data of a physical document, i.e., a digital document, using a user computer system. This data may, for example, be data from the same or another physical document.
[0020] The user computer system receives the information necessary to access the digital document, which the physical document provides. This information includes, for example, the anonymized file name of the digital document or the physical document, as well as the cryptographic key for decrypting the digital document. The user computer system establishes a connection to the server via a network. To address the server, the user computer system can, for example, use address data, which is also provided by the physical document, for example in the form of a label. Encryption can, for example, be implemented during the establishment of the connection between the user computer system and the server.For this purpose, a session key, such as a symmetric cryptographic session key, can be negotiated, which encrypts the communication between the user computer system and the server. In particular, end-to-end encryption can be implemented between the user computer system and the server.
[0021] The user computer system sends a read request to the server via the connection. To identify the digital document, the read request includes the anonymized file name of the digital document. Using the anonymized file name of the digital document, the server is able to identify the desired digital document and make it available for reading. The user computer system proves read authorization, for example, by knowing the anonymized file name. The identified digital document is sent back to the user document via the network by the server in response to the read request. The user computer system receives the digital document and makes it available in decrypted form. The digital document is decrypted using the cryptographic key provided by the physical document.The encrypted digital document can be decrypted either on the user's computer system, which has received the encrypted digital document and the cryptographic key required for decryption, or on the server. For decryption on the server, the user's computer system temporarily provides the server with the cryptographic key required for decryption. For this purpose, the network connection between the user's computer system and the server, for example, involves encrypting the network connection. In particular, end-to-end encryption can ensure that both the cryptographic key used for decryption and the decrypted digital document are protected from unauthorized access during transmission between the user's computer system and the server.
[0022] Embodiments may further have the advantage that the anonymized file name, as well as the cryptographic key, is provided in the form of a label on the document body of the physical document. In other words, the corresponding information is provided in physical form, in particular not in electronic or digital form. For use by the user computer system, the corresponding information must be transferred from the physical to the digital world. In other words, there is a breach of the transmission medium. This breach of the transmission medium enables additional security for the corresponding information, as this cannot be easily extracted from the physical documents. Thus, the physical document must be present, and the label must be clearly recognizable. If the physical document is protected from unauthorized access, the corresponding information is secure.Unlike electronic storage of the relevant information, in the case of a physical document, it is not possible to gain unnoticed and unauthorized access to the relevant information externally via a communication connection, whether wired or wireless. The user computer system can access the data of the physical document, for example, via user input or by detection using an optoelectronic sensor of the user computer system.
[0023] Depending on the embodiment, different access procedures can be implemented, for example. A recipient of the physical document, such as a student in the case of a university certificate or a pupil in the case of a school certificate, can download the digital document using the anonymized file name and the associated cryptographic key. To do so, the recipient types the corresponding data, for example, or scans it using an optoelectronic sensor. To facilitate typing, the anonymized file name and the cryptographic key are each eight characters long, so 16 characters must be typed. The associated interface for entering the anonymized file name and the cryptographic key is open to anyone, for example, via the internet. For example, this interface must not be compromised by knowledge of the student data.For example, additional restrictions can be implemented to protect against automated queries.
[0024] An issuer of the physical document, such as a university in the case of a higher education certificate or a school in the case of a school certificate, may, for example, be able to gain access to the digital document even without presenting the physical document. For this purpose, the digital document is stored, for example, in a data container whose name can be derived from student data. The issuer can, for example, derive the name of the data container using the student data, e.g. by applying a hash function to it. The server checks, for example, whether the data container found contains a digital document issued by the requesting issuer, i.e., for example, the corresponding university or school. If this is the case, the server sends the found digital document, for example, to the requesting issuer.For example, each issuer only sees their own encrypted digital documents. For example, while the server contains all the cryptographic keys for decrypting the digital documents in encrypted form, it does not know the cryptographic keys for decrypting them.
[0025] Labeling of the document body is an optically detectable change to the document body in which information is encoded. The corresponding information can be encoded, for example, in alphanumeric form and / or in geometric form. For example, it can be encoded in a one-dimensional or two-dimensional geometric form. The labeling can, for example, be printed on the document body, applied to it in the form of elevations and / or incorporated into it. The corresponding information can be incorporated, for example, by embossing, cutting and / or milling. For example, a laser process can be used for cutting. The labels or recesses in the document body can, for example, be filled and / or sealed in these recesses.
[0026] Documents such as certificates are usually issued in paper form. A digital copy of such a document, for example with a digital signature to ensure the authenticity of the data contained in the digital document, can be created in the form of a PDF. However, files in the format of a page description language, such as a PDF file, do not contain the labeling of a document, such as printed document data, in machine-readable form. To ensure machine-readability of the digital document, i.e. automated capture and processing of the data without additional conversion, the digital document can additionally contain the data of the physical document in a machine-readable format, such as a markup language. The data of the physical document is, for example, incorporated into the digital document in machine-readable form as an attachment, for example as an attachment according to the PDF / A-3 standard.
[0027] For example, any holder of a physical document, such as a paper certificate, can be enabled to convert it into a digital document or to gain access to a digital copy of the corresponding physical document in the form of a digital document without having to install special software. This enables the holder of a physical document to make a smooth transition from using the physical document to using a digital document. In particular, personal data contained in the digital document can be protected from unauthorized access. Secure transmission of the digital document can also be guaranteed by using an encrypted channel or an encrypted communication connection. Personal data is, in particular, data orAttributes that enable the identification of a person or can be assigned to a person to whom the personal sensor data relates. Personal data includes, in particular, first names, last names, dates of birth, places of birth, addresses, telephone numbers, email addresses, physical attributes, grades, ID numbers, passport numbers, etc. This ensures, for example, effective and efficient data protection for digital documents.
[0028] For example, no prior legal recognition of the digital document, such as a certificate, is necessary, since the underlying physical document, such as a paper certificate, continues to be issued.
[0029] For a given physical document, a digital copy is created, such as a PDF document, possibly enhanced with a dataset containing the data in a machine-readable format. Additionally, an anonymized file name and a cryptographic key are generated, e.g., in the form of two random values such as two random numbers. The anonymized file name and a cryptographic key are applied to the physical document as a label. The digital document is then digitally signed, for example. The signed digital document is encrypted using the cryptographic key, e.g., using a symmetric key method such as AES-256. The encrypted digital document can be stored under the anonymized file name on a publicly accessible portal.The owner of the physical document can download the digital document from the portal using the anonymized file name and the cryptographic key. For example, the portal can be accessed using a browser on a user computer system. The browser provides, for example, a portal website with a GUI that includes input fields for entering the anonymized file name and the cryptographic key. The digital document decrypted on the portal using the cryptographic key is transmitted, for example, via an encrypted connection, such as HTTPS.
[0030] To shorten the length of the anonymized file name, the digital document is stored on the portal server, for example, in a directory containing the name of the document's issuer—for example, a school in the case of a certificate—and a subdirectory containing the issue period in which the physical document was issued, such as a graduation year. To retrieve the digital document, the user must first select the issuer and the issue period, then enter the anonymized file name and the cryptographic key.
[0031] To avoid transmitting the unencrypted digital document over a public network, such as the Internet, the digital document can be decrypted locally on the user's computer system. The document selected on the server using the anonymized file name is then transmitted to the user's computer system in encrypted form. For this purpose, the user only needs to provide the server with the anonymized file name.
[0032] A "document" is understood to mean, in particular, a certificate, a certificate, or an identification, valuable, or security document, in particular a sovereign document, in particular a paper-based and / or plastic-based document, such as an electronic identification document, in particular a passport, identity card, visa, driver's license, vehicle registration document, vehicle registration document, health insurance card, or a company ID card, or another ID document, a chip card, a means of payment, in particular a banknote, bank card or credit card, a waybill, or other proof of authorization. In particular, the document can be a Machine-Readable Travel Document, as standardized, for example, by the International Civil Aviation Organization (ICAO) and / or the BSI.
[0033] A "digital" document is understood to be a data construct for electronic data processing that contains the same data as a previously defined document, but does not have a permanently assigned physical document body. A digital document, also referred to as an electronic document, can thus include, for example, a text, a table of numbers, an image, or a sequence or combination of texts, tables, or images that have been created or converted into a file by digitization, i.e., conversion into binary code. In particular, the validity of such a document is independent of the existence of a permanently assigned document body. A "digital" document can be an electronic file of any file format, in particular a non-executable text or spreadsheet file.Furthermore, a digital document can also be, for example, a video file, a song file, program code, an executable file, an archive or something similar.
[0034] A certificate is a statement in text or written form that establishes a specific fact or situation. It can also identify the issuer of the certificate. A certificate can be, for example, a school or university certificate, a certificate of successful participation in continuing education or courses, a lecture certificate, an internship certificate, or a job reference.
[0035] A certificate could, for example, be an IHK examination certificate, which is a document awarded to a successful graduate after passing the final examination before the Chamber of Industry and Commerce (IHK) in a recognized apprenticeship or advanced training course. An IHK certificate includes, for example, information about the learned profession, i.e. a job title, and the passed final examination. The certificate can have a uniform layout and include the job title as well as the field of study or focus. The overall result, including grade and points, is shown above the individual examination results. At the request of the test taker, a vocational school grade can be shown below the individual examination results.
[0036] In addition, a document can also be, for example, a skilled worker certificate, journeyman's certificate, master's certificate, bachelor's certificate, master's certificate, magister's certificate, diploma certificate, doctorate certificate or license to practice.
[0037] A "program" or "program instructions" is understood here, without limitation, to mean any type of computer program that contains machine-readable instructions for controlling a functionality of the computer.
[0038] An "interface" is defined here as an interface through which data can be received and sent. The communication interface can be configured as contact-based or contactless. The communication interface can be an internal interface or an external interface, which is connected to an associated device, for example, via a cable or wirelessly.
[0039] Communication can, for example, take place via a network. A "network" is understood here to mean any transmission medium with a connection for communication, in particular a local connection or a local network, in particular a local area network (LAN), a private network, in particular an intranet, and a digital private network (Virtual Private Network - VPN). For example, a computer system can have a standard wireless interface for connecting to a WLAN. Furthermore, it can be a public network, such as the Internet. Depending on the implementation, this connection can also be established via a mobile network.
[0040] The term "memory" refers here to both volatile and non-volatile electronic memories or digital storage media.
[0041] "Non-volatile memory" refers to electronic memory for the permanent storage of data. Non-volatile memory can be configured as non-modifiable memory, also known as read-only memory (ROM), or as modifiable memory, also known as non-volatile memory (NVM). In particular, this can be an EEPROM, such as a Flash EEPROM, also known as Flash. Non-volatile memory is characterized by the fact that the data stored on it is retained even after the power supply is turned off.
[0042] "Volatile electronic memory" refers to a memory for temporarily storing data, characterized by the fact that all data is lost after the power supply is turned off. In particular, this can be a volatile random-access memory (RAM) or a volatile processor memory.
[0043] A "protected memory area" is understood here to be an area of an electronic memory to which access, i.e., read or write access, is only possible via a processor of the security module. According to embodiments, access from the processor coupled to the memory is only possible if a necessary condition is met. This can be, for example, a cryptographic condition, in particular, successful authentication and / or successful authorization verification.
[0044] A "processor" is understood here and below to mean a logic circuit used to execute program instructions. The logic circuit can be implemented on one or more discrete components, in particular on a chip. In particular, a "processor" is understood to mean a microprocessor or a microprocessor system comprising multiple processor cores and / or multiple microprocessors.
[0045] A public key infrastructure (PKI) is a system for issuing, distributing, and verifying digital certificates. In an asymmetric cryptosystem, a digital certificate serves to confirm the authenticity of a public key and its permissible scope of use and validity. The digital certificate itself is protected by a digital signature, the authenticity of which can be verified using the public key of the certificate issuer. A digital certificate is used to verify the authenticity of the issuer key. In this way, a chain of digital certificates can be established, each of which confirms the authenticity of the public key with which the previous certificate can be verified. Such a chain of certificates forms a so-called validation path or certification path.PKI participants must be able to rely on the authenticity of the last certificate, the so-called root certificate, and the key certified by this certificate without the need for any additional certificates. The root certificate is managed by a so-called root certification authority, whose assumed authenticity underlies the authenticity of all PKI certificates.
[0046] A "certificate" here refers to a digital certificate, also known as a public-key certificate. Such certificates, based on asymmetric key pairs, create a so-called public-key infrastructure (PKI). Such a certificate is structured data used to assign a public key of an asymmetric cryptosystem to an identity, such as a person or device. A certificate can, for example, contain a public key and be signed. For example, the certificate can conform to the X.509 standard or another standard.
[0047] Digital certificates are a proven means of proving authorization when securing electronic communication using asymmetric cryptographic methods. Certificates are structured data that document the authenticity and / or other properties / authorizations of the owner of a public key (signature verification key) and are confirmed by an independent, trustworthy authority (certification service provider / CSP), generally the certification authority that issued the certificate. Certificates are generally made available to a wide audience to enable them to verify electronic signatures for authenticity and validity.
[0048] A certificate can be associated with an electronic signature if the private key associated with the public key was used to generate the electronic signature to be verified. By making a certificate associated with a public key available to the public, a CDA enables users of asymmetric cryptosystems to associate the public key with an identity, such as a person, an organization, an energy system, or a computer system.
[0049] Asymmetric key pairs are used in a variety of cryptosystems and also play an important role in signing electronic documents. An asymmetric key pair consists of a public key, which is used to encrypt and / or decrypt data and may be shared with third parties, and a private key, which is used to encrypt and / or decrypt data and must generally be kept secret. The public key allows anyone to encrypt data for the owner of the private key, verify digital signatures on their documents, or authenticate them. A private key allows its owner to decrypt data encrypted with the public key or to create digital signatures for electronic documents. A signature created with a private key can be verified with the corresponding public key.
[0050] The creation of a digital signature, hereinafter referred to simply as a "signature," is a cryptographic process in which an additional data value, referred to as a "signature," is calculated for any data, for example, an electronic document. The signature can, for example, be an encrypted hash value of the electronic document, in particular a hash value encrypted with a private key of a cryptographic key pair associated with a certificate. The special feature of such a signature is that its authorship and affiliation with a specific person or entity can be verified by any third party.
[0051] A digital signature is also understood here as a digital seal that is not assigned to a natural person, but to a legal entity. A digital seal therefore serves not as a declaration of intent by an individual, but as proof of origin for an institution. It can thus ensure the origin and integrity of digital documents and prove that they originate from a specific legal entity.
[0052] An "encrypted end-to-end connection" or an "encrypted end-to-end transmission channel" is understood here as a connection between a sender and a receiver with end-to-end encryption, in which the data to be transmitted is encrypted by the sender and only decrypted by the receiver. The encryption of transmitted data thus occurs across all transmission stations, so that intermediate stations cannot gain knowledge of the content of the transmitted data due to the encryption. The connection is cryptographically secured by encryption to prevent spying and / or manipulation of the transmission. A so-called secure messaging procedure can be used for this purpose.For example, end-to-end encryption is based on two symmetric cryptographic keys, with a first symmetric key being used to encrypt messages and a second symmetric key being used to authenticate the sender of the message.
[0053] According to embodiments, the digital document comprises two digital copies of the data of the physical document, i.e., a first data set with a first digital copy of the data of the physical document and a second data set with a second digital copy of the data of the physical document. The first data set is, for example, a data set with the data of the physical document in a page description language format. The second data set is, for example, a data set with the data of the physical document in a machine-readable format.
[0054] According to embodiments, the machine-readable format is a markup language, such as Extensible Markup Language (XML), and / or an exchange format, such as JavaScript Object Notation (JSON), Open Badges, and / or Verifiable Credentials.
[0055] Extensible Markup Language (XML) is a markup language for representing data, especially hierarchically structured data, in the form of a machine-readable text file. The data representation according to XML is also human-readable. JavaScript Object Notation (JSON) is an exchange format for transferring and storing data, especially structured data. JSON is in the form of a machine-readable text file that is also human-readable. A JSON document can, for example, be valid JavaScript, which can be interpreted by a JavaScript interpreter using eval(). Open Badges are learning badges in the form of digital certificates from the Mozilla Foundation, and Verifible Credentials are verifiable credentials standardized by the W3C in "Verifiable Credentials Data Model 1.0 - Expressing verifiable information on the Web" dated November 19, 2019.
[0056] The first dataset with document data, for example, is a statement of learning outcomes from a certificate, particularly a higher education certificate. For example, the information can be based on the CEN standards EN15981:2011 EuroLMAI (European Learner Mobility Achievement Information) and / or EN15982:2011 MLO (Metadata for Learning Opportunities). EuroLMAI defines a model for the documentation and exchange of learner achievement information between learning management information systems, as well as for the merging of information from third-party providers. The model specifically considers diplomas, diploma supplements, and transcripts of higher education records. MLO defines an abstract model for representing learning opportunities.This model describes three information sources through which metadata can be stored to facilitate the publication of learning offerings: the learning offering provider, the abstract description of a learning offering, and a concrete example of that learning offering. For example, the information corresponds to the Elmo format, as described in the "EMREX Technical Description and Implementation Guide - v1.1" (https: / / emrex.eu / wpcontent / uploads / 2020 / 01 / Technical-Guide-to-EMREX.pdf), January 1, 2020.
[0057] Depending on the embodiment, the page description language is one of the following languages: Portable Document Format (PDF), PostScript (PS), Device Independent File Format (DVI).
[0058] A page description language describes the structure of a page as it should appear in a specific output program or device, such as a printer. The Portable Document Format is a vector-based page description language that allows free scalability of the display. A PDF file describes the layout created with a creation application in a proportional form that is independent of the printer and presets. A PDF file can precisely reproduce a document, including all colors, raster and vector graphics, and fonts. PostScript files allow graphics and printed pages to be output on various output devices in any size and resolution without loss of quality. Graphic elements and fonts are described as scalable vector graphics, and raster graphics can also be embedded. A DVI file saves text supplemented with typesetting information.This typesetting information includes, for example, fonts, character and line spacing, character positions, etc.
[0059] According to embodiments, the physical document comprises a first document body labeled with the data of the physical document.
[0060] According to embodiments, the data of the physical document comprises the first anonymized file name under which the digital document is stored in encrypted form on a server and the first cryptographic key for decrypting the encrypted digital document.
[0061] Embodiments may have the advantage that the physical document provides all the data necessary to access the digital document. This data includes, on the one hand, the anonymized file name for identifying the digital document and, on the other hand, the cryptographic key for decrypting the encrypted digital document, which allows access to the content of the digital document.
[0062] According to embodiments, the first cryptographic key is restored, for example, upon a loss of the physical document. According to embodiments, the first cryptographic key is restored upon receipt of a loss notification about a loss of the physical document by the issuer computer system from a user computer system. In the event of a loss of the physical document, for example, a user no longer has access to the digital document because they lack the necessary data. Embodiments can have the advantage that, in the event of such a loss of the physical document, access to the digital document can be enabled by the issuer computer system, which is capable of restoring the cryptographic key for decrypting the encrypted digital document.To initiate such a recovery, for example, a corresponding loss notification is sent from the user computer system to the issuer computer system. The issuer computer system can recover the corresponding cryptographic key for decrypting the encrypted digital document and either use it itself to decrypt the encrypted digital document or provide it to the user computer system for decrypting the encrypted digital document.
[0063] According to embodiments, the first connection is an encrypted communication connection.
[0064] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0065] According to embodiments, the issuing computer system sends the decrypted first copy of the first cryptographic key to the user computer system via a second connection. The second connection is an encrypted communication connection.
[0066] Embodiments may have the advantage that the issuer computer system can securely provide the copy of the cryptographic key to the user computer system, enabling the user computer system to decrypt the digital document. In addition to the decrypted copy of the cryptographic key, the issuer computer system can send the anonymized file name to the user computer system. Thus, even if the physical document is lost, the user computer system can be enabled to access the digital document stored in encrypted form on the server. Alternatively, the user computer system can calculate the anonymized file name itself using the personal attributes of the owner of the digital document, if it is in possession of the personal attributes.This is the case, for example, if the user is the owner of the digital document and is aware of the relevant personal data.
[0067] Embodiments may further have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0068] According to embodiments, the first cryptographic key is restored upon a restoration request from the owner of the digital document. For example, the restoration occurs upon receipt of a restoration request from a computer system of the owner of the digital document. For example, the user computer system is the computer system of the owner of the digital document.
[0069] According to embodiments, the transmitted read request further requests a reading of the encrypted digital document. The encrypted digital document is received by the issuer computer system along with the encrypted first copy of the first cryptographic key.
[0070] Embodiments may have the advantage that the issuing computer system can receive the encrypted digital document along with the copy of the cryptographic key. Thus, the issuing computer system receives direct access to the encrypted digital document, which it can decrypt using the cryptographic key.
[0071] According to embodiments, the encrypted digital document is sent to the user computer system together with the decrypted first copy of the first cryptographic key.
[0072] Embodiments may have the advantage that the issuing computer system can make the digital document available to the user computer system. Using the copy of the cryptographic key, the computer system can decrypt the encrypted digital document received from the issuing computer system and thus gain access to the data of the digital document.
[0073] According to embodiments, the encrypted digital document is decrypted by the issuer computer system using the decrypted first copy of the first cryptographic key.
[0074] Embodiments may have the advantage that the issuing computer system itself can decrypt the encrypted digital document and thus gain access to the data of the digital document.
[0075] According to embodiments, the method further comprises creating a physical duplicate of the digital document, which includes a document body. Creating the physical duplicate includes labeling the document body with data of the physical duplicate, which is provided using the digital data copy provided by the decrypted digital document.
[0076] For example, if the digital data of the digital document is a digital copy of data from the first physical document, the digital data copy provided by the decrypted digital document is also a digital copy of data from the first physical document.
[0077] For example, if the digital data of the digital document is a digital copy of data of the second physical document, the digital data copy provided by the decrypted digital document is also a digital copy of data of the second physical document.
[0078] Embodiments can have the advantage that a duplicate copy of the physical document can be created. The data of the digital document, which is a digital copy of the data of the physical document, can be used for this duplicate copy. Thus, all data of the physical document is present in the digital document. This data can be incorporated in the form of a label on or into a document body of a physical duplicate copy of the physical document. The corresponding duplicate copy can serve as a replacement for the physical document, for example, in the event of loss.
[0079] For example, only a physical duplicate is created, which, with the first anonymized file name and the first cryptographic key, allows access to the original digital document. Alternatively, a digital duplicate can be created in addition to the physical duplicate. In this case, even when using the digital data, it becomes clear that a duplicate was used in the physical domain to provide the corresponding digital data.
[0080] According to embodiments, the physical duplicate further comprises, in addition to the data of the digital data copy, a third anonymized file name and a third cryptographic key. According to embodiments, the document body of the physical duplicate is further labeled with the third anonymized file name and the third cryptographic key in addition to the data of the digital data copy.
[0081] According to embodiments, the method further comprises creating a third physical document comprising a document body. Creating the third physical document comprises labeling the document body of the third physical document with data comprising the third anonymized file name and the third cryptographic key.
[0082] According to embodiments, the method further comprises: Creating a digital duplicate by the issuer computer system, wherein the digital duplicate is a digital copy of the data of the physical duplicate, Encrypting the digital duplicate by the issuer computer system, wherein the encrypted digital duplicate is decryptable using the third cryptographic key, Establishing a third connection via the network between the issuer computer system and the server, Sending a storage request with the encrypted digital duplicate for storing the encrypted digital duplicate on the server from the issuer computer system via the third connection to the server, wherein the storage request includes the third anonymized file name for use by the server when storing the encrypted digital duplicate.
[0083] Embodiments may have the advantage that a digital duplicate can be provided on the server. For example, the data of the physical duplicate includes the data of the physical document, as well as a duplicate endorsement and / or signatures that confirm the authenticity of the duplicate. The corresponding authenticity can be confirmed or certified by the issuing computer system or an issuer using the issuing computer system, since the data of the duplicate is based on the digital copy of the data of the physical document.
[0084] For independent storage of the digital duplicate on the server, the data of the physical duplicate may further include an anonymized file name to identify the digital duplicate and a cryptographic key to decrypt the encrypted digital duplicate. If the anonymized file name of the duplicate is an anonymized file name calculated using a combination of personal attributes of the owner of the digital duplicate, the corresponding combination may be supplemented with a duplicate ID to ensure that the anonymized file name of the duplicate is not identical to the anonymized file name of the document. The issuing computer system may encrypt the digital duplicate.To do so, the issuing computer system can either use the cryptographic key in the duplicate if it is a symmetric cryptographic key, or not use a private cryptographic key if the cryptographic key of the duplicate is a public cryptographic key. For example, the issuing computer system generates the corresponding asymmetric key pair for the duplicate, which includes the private and public cryptographic keys of the duplicate. Furthermore, the issuing computer system establishes a connection via the network to the server on which the digital copy of the duplicate is to be stored. The corresponding connection can, for example, be an encrypted communication connection, in particular an end-to-end encrypted communication connection.A save request for the encrypted digital duplicate is sent to the server via the corresponding connection. This request includes the anonymized file name of the duplicate, under which the digital duplicate is to be saved on the server.
[0085] This allows a digital duplicate to be created that plays the same role for the physical duplicate as the digital document plays for the physical document. If a user now has access to the physical duplicate, they can access the encrypted digital duplicate stored on the server using the anonymized file name of the duplicate in combination with the duplicate's cryptographic key. This access is, for example, analogous to accessing the digital document using the physical document.
[0086] Depending on the embodiment, the digital duplicate is created, for example, in the event of a loss of the physical document.
[0087] According to embodiments, the third connection is an encrypted communication connection.
[0088] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0089] For example, the first anonymized file name is calculated using a combination of personal attributes of the owner of the digital document. A one-way function is applied to the combination.
[0090] Embodiments may have the advantage that the anonymized file name can be calculated using the personal attributes of the owner of the digital document. On the other hand, due to the use of the one-way function, the personal attributes can no longer be derived from the anonymized file name. For example, a hash function is used as a one-way function.
[0091] According to embodiments, the personal attributes include: a first name, a last name, a date of birth and / or a place of birth of the owner of the digital document.
[0092] According to embodiments, the combination of personal attributes of the owner of the digital document is further supplemented by a document ID value of the digital document before applying the one-way function.
[0093] Embodiments may have the advantage of using a document ID value, such as a document count, to ensure that different documents of the same document owner have different anonymized file names.
[0094] According to embodiments, the document ID value is a counter value that counts the number of physical documents issued to the same holder. For example, the number of issued physical documents is counted per predefined issuance period, such as per year, school year, semester, or trimester. For this purpose, a sequential number starting with 1 is generated for each document.
[0095] According to embodiments, the combination of attributes of the owner of the digital document is further supplemented by a secret of the issuer before the application of the one-way function.
[0096] Thus, the secret is, for example, an issuer-specific secret. According to embodiments, the secret is, for example, a random value, such as a random number. According to embodiments, the secret is a shared secret that is used to calculate a plurality of anonymized file names of a plurality of documents from the issuer. According to embodiments, the secret is a document-specific secret. According to embodiments, the secret is a document-type-specific secret. According to embodiments, the secret is an issuance period-specific secret. The issuance period within which the physical document was issued is, for example, an issuance year, an issuance school year, an issuance semester, and / or an issuance trimester.
[0097] Embodiments can have the advantage that the anonymized file name can only be calculated by the issuer who is in possession of the corresponding secret. A user who has the physical document can derive the anonymized file name from the label on the physical document. This physical document is, for example, a document that only provides information for downloading the digital document, such as the anonymized file name under which the digital document is stored in encrypted form on a server, and the cryptographic key for decrypting the encrypted digital document. In this case, the digital document is, for example, a digital copy of data from another physical document. For example, the physical document also includes data from the digital document.For example, the digital document is a digital copy of the data from the corresponding physical document. If the user does not have the physical document, they are unable to determine the anonymized file name. This applies, for example, even if the user, as the owner of the digital document, is in possession of the owner's personal data, i.e., of themselves, or has knowledge of it. Even if they know, for example, a document ID value of the corresponding digital document, they are not able to calculate the anonymized file name. They are only able to use the anonymized file name if they are in possession of the physical document.
[0098] In contrast, the issuer of the document, based on their knowledge of the corresponding secret, is able to calculate the anonymized file name if the personal data of the owner of the digital document and, if applicable, a document ID value are available. In particular, the issuer is able to restore the anonymized file name, for example, if the physical document is lost.
[0099] According to embodiments, the first cryptographic key is a symmetric cryptographic key with which the digital document is encrypted.
[0100] Embodiments may have the advantage that the same cryptographic key can be used to encrypt and decrypt the digital document. Thus, keys with which the digital document is encrypted must be generated once. For example, the corresponding symmetric cryptographic key can be generated when the physical document is issued. The physical document is labeled with this symmetric cryptographic key. If the data of the physical document is digitized, it also includes the symmetric cryptographic key. When encrypting the digital document, the cryptographic key provided by the digital document itself can thus be used. No additional cryptographic keys are necessary.The symmetric cryptographic key used for encryption can then be deleted again by the encrypted executing computer system, for example an issuing computer system.
[0101] As a symmetric encryption method using the symmetric key, an AES method ("Advanced Encryption Standard"), such as AES-256, can be used.
[0102] According to embodiments, the first cryptographic key is a first private cryptographic key of a first asymmetric key pair. The digital document is encrypted with a first public cryptographic key of the first asymmetric key pair.
[0103] Embodiments may have the advantage that the private cryptographic key corresponding to the public cryptographic key provided by the physical document is required for encryption of the digital document. Thus, only the owner of the corresponding private cryptographic key, for example, an issuer computer system of an issuer of the physical document, is able to encrypt the digital document. This makes it impossible for an encrypted digital document to be encrypted by anyone other than the issuer of the physical document. Thus, correct encryption, i.e., encryption that can be decrypted with the public key of the physical document, provides proof of origin for the digital document. This constitutes an additional security measure.
[0104] According to embodiments, a second copy of the first cryptographic key is further stored under the second anonymized file name on the server. The second copy of the first cryptographic key is stored encrypted with a fourth public cryptographic key of a fourth asymmetric key pair assigned to a management instance. The method further comprises restoring the first cryptographic key by a management computer system of the management instance. A fourth private cryptographic key of the fourth asymmetric key pair of the management instance is stored in a protected storage area of a memory of the management computer system.
[0105] Restoration includes: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the management computer system, Establishing a fourth connection over the network between the management computer system and the server, Sending a read request to read the encrypted second copy of the first cryptographic key from the management computer system to the server over the fourth connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted second copy of the first cryptographic key on the server, In response to sending the read request, Receiving the encrypted second copy of the first cryptographic key by the management computer system from the server over the fourth connection,Decrypting the encrypted second copy of the first cryptographic key by the management computer system using the fourth private cryptographic key.
[0106] Embodiments can have the advantage that, in addition to the issuer computer system, another computer system is capable of restoring the document's cryptographic key. The corresponding second computer system is, for example, an administrative computer system of an administrative authority superior to the issuer of the document. If the issuer or the issuer computer system loses the private cryptographic key for decrypting the copy of the digital document's cryptographic key stored on the server, the issuer computer system is no longer capable of restoring the document's cryptographic key. In this case, the key can be restored by the administration computer system. The corresponding restoration can be carried out analogously to the restoration by the issuer computer system.For this purpose, a second encrypted copy of the document's cryptographic key is stored under the second anonymized file name in addition to the encrypted first copy of the document's cryptographic key.
[0107] The corresponding second copy of the document's cryptographic key is encrypted with a private cryptographic key of the management computer system, so that only the management computer system is able to decrypt the second copy. To recover the document's cryptographic key, the management computer system determines the anonymized file name under which the encrypted second copy of the cryptographic key is stored. The management system establishes a connection to the server via the network, in particular an encrypted communication connection. This allows the management computer system to communicate securely with the server, for example. The management computer system sends a read request via the connection, which includes the specific anonymized file name under which the encrypted second copy of the document's cryptographic key is stored.In response to the corresponding read request, the management computer system receives the encrypted copy, which it can decrypt using the management computer system's private cryptographic key. This allows the management computer system to obtain the document's cryptographic key, even if the physical document and the issuer computer system's private cryptographic key are lost. Using the recovered document's cryptographic key, access to the digital document can be enabled. The data in the digital document are digital copies of the data in the physical document. Thus, access to the digital data in the digital document results in access to the data in the physical document.In particular, a duplicate copy containing the data of the physical document can be created if the physical document is lost.
[0108] According to embodiments, the first cryptographic key is restored, for example, upon loss of the physical document and / or the second private cryptographic key.
[0109] According to embodiments, the fourth connection is an encrypted communication connection.
[0110] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0111] According to embodiments, the management computer system sends the second copy of the first cryptographic key to the issuer computer system via a fifth connection, wherein the fifth connection is an encrypted communication connection.
[0112] Embodiments may have the advantage that the management computer system can provide the document's cryptographic key or the second copy of the document's cryptographic key to the issuing computer system. The issuing computer system is enabled by the cryptographic key to access the digital document on the server. For example, the issuing computer system can use corresponding access to create a physical duplicate and / or a digital duplicate.
[0113] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0114] According to embodiments, the first cryptographic key is restored upon a restoration request from the issuer of the document. For example, the restoration occurs upon receipt of a restoration request from the issuer computer system of the issuer of the physical document.
[0115] According to embodiments, the method further comprises: Receiving the second copy of the first cryptographic key by the issuer computer system from the management computer system via the fifth connection, Generating a fifth asymmetric key pair by the issuer computer system, wherein the fifth asymmetric key pair comprises a fifth private cryptographic key and a fifth public cryptographic key, Storing the fifth private cryptographic key by the issuer computer system as a replacement for the second private cryptographic key in the protected memory area of the issuer computer system, Creating an encrypted third copy of the first cryptographic key by the issuer computer system,wherein creating the encrypted third copy of the first cryptographic key comprises encrypting the decrypted second copy of the first cryptographic key using the fifth public cryptographic key, determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the issuer computer system, establishing a sixth connection over the network between the issuer computer system and the server, sending a storage request with the encrypted third copy of the first cryptographic key and the second anonymized file name from the issuer computer system over the sixth connection to the server for storing the encrypted third copy of the first cryptographic key together with the digital document under the second anonymized file name on the server.
[0116] Alternatively, the issuing computer system can provide the generated fifth public cryptographic key to the administrative computer system for creating the encrypted third copy of the first cryptographic key. Thus, the encrypted third copy of the first cryptographic key is created by the administrative computer system, which does not forward the second copy of the first cryptographic key to the issuing computer system for re-encryption, but rather performs the re-encryption itself.
[0117] According to embodiments, the method in this case further comprises, by the issuer computer system: Receiving a key request by the issuer computer system from the management computer system via the fifth connection, generating a fifth asymmetric key pair by the issuer computer system, the fifth asymmetric key pair comprising a fifth private cryptographic key and a fifth public cryptographic key, storing the fifth private cryptographic key by the issuer computer system as a replacement for the second private cryptographic key in the protected storage area of the issuer computer system, in response to the key request, sending the fifth public cryptographic key from the issuer computer system to the management computer system.
[0118] Through the administrative computer system, the procedure in this case also includes: Sending the key request by the management computer system to the issuer computer system via the fifth connection in response to the key request, receiving the fifth public cryptographic key from the issuer computer system by the management computer system, creating the encrypted third copy of the first cryptographic key by the management computer system, wherein creating the encrypted third copy of the first cryptographic key comprises encrypting the decrypted second copy of the first cryptographic key using the fifth public cryptographic key, determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the management computer system, establishing a seventh connection via the network between the management computer system and the server,Sending a storage request with the encrypted third copy of the first cryptographic key and the second anonymized file name from the management computer system via the seventh connection to the server for storing the encrypted third copy of the first cryptographic key together with the digital document under the second anonymized file name on the server.
[0119] Embodiments may have the advantage that, in the event of a loss of its private cryptographic key for decrypting the first copy of the document's cryptographic key, the issuer computer system is enabled, by receiving the second copy of the document's cryptographic key, to generate a replacement for the first copy of the cryptographic key in the form of a third copy of the cryptographic key encrypted with a newly generated private cryptographic key of the issuer computer system. The newly generated private cryptographic key of the issuer computer system effectively replaces the lost private cryptographic key of the issuer computer system.Alternatively, the encrypted copy of the document's cryptographic key may be replaced accordingly if, for security reasons, the private cryptographic key of the issuing computer system is to be replaced by a new, private, cryptographic key after a predefined period of time.
[0120] A corresponding new asymmetric key pair is generated by the issuing computer system, which includes a private and public cryptographic key. The private cryptographic key is stored in a secure memory area of the issuing computer system, thus protecting it from unauthorized access. Using the provided second copy of the cryptographic key, an encrypted third copy of the document's cryptographic key is created. The encrypted third copy of the document's cryptographic key is, for example, the receiving second copy of the cryptographic key, which was encrypted with the newly generated private cryptographic key of the issuing computer system. Furthermore, the anonymized file name of the document is determined.For this purpose, personal attributes of the owner of the digital document are used, for example. The issuing computer system establishes a connection to the server via the network, which may be an encrypted communication connection. A storage request containing the encrypted copy of the cryptographic key and the anonymized file name is sent from the issuing computer system to the server via the corresponding connection.If the copies of the cryptographic key are stored together with the digital document in a data container on the server, the issuing computer system can, for example, download the data container from the server, replace the encrypted first copy of the document's cryptographic key with the created third encrypted copy of the cryptographic document in the data container, and send the modified data container with the save request to the server so that the server replaces the previous data container with the modified data container. For example, the issuing computer system demonstrates authorization to change the data container on the server. Such verification can be provided, for example, using a corresponding certificate from the issuing computer system.For example, the issuing computer system authenticates itself to the server and, during the authentication process, demonstrates the appropriate authorization to make changes.
[0121] Replacing the encrypted first copy of the cryptographic key on the server with an encrypted third copy of the cryptographic key can also occur, for example, if the current private cryptographic key of the issuer's computer system has been compromised. In this case, the first copy of the cryptographic key on the server, encrypted using the corresponding current public cryptographic key, can be replaced by a third copy of the cryptographic key encrypted using the newly generated public cryptographic key whose corresponding newly generated private cryptographic key has not been compromised. If multiple key copies of different documents are encrypted with the same current public cryptographic key of the issuer's computer system, these multiple key copies can be downloaded.The individual key copies can each be decrypted and re-encrypted with the newly generated public cryptographic key. The resulting re-encrypted multiple cryptographic key copies can be sent to the server to replace the previous multiple cryptographic key copies whose private cryptographic key has been compromised.
[0122] A corresponding method for replacing the encrypted first copy of the first cryptographic key includes, for example: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the issuer computer system, Establishing a second connection over the network between the issuer computer system and the server, Sending a read request to read the encrypted first copy of the first cryptographic key from the issuer computer system to the server over the second connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted first copy of the first cryptographic key on the server, In response to sending the read request, Receiving the encrypted first copy of the first cryptographic key by the issuer computer system from the server over the second connection,Decrypting the encrypted first copy of the first cryptographic key by the issuer computer system using the second private cryptographic key. Generating a fifth asymmetric key pair by the issuer computer system, the fifth asymmetric key pair comprising a fifth private cryptographic key and a fifth public cryptographic key. Storing the fifth private cryptographic key by the issuer computer system as a replacement for the second private cryptographic key in the protected memory area of the issuer computer system. Creating an encrypted third copy of the first cryptographic key by the issuer computer system.wherein creating the encrypted third copy of the first cryptographic key comprises encrypting the decrypted first copy of the first cryptographic key using the fifth public cryptographic key, sending a storage request with the encrypted third copy of the first cryptographic key and the second anonymized file name from the issuer computer system via the second connection to the server for storing the encrypted third copy of the first cryptographic key together with the digital document under the second anonymized file name on the server.
[0123] In a manner analogous to the previously described method for replacing one or more key copies encrypted with a public cryptographic key of the issuing computer system whose associated private cryptographic key has been compromised, one or more key copies encrypted with a public cryptographic key of the administrative computer system whose associated private cryptographic key has been compromised can also be replaced
[0124] A corresponding method for replacing the encrypted second copy of the first cryptographic key includes, for example: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document by the management computer system, Establishing a fifth connection over the network between the management computer system and the server, Sending a read request to read the encrypted second copy of the first cryptographic key from the management computer system to the server over the fifth connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted second copy of the first cryptographic key on the server, In response to sending the read request, Receiving the encrypted second copy of the first cryptographic key by the management computer system from the server over the fifth connection,The management computer system decrypts the encrypted second copy of the first cryptographic key using the fourth private cryptographic key. The management computer system generates a sixth asymmetric key pair, the sixth asymmetric key pair comprising a sixth private cryptographic key and a sixth public cryptographic key. The management computer system stores the sixth private cryptographic key as a replacement for the fourth private cryptographic key in the protected memory area of the management computer system. The management computer system creates an encrypted fourth copy of the first cryptographic key.wherein creating the encrypted fourth copy of the first cryptographic key comprises encrypting the decrypted second copy of the first cryptographic key using the sixth public cryptographic key, sending a storage request with the encrypted fourth copy of the first cryptographic key and the second anonymized file name from the issuer computer system via the fifth connection to the server for storing the encrypted fourth copy of the first cryptographic key together with the digital document under the second anonymized file name on the server.
[0125] According to embodiments, the sixth connection is an encrypted communication connection. According to embodiments, the seventh connection is an encrypted communication connection.
[0126] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0127] According to embodiments, the transmitted read request further requests a reading of the encrypted digital document. The encrypted digital document is received by the management computer system along with the encrypted second copy of the first cryptographic key. The encrypted digital document is sent to the issuer computer system along with the decrypted second copy of the first cryptographic key via the fourth connection.
[0128] Embodiments may have the advantage that the management computer system contains the encrypted digital document along with the second copy of the document's cryptographic key. The management computer system can decrypt the encrypted second copy of the document's cryptographic key using its private cryptographic key. The decrypted second copy of the document's cryptographic key can be sent to the management computer system along with the encrypted digital document to the issuer computer system. Alternatively, the management computer system can send the decrypted digital document to the issuer computer system, itself using the decrypted second copy of the document's cryptographic key to decrypt the digital document.In both cases, the issuing computer system gains access to the decrypted document and thus also to the cryptographic key of the digital document.
[0129] According to embodiments, the management computer system sends the second copy of the first cryptographic key to the user computer system via a sixth connection, wherein the sixth connection is an encrypted communication connection.
[0130] Embodiments may have the advantage that the management computer system can provide the decrypted second copy of the document's cryptographic key to the user computer system in a secure manner.
[0131] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0132] According to embodiments, the transmitted read request further requests a reading of the encrypted digital document. The encrypted digital document is received by the management computer system along with the encrypted second copy of the first cryptographic key. The encrypted digital document is sent to the user computer system along with the decrypted second copy of the first cryptographic key via the sixth connection.
[0133] Embodiments may have the advantage that the issuing computer system can download the encrypted digital document from the server along with the encrypted second copy of the document's cryptographic key. The managing computer system can decrypt the second copy of the document's cryptographic key using its private cryptographic key and send this decrypted second copy along with the encrypted digital document to the user computer system for decryption. Alternatively, the managing computer system itself can decrypt the encrypted digital document using the decrypted second copy of the document's cryptographic key and send the thus decrypted digital document to the user computer system.In both cases, the user's computer system gains possession of the decrypted digital document and thus of the document's cryptographic key.
[0134] According to embodiments, the method further comprises providing the digital document on the user computer system using the physical document in the form of a first physical document. The first physical document comprises a document body labeled with data. The data labeled on the document body of the first document includes the first anonymized file name and the first cryptographic key.
[0135] The provision includes: Receiving the first anonymized file name and first cryptographic key provided by the first physical document by the user computer system, establishing a seventh connection via a network between the user computer system and the server, sending a read request for reading the digital document from the user computer system to the server via the seventh connection, wherein the read request comprises the received first anonymized file name for identifying the digital document on the server, in response to sending the read request, receiving the digital document by the user computer system from the server via the seventh connection, providing the digital document in decrypted form on the user computer, wherein the decryption of the digital document is carried out using the received first cryptographic key.
[0136] According to embodiments, the digital document is a digital copy of the data of the first physical document. In this case, the first physical document can, on the one hand, provide the document data of which the digital document is a digital copy, and on the other hand, the first document additionally enables access to the digital document. According to embodiments, the digital document is a digital copy of data from a second physical document. In the latter case, the first physical document serves, for example, merely to enable access to the digital document and thus to the digital copy of the data of the second document, but without itself providing this data of the second document.
[0137] According to embodiments, the user computer system receives the digital document in encrypted form. The encrypted digital document is decrypted on the user computer system using the received first cryptographic key.
[0138] Embodiments may have the advantage that the digital document is only decrypted on the user computer system. This ensures that the decrypted document is available exclusively on the computer system, thus effectively preventing unauthorized access to the decrypted digital document. In particular, decryption on the user computer system may have the advantage that the cryptographic key used for decryption does not leave the user computer system. Thus, the corresponding cryptographic key is only present as a label on the physical document and in electronic form temporarily on a memory of the user computer system. According to embodiments, the cryptographic key is deleted after the digital document has been decrypted. In particular, the cryptographic key is stored, for example, exclusively in a volatile memory on the user computer system.This ensures temporary storage of the cryptographic key and effectively prevents permanent storage. By limiting the storage time of the cryptographic key on the user's computer system, the risk of unauthorized access to the cryptographic key can be reduced.
[0139] According to embodiments, the read request further includes the received first cryptographic key for decrypting the encrypted digital document. The encrypted digital document is decrypted on the server. The user computer system receives the digital document in decrypted form.
[0140] Embodiments can have the advantage that decryption takes place centrally on the server. Thus, no additional functionalities for decryption are required on the user computer system. For example, the anonymized file name is integrated into the reader request together with the cryptographic key, whereby the user computer system only needs to create the reader request and send it to the server. For example, in the course of establishing the connection between the user computer system and the server, a web page provided by the server is called up by the user computer system and displayed there, for example in a browser. The corresponding web page can comprise a graphical user interface with input windows for the user of the user computer system to enter the anonymized file name and the cryptographic key.The correspondingly entered information is sent to the server via the network connection. For example, the program functions required to decrypt the digital document are provided exclusively on the server. To secure the transmission of the cryptographic key and the decrypted digital document, the network connection is encrypted.
[0141] According to embodiments, the seventh connection is an encrypted communication connection.
[0142] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0143] According to embodiments, the user computer system receives the first anonymized file name and first cryptographic key provided by the physical document in the form of user input.
[0144] Embodiments may have the advantage that only an input device on the user computer system is required to receive the anonymized file name and the cryptographic key provided by the physical document. Such an input device may include, for example, a keyboard, a keypad, a touchpad, and / or a touch display. The user can enter the label on the document body of the physical document with the anonymized file name and the cryptographic key for reading the digital document into the user computer system using the input device.
[0145] According to embodiments, an annotation of a document body of the physical document comprises the first anonymized file name and the first cryptographic key in the form of an optoelectronically readable code. The user computer system comprises an optoelectronic sensor for detecting the optoelectronically readable code. Receiving the first anonymized file name and the first cryptographic key comprises detecting the optoelectronically readable code by the user computer system using the optoelectronic sensor.
[0146] Embodiments may have the advantage that the user computer system can automatically capture the anonymized file name and the cryptographic key using the optoelectronic sensor. No user input is required. This can, for example, have the advantage of preventing user input errors. The optoelectronic sensor captures the optoelectronically readable code of the physical document in optical form and converts it into an electronic or digital form. The digital data thus captured, which includes the anonymized file name and the cryptographic key in digital form, can be used by the user computer system to read the digital document from the server.
[0147] According to embodiments, the optoelectronically readable code is, for example, a one-dimensional optoelectronically readable code, such as a barcode. The two-dimensional optoelectronically readable code comprises, for example, a plurality of parallel bars of different widths and gaps between them. For example, the contrast between bars and gaps is as high as possible. The data comprised by the one-dimensional optoelectronically readable code is encoded along one direction, for example, perpendicular to a direction of extension of the parallel bars.
[0148] According to embodiments, the optoelectronically readable code is, for example, a two-dimensional optoelectronically readable code, such as a QR code. The two-dimensional optoelectronically readable code comprises, for example, a plurality of bars or dots of different widths and intervening gaps. For example, the contrast between bars or dots and gaps is as high as possible. The data contained in the two-dimensional optoelectronically readable code is encoded in the form of an area across two dimensions.
[0149] According to embodiments, the label of the first document body further comprises an identifier of the server for addressing the read request. The identifier of the server is received by the user computer system and used to address the read request.
[0150] Embodiments may have the advantage that the physical document provides an identifier of the server in addition to the anonymized file name of the digital document required for the read request. Using the corresponding identifier, the server on which the digital document to be read is stored can be identified or addressed. Thus, using the identifier provided by the physical document, the server can be addressed for the read request.
[0151] According to some embodiments, the server's identifier is a URI (Uniform Resource Identifier). According to some embodiments, the server's identifier is a URL (Uniform Resource Locator).
[0152] According to embodiments, the user computer system receives the server's identifier in the form of user input.
[0153] Embodiments may have the advantage that a user can read the identifier provided by the label on the document body of the physical document and enter it into the user's computer system using an input device. If a user is in possession of the physical document, it provides them with all the information necessary to read and decrypt the digital document stored in encrypted form on the server.
[0154] According to embodiments, the optoelectronically readable code of the first physical document includes the server's identifier. The server's identifier is received during the user computer system's capture of the optoelectronically readable code using the optoelectronic sensor.
[0155] Embodiments may have the advantage that the server's identifier can be captured using the user computer system's optoelectronic sensor. For example, the server's identifier can be captured together with the anonymized file name and the cryptographic key.
[0156] For example, the reader request can be encoded in the form of an optoelectronically readable code. This enables the user's computer system to simply execute the read request provided by the optoelectronically readable code to retrieve the digital document from the server.
[0157] According to embodiments, the first anonymized file name is a document-specific file name. According to embodiments, the first cryptographic key is a document-specific cryptographic key.
[0158] Embodiments may have the advantage that the anonymized file name only applies to a single individual document. In other words, a corresponding anonymized file name is unique. Alternatively, the anonymized file name may be a file name that is not unique for an individual document. For example, a corresponding file name may be generated using personal data. If multiple documents belong to the same owner, the corresponding personal data may be identical. As a result, file names of different documents, for example, from the same owner, may be identical. In order to nevertheless store the corresponding documents in a unique manner, additional information may be included in the read request, based on which the document to be read can be uniquely determined.
[0159] Embodiments may have the advantage that, in the case of a document-specific cryptographic key, possession of the physical document is a necessary prerequisite for decrypting the digital document. For example, the cryptographic key may also be a key that is not document-specific, i.e., not unique. For example, the same cryptographic key may be used for multiple documents belonging to the same document owner.
[0160] If the document contains personal data that must be protected from unauthorized access, the owner of the document is an authorized person. Therefore, allowing the owner of a document to decrypt other documents does not constitute a reduction in security.
[0161] Another possibility is to use a short cryptographic key. In the case of a short cryptographic key, there is a chance that, if the corresponding cryptographic key is randomly selected, the cryptographic keys of several documents will match. This may be sufficient for the security of the digital document's data if the probability of finding the correct cryptographic key by guessing is sufficiently low.
[0162] According to embodiments, the read request further includes an issuer ID and / or an indication of an issuance period within which the first physical document or the second physical document was issued, for identifying the digital document on the server. The issuance period is, for example, an issuance year, an issuance school year, an issuance semester, and / or an issuance trimester.
[0163] Embodiments may have the advantage that, using the issuer ID and / or the issue period of the physical document, digital documents can be differentiated by issuer and issue period. For example, the digital documents are stored in a tree-like directory structure on the server. The corresponding tree-like structure can, for example, result from the issuer IDs of the issuers of the digital documents and the issue periods.
[0164] An ID is an identifier, also known as a code, that includes a characteristic linked to a specific identity for the unique identification of a person or object, such as the issuer of the digital documents to which the identifier is assigned. An identifier can include, for example, numbers, letters, special characters, and combinations of these.
[0165] For example, documents from different issuers can be stored on the server.
[0166] This ensures that, in the case of anonymized file names calculated using personal data of the document holders, documents of the same holder can be differentiated based on the issuer ID and / or the issue period.
[0167] Depending on the embodiments, the issuer ID and / or an indication of the issue period within which the physical document was issued can also be used to generate the anonymized file name. In this case, it can be ensured that, for example, documents from the same document owner that were issued by different issuers and / or in different issue periods can be distinguished from one another based on the resulting anonymized file name.
[0168] According to embodiments, the digital document is signed by an issuer with a cryptographic signature key.
[0169] Embodiments can have the advantage that the signature can be used to verify the authenticity of the digital document. For example, a signature verification key can be used to verify the signature. The cryptographic signature key is, for example, a private cryptographic key of the issuer of the digital document, while the signature verification key is, for example, a public cryptographic key of the issuer of the digital document.
[0170] Depending on the embodiment, the digital document is a certificate. Some embodiments may have the advantage that digital certificates can be provided securely.
[0171] If the digital data of the digital document is a digital copy of data of the first physical document, for example in the case of a digital document in the form of a certificate, the underlying first physical document is also a certificate, the digital copy of which is provided by the digital document.
[0172] If the digital data of the digital document is a digital copy of data of the second physical document, for example in the case of a digital document in the form of a certificate, the underlying second physical document is also a certificate, the digital copy of which is provided by the digital document.
[0173] Embodiments further include a physical document comprising a document body labeled with data. The data labeled on the document body includes an anonymized file name under which a digital document in the form of an encrypted digital copy of the physical document is stored on a server accessible via a network. Furthermore, the data labeled on the document body includes a first cryptographic key for decrypting the encrypted digital document. The digital document is a digital copy of the data of the physical document.
[0174] According to embodiments, the physical document is configured to provide a digital document on a user computer system according to one of the previously described embodiments.
[0175] Embodiments further include an issuer computer system of an issuer of a digital document for recovering a cryptographic key for decrypting the encrypted digital document. The issuer computer system includes a processor, a communication interface for communication over the network, and a memory. Program instructions are stored in the memory of the issuer computer system.
[0176] The digital document, which is a digital copy of data from a physical document, is stored in encrypted form on a server under a first anonymized file name. Furthermore, a first copy of the cryptographic key for decrypting the digital document is stored on the server in encrypted form under a second anonymized file name. The encrypted digital document can be decrypted using the cryptographic key. The first copy of the cryptographic key for decrypting the digital document is encrypted with a public cryptographic key of an asymmetric key pair assigned to the issuer of the digital document.
[0177] The second anonymized file name is calculated using a combination of personal attributes of the owner of the digital document to which a one-way function is applied.
[0178] A private cryptographic key of the issuer's asymmetric key pair is stored in a protected memory area of the issuer's computer system.
[0179] Execution of the program instructions by the processor of the issuer computer system controls the issuer computer system to perform a method comprising: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document, Establishing a connection over the network to the server, Sending a read request to read the encrypted first copy of the cryptographic key for decrypting the digital document to the server over the connection, wherein the read request comprises the determined second anonymized file name for identifying the encrypted first copy of the cryptographic key for decrypting the digital document on the server, In response to sending the read request, Receiving the encrypted first copy of the cryptographic key for decrypting the digital document over the connection, Decrypting the encrypted first copy of the cryptographic key for decrypting the digital document using the private cryptographic key.
[0180] According to embodiments, the issuer computer system is configured to execute each of the method steps of the issuer computer system according to any of the previously described embodiments of the method for recovering the cryptographic key for decrypting the encrypted digital document.
[0181] According to embodiments, the physical document comprises a document body labeled with the data of the physical document.
[0182] Embodiments include a system for recovering a cryptographic key for decrypting an encrypted digital document. The system includes an issuer computer system according to any one of the previously described embodiments and a server. The server includes a processor, a communications interface for communication over the network, and a memory. Program instructions are stored in the server's memory.
[0183] Execution of the program instructions by the server's processor controls the server to perform a method comprising: Establishing a connection to the server via the network, receiving the read request from the issuer computer system to read the encrypted first copy of the cryptographic key for decrypting the digital document via the connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted first copy of the cryptographic key for decrypting the digital document on the server, Identifying the encrypted first copy of the cryptographic key for decrypting the digital document on the server using the second anonymized file name, in response to receiving the read request, sending the encrypted first copy of the cryptographic key for decrypting the digital document to the issuer computer system over the connection.
[0184] According to embodiments, the system is configured to execute each of the previously described embodiments of the method for recovering the cryptographic key for decrypting the encrypted digital document. According to embodiments, the server is configured to execute each of the method steps of the server according to one of the previously described embodiments of the method for recovering the cryptographic key for decrypting the encrypted digital document.
[0185] According to embodiments, the system further comprises a management computer system of a management instance. The management computer system comprises a processor, a communication interface for communication via the network, and a memory. Program instructions are stored in the memory of the management computer system.
[0186] A second copy of the cryptographic key for decrypting the digital document is also stored on the server under the second anonymized file name. The second copy of the cryptographic key for decrypting the digital document is stored encrypted with a public cryptographic key of an asymmetric key pair of an administrative authority. A private cryptographic key of the asymmetric key pair of the administrative authority is stored in a protected storage area of the administrative computer system's memory.
[0187] Execution of the program instructions by the processor of the management computer system controls the management computer system to perform a method comprising: Determining the second anonymized file name using the combination of personal attributes of the owner of the digital document, Establishing a connection to the server via the network, Sending a read request to read the encrypted second copy of the cryptographic key for decrypting the digital document to the server via the connection, wherein the read request includes the determined second anonymized file name for identifying the encrypted second copy of the cryptographic key for decrypting the digital document on the server, In response to sending the read request, Receiving the encrypted second copy of the cryptographic key for decrypting the digital document by the management computer system via the connection,Decrypting the received encrypted second copy of the cryptographic key for decrypting the digital document using the private cryptographic key of the administrative entity.
[0188] According to embodiments, the management computer system is configured to execute each of the method steps of the management computer system according to one of the previously described embodiments of the method for recovering the cryptographic key for decrypting the encrypted digital document.
[0189] According to embodiments, execution of the program instructions by the processor of the server further controls the server to perform a method comprising: Establishing a connection over the network to the management computer system, receiving the read request from the management computer system to read the encrypted second copy of the cryptographic key for decrypting the digital document over the connection, the read request comprising the determined second anonymized file name for identifying the encrypted second copy of the cryptographic key for decrypting the digital document on the server, identifying the encrypted second copy of the cryptographic key for decrypting the digital document on the server using the second anonymized file name, in response to receiving the read request, sending the encrypted second copy of the cryptographic key for decrypting the digital document to the issuer computer system over the connection.
[0190] According to embodiments, the system further comprises a user computer system for providing the digital document using the physical document in the form of a first physical document. The user computer system comprises a processor, a communication interface for communication via a network, and a memory. Program instructions are stored in the memory of the user computer system. The first physical document comprises a document body labeled with data. The data with which the document body of the first physical document is labeled includes the anonymized file name and the cryptographic key.
[0191] Execution of the program instructions by the processor of the user computer system controls the user computer system to perform a method comprising: Receiving the anonymized file name under which the digital document is stored in encrypted form on the server and the cryptographic key for decrypting the encrypted digital document, which is provided as part of the data with which the document body of the first physical document is labeled, establishing a connection to the server via a network, sending a read request to read the digital document to the server via the connection, wherein the read request comprises the received anonymized file name for identifying the digital document on the server, in response to sending the read request, receiving the digital document from the server via the connection, providing the digital document in decrypted form on the user computer, wherein the decryption of the digital document is carried out using the received cryptographic key for decrypting the digital document.
[0192] According to embodiments, the user computer system receives the digital document in encrypted form. The encrypted digital document is decrypted using the received cryptographic key for decrypting the digital document on the user computer system.
[0193] According to embodiments, the user computer system comprises an input device. According to embodiments, the user computer system receives the anonymized file name and the cryptographic key for decrypting the first digital document in the form of user input via the input device.
[0194] According to embodiments, the labeling of the document body of the physical document includes the anonymized file name and the cryptographic key for decrypting the digital document in the form of an optoelectronically readable code. The user computer system includes an optoelectronic sensor for detecting the optoelectronically readable code. Receiving the anonymized file name and the cryptographic key for decrypting the digital document includes detecting the optoelectronically readable code by the user computer system using the optoelectronic sensor.
[0195] According to embodiments, execution of the program instructions by the processor of the server further controls the server to perform a method comprising: Establishing a connection via the network to the user computer system, receiving the read request from the user computer system to read the digital document via the connection, wherein the read request includes the anonymized file name for identifying the digital document on the server, identifying the digital document on the server using the anonymized file name, in response to receiving the read request, sending the digital document via the connection to the user computer system for provision on the user computer in decrypted form on the user computer, wherein the decryption of the digital document is performed using the cryptographic key for decrypting the digital document.
[0196] According to embodiments, the read request further includes the cryptographic key for decrypting the digital document. The server decrypts the digital document using the received cryptographic key for decrypting the digital document and sends it in decrypted form to the user computer system.
[0197] According to embodiments, the connection between the user computer system and the server is an encrypted communication connection.
[0198] Embodiments can have the advantage that, by using an encrypted communication connection, in particular an end-to-end encrypted communication connection, the transmitted data can be protected from unauthorized access, in particular from a man-in-the-middle attack. Session keys, for example, are used to encrypt the transmitted data. The session key used for encryption can be, for example, a symmetric key.
[0199] According to embodiments, the server sends the digital document in encrypted form to the user computer system for decryption by the user computer system using the received cryptographic key to decrypt the digital document.
[0200] The use of ordinal numbers such as first, second, third, etc. serves here, unless the specific context clearly indicates otherwise, solely to distinguish different elements from one another and is not intended to imply a particular order.
[0201] Embodiments of the invention will be explained in more detail below with reference to the drawings. They show: Figure 1 shows a schematic diagram of an embodiment of an exemplary first physical document. Figure 2 shows a schematic diagram of an embodiment of an exemplary first physical document. Figure 3 shows a schematic diagram of an embodiment of an exemplary first physical document. Figure 4 shows a schematic diagram of an embodiment of an exemplary first physical document. Figure 5 shows a schematic diagram of an embodiment of an exemplary second physical document. Figure 6 shows a schematic diagram of an embodiment of an exemplary digital document. Figure 7 shows a schematic diagram of an embodiment of an exemplary system for providing a digital document. Figure 8 shows a schematic flow diagram of an embodiment of an exemplary method for providing a digital document.Figure 9 shows a schematic flow diagram of an embodiment of an exemplary method for restoring a cryptographic key. Figure 10 shows a schematic flow diagram of an embodiment of an exemplary method for restoring a cryptographic key. Figure 11 shows a schematic flow diagram of an embodiment of an exemplary method for issuing a digital duplicate. Figure 12 shows a schematic flow diagram of an embodiment of an exemplary method for issuing a digital duplicate. Figure 13 shows a schematic diagram of an embodiment of an exemplary physical duplicate. Figure 14 shows a schematic diagram of an embodiment of an exemplary physical duplicate. Figure 15 shows a schematic diagram of an embodiment of an exemplary physical duplicate. Figure 16 shows a schematic diagram of an embodiment of an exemplary third physical document.Figure 17 is a schematic diagram of an embodiment of an exemplary third physical document. Figure 18 is a schematic diagram of an embodiment of an exemplary digital duplicate. Figure 19 is a schematic flow diagram of an embodiment of an exemplary method for restoring a cryptographic key. Figure 20 is a schematic flow diagram of an embodiment of an exemplary method for restoring a cryptographic key. Figure 21 is a schematic flow diagram of an embodiment of an exemplary method for replacing a cryptographic key. Figure 22 is a schematic flow diagram of an embodiment of an exemplary method for replacing a cryptographic key.Figure 23 shows a schematic flow diagram of an embodiment of an exemplary method for replacing a cryptographic key. Figure 24 shows a schematic flow diagram of an embodiment of an exemplary method for providing a digital document. Figure 25 shows a schematic flow diagram of an embodiment of an exemplary method for providing a digital document. Figure 26 shows a schematic flow diagram of an embodiment of an exemplary method for providing a digital document. Figure 27 shows a schematic flow diagram of an embodiment of an exemplary method for providing a digital document. Figure 28 shows a schematic diagram of an embodiment of an exemplary data container.
[0202] Elements of the following embodiments that correspond to one another are identified by the same reference numerals.
[0203] Figure 1shows an exemplary first physical document 100. The physical document 100 comprises a document body 102. The document body 102 comprises a label with data 104 of the document 100. The label with the data 104 comprises, for example, data in the form of an alphanumeric code and / or a geometric code. The geometric code can be a one-dimensional geometric code, such as a barcode, or a two-dimensional geometric code, such as a QR code. The label is, for example, optically detectable, for example in the visible, infrared, and / or ultraviolet electromagnetic spectrum. The label can be, for example, printed, embossed, punched, milled, and / or cut-out structures on and / or in the document body.In the case of structures that include recesses in the document body, the corresponding recesses can be filled and / or sealed. The data 104 of the document 100 includes an anonymized file name 106 under which a digital document is stored in encrypted form. The digital document is a digital copy of the data 104 of the document 100. Furthermore, the data 104 of the document 100 includes a cryptographic key 108 with which the encrypted digital document, which is stored on the server under the anonymized file name 106, can be decrypted. For example, the document 100 can include a note such as the following: "Use access code 61ySf2Cd and decryption key sGnAtt2PTX on download portal to access this file and download this file." For example, "61ySf2Cd" is the anonymized file name 106 and "sGnAtt2PTX" is the cryptographic key.
[0204] If a user has access to document 100, they can access and decrypt the digital document stored on the server using the anonymized file name 106 and the cryptographic key 108. This gives the user access to the digital copy of the data 104 of document 100. In this way, a digital copy of the corresponding document can be provided to the user of document 100 without personal data becoming accessible to unauthorized third parties. The digital document with the data 104, which includes, for example, personal data or attributes of the owner of the digital document, is stored on the server in encrypted form. Thus, the corresponding data is not accessible. Furthermore, no personal data or attributes are sent electronically to the owner of the digital document.Rather, the owner of the digital document receives the corresponding data for accessing the digital document in the form of the physical document 100. If the phasic document 100 is present, the owner of the digital document has access to the anonymized file name 106 and the cryptographic key 108 and thus to the digital document.
[0205] Figure 2shows a further exemplary embodiment of a first physical document 100, which serves, for example, to provide the cryptographic key 108 and the anonymized file name 106. In this case, an inscription of the document body 102 with data 104 includes, for example, the cryptographic key 108 and the anonymized file name 106. The inscription with the data 104 includes, for example, data in the form of an alphanumeric code and / or a geometric code. The geometric code can be a one-dimensional geometric code, such as a barcode, or a two-dimensional geometric code, such as a QR code. The inscription is, for example, optically detectable, for example in the visible, infrared, and / or ultraviolet electromagnetic spectrum.The labeling can, for example, be printed, embossed, punched, milled, and / or cut-out structures on and / or in the document body. In the case of structures that include recesses in the document body, the corresponding recesses can be filled and / or sealed. For example, the document 100 can include a note such as the following: "Use access code 61ySf2Cd and decryption key sGnAtt2PTX on download portal to access this file and download this file." For example, "61ySf2Cd" is the anonymized file name 106, and "sGnAtt2PTX" is the cryptographic key.
[0206] In this case, the data of the encrypted digital document, which is stored on the server under the anonymized file name 106, is, for example, data from another physical document. The first physical document 100 is made available to the user, for example, together with or in addition to the other physical document, to enable the user to access the digital document.
[0207] Figure 3 shows another exemplary embodiment of a first physical document 100. The physical document 100 in the Figure 3 corresponds to the physical document 100 of the Figure 1 with the difference that the anonymized file name 106 and the cryptographic key 108 in the case of Figure 3in the form of an optoelectronically readable code 110. The corresponding optoelectronic code 110 includes, for example, the anonymized file name and the cryptographic key. Furthermore, the optoelectronically readable code includes, for example, an identifier of the server on which the digital document is stored, with which read requests for reading the digital document can be addressed to the server. For example, the optoelectronically readable code 110 can include a coded call in the following form: "curl -X GET "https: / / dokumente.de / central / download-portal / download? access_code=sdfgsh&encryption_key=afgrgrt" -H "accept: * / *". For example, "sdfgsh" is the anonymized file name, "afgrgrt" is the cryptographic key, and "https: / / dokumente.de / central / download-portal / download" is the server identifier.The optoelectronically readable code 110 is, for example, a one-dimensional code, such as a barcode, or a two-dimensional code, such as a QR code. The optoelectronic code 110 can be detected by an optoelectronic sensor, and the data received can be read by the sensor.
[0208] capturing computer system to read the digital document from the server.
[0209] Figure 4 shows another exemplary embodiment of a physical document 100. The physical document 100 in the Figure 4 corresponds to the physical document 100 of the Figure 2 with the difference that the anonymized file name 106 and the cryptographic key 108 in the case of Figure 4in the form of an optoelectronically readable code 110. The corresponding optoelectronic code 110 includes, for example, the anonymized file name and the cryptographic key. Furthermore, the optoelectronically readable code includes, for example, an identifier of the server on which the digital document is stored, with which read requests for reading the digital document can be addressed to the server. For example, the optoelectronically readable code 110 can include a coded call in the following form: "curl -X GET "https: / / dokumente.de / central / download-portal / download? access_code=sdfgsh&encryption_key=afgrgrt" -H "accept: * / *". For example, "sdfgsh" is the anonymized file name, "afgrgrt" is the cryptographic key, and "https: / / dokumente.de / central / download-portal / download" is the server identifier.The optoelectronically readable code 110 is, for example, a one-dimensional code, such as a barcode, or a two-dimensional code, such as a QR code. The optoelectronic code 110 can be detected with an optoelectronic sensor, and the data received can be used by the detecting computer system to read the digital document from the server.
[0210] Figure 5shows an exemplary embodiment of a second physical document 180, the data 184 of which is provided as a digital copy in the form of a digital document. The physical document 180 comprises a document body 182. The document body 182 comprises a label with the corresponding data 184 of the document 180. The label with the data 184 comprises, for example, data in the form of an alphanumeric code and / or a geometric code. The geometric code can be a one-dimensional geometric code, such as a barcode, or a two-dimensional geometric code, such as a QR code. The label is, for example, optically detectable, for example in the visible, infrared, and / or ultraviolet electromagnetic spectrum.The inscription can, for example, be printed, embossed, punched, milled, and / or cut-out structures on and / or in the document body. In the case of structures that comprise recesses in the document body, the corresponding recesses can be filled and / or sealed. To grant access to the digital document with the digital data copy of the data 184 of the physical document 180, a document 100, such as in , is provided in addition to the document 180. Figure 2 or 4 shown. This document 100 provides, for example, the cryptographic key 108 for decrypting the digital document as well as the anonymized file name 106 under which the encrypted digital document is stored on the server.
[0211] Figure 6shows an exemplary structure of the digital document 120. The digital document 120 comprises a data set with digital data 122, which is, for example, a digital copy of the data 104 of one of the physical documents 100 from Figures 1 to 4 and / or the data 184 of the document 184 from Figure 5Furthermore, the digital document comprises a digital signature 124, with which an issuer of the digital document signs the digital data 122 and thus the digital copy of the physical document 100. The digital signature 124 is, for example, a hash value of the digital data 122, which is encrypted with a private cryptographic key of the issuer of the digital document 120, i.e., a signature key. Using a signature verification key associated with the signature key, i.e., a public cryptographic key associated with the private cryptographic key, the signature can be decrypted and the resulting hash value can be compared with a hash value of the digital data 122. If the two hash values match, the digital data 122 of the document 120 is authentic data.
[0212] Figure 7shows an exemplary system 150 comprising a server 300 with a memory 302. A digital copy of data 104 of a physical document 100 is stored in the memory 302. The physical document 100 is a document with an annotated document body. The document data 104 encompassed by the annotation is provided in the form of the digital copy 120 for retrieval via a network 160 on the server 300. The physical document data 104 includes an anonymized file name 106 and a cryptographic key 108. The anonymized file name 106 is the file name under which the electronic document 120 is stored on the server 300. The cryptographic key 108 is a cryptographic key for decrypting the digital document 120.For example, the cryptographic key 108 is a symmetric cryptographic key. Alternatively, in the exemplary case of asymmetric encryption, the cryptographic key 108 can be a public cryptographic key, for example. Furthermore, the data 104 of the physical document 100 can include an identifier of the server 300, with which read requests for reading the digital document 120 can be addressed to the server 300. If the physical document 100 is available to a user, they have all the data they need to access the digital document 120. The digital document 120 is stored in the memory 302 of the server 300, for example, together with a first and second copy 126, 128 of the cryptographic key 108. Both copies 126, 128 are each encrypted using a different cryptographic key.For example, the first and second copies 126, 128 of the cryptographic key 108 are now also stored under the anonymized file name in the memory 302. For example, the first and second copies 126, 128 of the cryptographic key 108 are stored together with the document 120 in a data container under the anonymized file name 106 on the server 300. A corresponding data container or container file can be created, for example, using an archiving or packing program such as tar ("Tape ARchiver"). The server 300 further comprises a processor 304, which comprises program instructions 306. Executing program instructions 306 by the processor 304 causes the server 300 to provide the digital document 120 and send it to computer systems via the network 160. For example, the digital document 120 is sent in encrypted form.Alternatively, the program instructions 306 can be configured to decrypt the encrypted digital document 120 upon receipt of the cryptographic key 108 using the received cryptographic key 108. Furthermore, the program instructions can be configured to provide the first and / or second key copies 126, 128. The key copies 126, 128 are also stored in encrypted form on the server 300. The program instructions 306 can be configured, upon receipt of a corresponding read request, to send the encrypted first key copy 126 in encrypted form over the network 160 for local decryption on the requesting computer system. Furthermore, the program instructions 306 can be configured, upon receipt of a corresponding read request, to send the encrypted second key copy 128 over the network 160 to the requesting computer system for decryption.For example, the server 300 has a communication interface 308 for communication via the network 160 with other computer systems.
[0213] The network 160 is, for example, a public network, such as the Internet or an intranet. To access the digital document 120 provided on the server 300, a user uses, for example, a user computer system 200. The user computer system 200 includes a memory 202, a processor 204, and a communications interface 210. The processor 204 executes program instructions 206 and controls the user computer system to communicate with the server 300 via the network 160 using the communications interface 210 and to provide the digital document 120. For this purpose, the user computer system receives the anonymized file name 106 of the digital document 120 and the cryptographic key 108 for decrypting the digital document 120.The anonymized file name 106 and the cryptographic key 108 are provided in the user computer system using the physical document 100. For example, receiving the anonymized file name 106 and the cryptographic key 108 comprises user input by a user of the computer system 200. Alternatively, the physical document 100 comprises the anonymized file name 106 and the cryptographic key 108 in the form of an optoelectronically readable code. The user computer system 200 additionally comprises, for example, an optoelectronic sensor 208 configured to read the optoelectronic code of the physical document 100. Thus, the anonymized file name 106 and the cryptographic key 108 can be captured by the user computer system using the optoelectronic sensor.The user computer system sends a read request to the server, which includes at least the anonymized file name 106. In response to the corresponding read request, the server 300 sends the digital document 102 to be read, which is identified using the anonymized file name, to the user computer system 200. Communication between the user computer system 200 and the server 300 takes place, for example, via an encrypted connection, in particular an end-to-end encrypted communication connection. For example, the user computer system 200 receives the digital document 120 in encrypted form from the server and decrypts it using the cryptographic key 108.Alternatively, the user computer system 200 may send the cryptographic key 108 with the read request to the server 300, which decrypts the encrypted digital document 120 using the received cryptographic key 108 and sends the decrypted digital document 120 to the user computer system 200 via the network 160.
[0214] The system 150 further comprises an issuer computer system 400. The issuer computer system 400 includes a memory 420, a processor 410, and a communication interface 414. The processor 410 is configured to execute program instructions 412 and to control the issuer computer system to communicate with the server 300, for example, via the network 160. For example, the issuer computer system 400 is configured to create the digital document 120 using the data 104 of the physical document 100 and, for example, to sign it. In the course of issuing the physical document 100, the issuer computer system 400 generates, for example, the anonymized file name 106 for the physical document 100 and the cryptographic key 108.If the cryptographic key 108 is a symmetric cryptographic key, the issuer computer system uses, for example, the symmetric cryptographic key 108 to encrypt the digital document 120. If the cryptographic key 108 is a public cryptographic key of an asymmetric key pair, the issuer computer system uses, for example, the corresponding public cryptographic key for encryption to encrypt the digital document 120. During the issuance of the physical document 100, the issuer computer system sends the encrypted digital document 120 to the server 300, for example, with a storage request that additionally includes the anonymized file name 106.Alternatively, the encryption can also be performed on the receiver side by server 300, which, in the case of public cryptographic keys, also has knowledge of the public cryptographic key of the issuer and / or administrative authority, for example. Server 300 checks the storage request and, if the check is positive, stores the encrypted digital document 120 under the anonymized file name 106 in memory 302. If the anonymized file name is not unique, the issuer computer system can send additional file information in the storage request to uniquely identify the file. For example, the encrypted digital document 120 is stored on server 300 in a tree-like file structure that branches according to the issuer and / or the document's issue period.For example, the issuer computer system 400 sends an issuer ID and / or an indication of the issue period. To ensure that the same target file name does not result for different documents from the same document owner when calculating the anonymized file name using personal data, an additional document ID value can be used. This can be a sequential number, for example, if multiple documents are to be issued to one person in the same year.
[0215] In addition to the encrypted digital document 120, the issuer computer system 400 can create a first encrypted key copy 126 of the cryptographic key 108. To do this, the issuer computer system 400 encrypts a copy of the cryptographic key 108 with a public key 408. The issuer computer system 400 sends the resulting encrypted key copy, for example, together with the encrypted digital document 120, to the server 300 for storage. According to embodiments, a second key copy 128 of the cryptographic key 108 can additionally be created. To do this, the issuer computer system 400 encrypts, for example, a second copy of the cryptographic key 108 with a public key 508 of a management computer system 500.The encrypted digital document 120 and the two encrypted key copies 126, 128 are packed by the issuer computer system 400, for example, into a data container and sent to the server 300 for storage.
[0216] The data container can, for example, comprise a directory or a directory tree containing various individual files. Alternatively, the data container can, for example, be a file containing several other files. This can be, for example, an archive file, such as a file in TAR format, or a compressed file, such as in ZIP format. Alternatively, the data container can be a file that contains the various elements in a structured form, e.g., as text, and is then encoded as an encrypted document, e.g., using AES 256. Instead of the encrypted document, the file name 106 can also be used, for example, to refer to the encrypted document.
[0217] If, for example, the physical document 100 is lost and access to its data 104 is necessary, the issuer computer system 400 can recover the cryptographic key 108 required to access the digital copy of the data 104 of the document 100 stored in the encrypted digital document 120. To do so, the issuer computer system 400 accesses the first encrypted key copy 126, which is stored for this recovery purpose together with the encrypted document 120 under the anonymized file name 106 in the memory 302 of the server 300. To recover the cryptographic key 108, the issuer computer system 400 determines, for example, the file name 106 under which the first encrypted copy 126 of the cryptographic key 108 is stored on the server 300.Using the anonymized file name 106 thus determined, the issuer computer system 400 sends a read request to the server 300 via the network 160. This can be done, for example, via an encrypted communication connection between the issuer computer system 400 and the server 300. For example, the encrypted communication connection is an end-to-end encrypted communication connection. Based on the anonymized file name 106, the server 300 determines the key copy 126 to be provided and sends it to the issuer computer system 400. For example, the encrypted key copy 126 is stored together with the encrypted document 120 in a shared data container under the anonymized file name on the server 300.
[0218] For example, to recover the cryptographic key 108, the issuer computer system 400 determines the name of the data container in which the first encrypted copy 126 of the cryptographic key 108 is stored on the server 300 and uses this name to access the first encrypted copy 126 of the cryptographic key 108. For example, the data container can be found without prior knowledge. For example, the file name and / or the name of the data container is a hash value of the combination of the first name, last name, date of birth, school name, year of issue, and a serial number.
[0219] The sequential number may be necessary, for example, if a student has multiple certificates for the same year. Otherwise, the sequential number can be omitted. For example, the following are checked: Hash function(First name.Last name.Date of birth.School.Year), Hash function(First name.Last name.Date of birth.School.Year.01), Hash function(First name.Last name.Date of birth.School.Year.02), etc. If one of the queries no longer returns a file, the check can be aborted. For example, instead of the school name "School," the public key 408 of the issuing system can also be used.
[0220] For example, server 300 sends the data container to issuer computer system 400 in response to the read request. For example, first key copy 126 is identifiable by an ID, such as "K1." For example, digital document 120, as well as, if applicable, second key copy 128, are each identifiable by an ID, such as "D" or "K2," respectively. The corresponding IDs of digital document 120, first key copy 126, and / or second key copy 128 can be used, for example, to calculate individual analysis of the file names under which the corresponding digitized document 120, first key copy 126, and / or second key copy 128 are stored. For example, a tree-like file structure on server 300 can be additionally split for each of the documents with respect to the digital document, the first key copy, and / or the second key copy.For example, there is a branch for the document type ID, the first key type ID, and / or the second key type ID. If the digital document 120 is not packaged together with the first key copy 126 in a data container, the read request from the issuer computer system 400 can, for example, additionally include reading the digital document 120. The issuer computer system 400 receives the first encrypted key copy 126 from the server 300 via the network 160 and can decrypt it using the private cryptographic key 406, which is stored in a protected storage area 404 of the memory 402 of the issuer computer system 400. Thus, in addition to the anonymized file name 106, the cryptographic key 108 is now also available to the issuer computer system 400. The issuer computer system 400 can, for example, decrypt the encrypted document 120.Thus, the issuer computer system 400 can provide a digital copy of the data 104 of the physical document 100, even if the physical document 100 is not present. However, this possibility is limited to the issuer computer system 400, which has the necessary private cryptographic key 406. For example, the issuer computer system can provide the cryptographic document key 106 and / or the anonymized file name 106 to the user computer system 200, so that the user computer system 200 also has access to the data of the encrypted digital document 120. For example, the issuer computer system 400 can provide the decrypted digital document 120 to the user computer system 200.For example, the issuer computer system 400 can provide the user computer system 200 with the encrypted digital document 120 along with the cryptographic key 108 required for decryption. The corresponding data is sent from the issuer computer system 400 to the user computer system 200, for example, via the network 160 using an encrypted communication connection. The corresponding encrypted communication connection is, for example, an end-to-end encrypted communication connection.
[0221] Furthermore, the issuer computer system 400 can be used, for example, to issue a duplicate copy of the physical document 100. The duplicate copy comprises, for example, the data 104 of the physical document 100, which is present in the form of the digital document 120 as a digital data copy. The physical duplicate copy comprises, for example, a document body labeled with the corresponding data. The labeling of the data body of the physical duplicate copy additionally includes, for example, an anonymized file name of the duplicate copy and a cryptographic key for the duplicate copy. Furthermore, the duplicate copy comprises, for example, a duplicate note indicating that it is a duplicate copy. In addition, the duplicate note can, for example, confirm or certify the authenticity of the data in the duplicate copy.In addition to the physical duplicate, the issuer computer system 100 creates, for example, a digital copy of the data from the physical duplicate and encrypts this as a digital duplicate using the duplicate's cryptographic key. The encrypted digital duplicate is stored, for example, on the server 300 under the anonymized file name of the duplicate. For this purpose, the corresponding encrypted digital duplicate is sent from the issuer computer system 400 with a storage request via the network 160 to the server 300. The storage request additionally includes, for example, the anonymized file name of the duplicate, under which the encrypted digital duplicate is stored on the server 300 in the memory 302.To distinguish the anonymized file name of the duplicate from the anonymized file name 106 of the document 100, the anonymized file name of the duplicate can be calculated, for example, using a duplicate ID. Alternatively, a standard file structure on the server 300 in which the digital duplicate is stored can, for example, include a duplicate branch in which the digital duplicate is stored under its anonymized file name. For example, for key recovery of the cryptographic key of the duplicate, a first and / or a second key copy of the corresponding cryptographic key of the duplicate is created. The first key copy is encrypted, for example, with a public cryptographic key 408 of the issuer computer system 400.The second key copy is encrypted, for example, with a public cryptographic key 508 of the management computer system 500. The two encrypted key copies are stored, for example, together with the digital duplicate on the server 300. This can be done analogously to the digital document 120, for example, in a common data container or separately in different branches of a tree-like file structure of the server 300.
[0222] Additionally, the system 150, for example, a management computer system, may include a management instance superordinate to the issuer of the physical document 100. The management computer system 500 includes, for example, a memory 502, a processor 510, and a communications interface 514. The processor 510 is configured, for example, to execute program instructions 512 that control the management computer system 500 to communicate with other components of the system 150, such as the server 300 and / or the issuer computer system 400, via the network 160 using the communications interface 514.
[0223] The management and computer system can, for example, use a private cryptographic key 506 stored in a protected storage area 504 of the memory 502 of the management computer system 500 to restore the cryptographic key 108 of the physical document 100 in the event that the physical document 100 and / or the private cryptographic key 406 of the issuer computer system are lost or damaged. To do this, the management computer system 500 determines, for example, the anonymized file name 106 under which the second key copy 128 is stored on the server 300. The management computer system 500 sends a read request via the network 160 to the server 300 to read the second key copy 128. In response to the read request, the management computer system 500 receives the encrypted second key copy 128 of the cryptographic key 108.Communication between the server 300 and the management computer system 500 via the network 160 occurs, for example, using an encrypted communication connection, in particular an end-to-end encrypted communication connection. The management computer system 500 uses a private cryptographic key 506 stored in a protected memory area 504 of the memory 502 of the management computer system 500 to decrypt the encrypted second key copy 128. Thus, the management computer system 500 gains access to the cryptographic key 108. The management computer system 500 can provide the corresponding cryptographic key 108, for example, to the issuer computer system 400 or the user computer system 200 via an encrypted communication connection.Additionally, the management computer system 500 can, for example, read the encrypted document 120 from the memory 302 of the server 300 and provide it to the issuer computer system 400 or the user computer system 200 along with the cryptographic key 108. Alternatively, the management system 500 can decrypt the encrypted digital document 120 and provide it to the issuer computer system 400 or the user computer system 200 via an encrypted communication connection.
[0224] If the management computer system 500 provides the decrypted second copy 128 of the cryptographic key 108 to the issuer computer system 400, the issuer computer system can, for example, create a third encrypted key copy of the cryptographic key 108 and send this to the server 300 with a storage request so that the server 300 replaces the first key copy 126 with the newly created third key copy. For the third key copy, the issuer computer system 400 generates, for example, a new asymmetric key pair, whose private cryptographic key it stores in the protected storage area 404 of the memory 402 as a replacement for the previous private cryptographic key 406, while using the corresponding newly generated public cryptographic key to generate the third encrypted key copy as a replacement for the previous public cryptographic key 408.Alternatively, the issuer computer system may forward the cryptographic key 108 provided by the management computer system 500 or the decrypted digital document 102 provided by the management computer system 500 to the user computer system 200 via an encrypted communication connection. Alternatively, the issuer computer system 400 may, for example, use the cryptographic key 108 received from the management computer system 500 or the received decrypted digital document 120 to issue a duplicate as a replacement for a lost physical document 100 or a damaged physical document 100.
[0225] Figure 8shows a schematic flow diagram of an exemplary method for storing a digital document on a server. In block 750, the digital document is created. For this purpose, for example, a digital copy of document data of a physical document is created, for example in PDF format and signed. The underlying physical document includes, for example, an anonymized file name under which the digital document generated in block 750 is to be stored on a server. Furthermore, the physical document includes, for example, a cryptographic key with which the digital document is to be encrypted. For example, the anonymized file name and / or the cryptographic key are generated by an issuer computer system during the creation of the physical document. Furthermore, the digital document is generated by the issuer computer system in block 750. In block 752, the cryptographic key of the document is provided.In block 744, the digital document is encrypted with the cryptographic key provided in block 752. In block 756, a first copy of the cryptographic key provided in block 752 is encrypted with a first public key, for example, a public key of an asymmetric key pair of the issuer computer system. In block 758, a second copy of the cryptographic key provided in block 752 is encrypted with a second public cryptographic key, for example, a public cryptographic key of an asymmetric key pair of a management computer system. In block 760, the encrypted digital document generated in block 754 is stored on the server together with the two encrypted key copies generated in blocks 756 and 758. For example, storage occurs under the anonymized file name.For example, the encrypted digital document and the two encrypted key copies are combined for this purpose by the issuer computer system in a data container, which is stored on the server under the anonymized file name. For example, the encrypted digital document and the two encrypted key copies are stored separately on the server. For example, they are stored on the server under the same file name in different branches of a tree-like file structure. For example, they are each stored using different file names. Corresponding different file names are calculated, for example, using a type ID, i.e., a document type ID, a first key copy ID, and a second key copy ID.
[0226] Figure 9shows a schematic flow diagram of an exemplary method for recovering a cryptographic key for decrypting an encrypted digital document. The corresponding digital document is stored in encrypted form on a server under an anonymized file name. The anonymized file name and the cryptographic key are provided, for example, in the form of a label on the body of a physical document. If the corresponding physical document is lost or damaged to such an extent that the label containing the cryptographic key is no longer usable, key recovery is required. Such key recovery can be performed, for example, using a copy of the corresponding cryptographic key that is stored in encrypted form on the server together with the digital document.In block 770, an issuer computer system for recovering the cryptographic key determines an anonymized file name under which the encrypted first copy of the cryptographic key to be recovered is stored on a server. In block 772, the issuer computer system establishes a connection to the server via a network. The established connection can be, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 774, the issuer computer system sends a read request with the anonymized file name determined in block 770 to the server for reading the first copy of the cryptographic key. In block 776, the issuer computer system receives, in response to the sent read request, an encrypted first copy of the cryptographic key, which the server has identified using the anonymized file name.In block 778, the issuer computer system decrypts the received encrypted first copy of the cryptographic key, which is provided in block 780 for further use on the issuer computer system.
[0227] Figure 10 shows a schematic flow diagram of the exemplary process of Figure 9from the server's perspective. In block 790, a connection is established between the issuer computer system and the server via the network. The corresponding connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 792, the server receives the read request from the issuer computer system with the anonymized file name, which the server uses to identify the encrypted first copy of the cryptographic key to be read in block 794. The identified encrypted first copy of the cryptographic key is sent from the server to the issuer computer system in block 796.
[0228] Figure 11 shows a schematic flow diagram of an exemplary process for issuing a duplicate to replace a lost or damaged document. Figure 11is divided into two parts due to the number of steps, i.e. a first part 11A and a second part 11B, each of which is arranged on a separate page. For this purpose, a digital document stored on a server is used, which is a digital copy of the physical document to be replaced with the duplicate. In block 800, the issuer computer system determines a first anonymized file name under which the digital document is stored in encrypted form on the server. In block 802, the issuer computer system establishes a connection to the server via a network. The established connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 804, the issuer computer system sends a read request with the anonymized file name determined in block 800 to the server.The server uses the received anonymized file name to identify the encrypted copy of the cryptographic key to be provided for decrypting the encrypted digital document and the encrypted digital document. In block 806, the issuer computer system receives the corresponding encrypted copy of the cryptographic key and the corresponding encrypted digital document in response to the read request from block 804. In block 808, the issuer computer system decrypts the received encrypted copy of the cryptographic key using a private cryptographic key of an issuer computer system. The corresponding private cryptographic key is stored, for example, in the protected memory area of a memory of the issuer computer system.In a block 810, the issuer computer system uses the document cryptographic key decrypted in block 808 to decrypt the digital document received in block 806.
[0229] The issuer computer system now contains the data of the physical document in digital form. The issuer computer system can now use the corresponding digital data, for example, to generate a duplicate to replace the document. For this purpose, in block 812, the issuer computer system generates, for example, a cryptographic key for the duplicate. In the case of a cryptographic key, the cryptographic key generated in block 812 is used to encrypt the duplicate to be generated. In the case of a public cryptographic key, which is generated in block 812, an additional private cryptographic key, i.e., an asymmetric cryptographic key pair, is generated in block 812.The private cryptographic key is used to encrypt the digital duplicate, while the public cryptographic key is used to decrypt the encrypted digital duplicate. In block 814, an anonymized file name for the duplicate is generated. The anonymized file name of the duplicate can, for example, be the same anonymized file name under which the digital document is stored on the server if the digital duplicate is stored in a different branch of a tree-like file structure on the server. Alternatively, the anonymized file name of the journal can differ from the anonymized file name of the document, for example, by using a duplicate ID during the generation of the corresponding anonymized file name. In block 816, a physical duplicate is generated.For this purpose, a document body of the physical duplicate is labeled with data from the physical duplicate. The data of the physical duplicate comprise the data of the original document. Furthermore, the data of the physical duplicate comprise, for example, the cryptographic key of the duplicate generated in block 812 and the anonymized file name of the duplicate determined in block 814. In addition, the data of the duplicate can comprise, for example, a duplicate note that identifies the physical duplicate as a duplicate and, for example, confirms or certifies the authenticity of the data in the duplicate. In block 818, a digital copy of the duplicate generated in block 816 is generated in the form of a digital duplicate. The corresponding digital duplicate comprises the data of the physical duplicate with which the document body of the physical duplicate is labeled.In addition, the digital duplicate is signed, for example, by the issuer's computer system. For this purpose, the data of the duplicate is signed with a signature key. For example, a hash value of the data of the digital duplicate is created, and this hash value is signed with the signature key, which is, for example, a private cryptographic key of the signer. This signature can be verified for its correctness and thus for the authenticity of the data of the digital duplicate using a signature verification key, for example, a public cryptographic key of the signer associated with the private cryptographic key of the signer. In block 820, the digital duplicate created in block 818 is encrypted using the cryptographic key generated in block 812.In block 822, a storage request containing the encrypted digital duplicate and the anonymized file name determined in block 814 is sent from the issuer computer system to the server for storing the encrypted digital duplicate under the corresponding anonymized file name. For example, the storage request is sent from the issuer computer system to the storage computer system via an encrypted communication connection, in particular an end-to-end encrypted communication connection.
[0230] For example, a first and / or a second encrypted copy of the cryptographic key generated in block 812 is additionally generated for the digital duplicate. The corresponding copies are encrypted, for example, with a public cryptographic key of the issuing computer system or with a public cryptographic key of an administrative computer system of an administrative authority. The encrypted copies of the cryptographic key generated in block 812 are stored on the server together with the digital duplicate to enable access to the digital duplicate even in the event of loss and / or damage to the physical document.
[0231] Figure 12 shows a schematic flow diagram of the process of Figure 11from the server's perspective. In block 830, a connection is established between the issuer computer system and the server via the network. The connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 832, the server receives a read request from the issuer computer system with the anonymized file name of the document for reading the digital copy of the corresponding document, i.e., the digital document, as well as an encrypted first copy of the document's cryptographic key. In block 834, the server identifies the requested digital document as well as the corresponding encrypted copy of the associated cryptographic key.In block 835, in response to the read request received in block 832, the server sends the encrypted digital duplicate identified in block 834, along with the identified encrypted copy of the associated cryptographic key, to the issuer computer system. In block 836, the server receives a save request containing the digital duplicate and the anonymized file name under which the received digital duplicate is to be saved. In block 834, the server saves the received digital duplicate under the received anonymized file name.
[0232] Figure 13 shows a schematic diagram of an exemplary embodiment of a physical duplicate 101. In the physical duplicate 101 in Figure 13 For example, it is a duplicate copy of the Figure 1shown document 100. The physical duplicate 101 comprises a document body 103, which includes a label with the data 104 of the original document. The data 104 of the original document includes, for example, an anonymized file name 106 and a cryptographic key 108 of the document. Furthermore, the data 112 with which the document body 103 of the duplicate 101 is labeled includes a duplicate note 114, which identifies the physical duplicate 101 as a duplicate of the original document and, for example, confirms or certifies the authenticity of the data 104 of the original document. In addition, the data 112 include, for example, an anonymized file name 116, under which a digital copy of the physical duplicate 101, i.e., a digital copy of the data 112, is stored on a server. The digital duplicate is encrypted.The data 112 of the physical duplicate 101 further includes, for example, a cryptographic key 118 with which the encrypted digital duplicate can be decrypted. If a user has access to the physical duplicate 101, they can use the anonymized file name 116 and the cryptographic key 118 to obtain the digital duplicate from the server and decrypt it. Decryption can take place either locally on a user computer system or centrally on the server. In the latter case, the cryptographic key 118 must be made available to the server by the user computer system. This enables the provision of a digital copy of the duplicate 101 to a user, in which the data 112 of the duplicate 101 is cryptographically secured.In particular, personal data of the owner of the digital document included in data 112 can thus be effectively protected.
[0233] Figure 14 shows a schematic diagram of another exemplary embodiment of a physical duplicate 101. In the physical duplicate 101 in the Figure 14 For example, it is a physical duplicate of document 100 of the Figure 3 . The physical duplicate 101 of the Figure 14 essentially corresponds to the physical duplicate 101 of the Figure 13 In contrast to the physical duplicate 101 of the Figure 13 include the original document data 104, which contains the data 112 of the physical duplicate 101 of the Figure 14comprise an optoelectronically readable code 110. The optoelectronically readable code 110 of the data 104 of the original document provides, for example, an anonymized file name in optoelectronically readable form, under which a digital copy of the original document is stored on a server. Furthermore, the optoelectronically readable code 110 provides, for example, a cryptographic key for decrypting the digital document stored in encrypted form on the server under the anonymized file name in optoelectronically readable form. Like the data 104 of the original element, the data 112 of the physical duplicate 102 also comprise an optoelectronic code 119 with data of the duplicate 101. For example, the optoelectronically readable code 119 of the duplicate 101 comprises an anonymized file name, under which a digital copy of the data 112 of the physical duplicate 101, iea digital duplicate copy is stored. Furthermore, the optoelectronically readable code 119 includes, for example, a cryptographic key in optoelectronically readable form for decrypting the encryption of the digital duplicate copy, which is stored on the server under the anonymized file name of the duplicate copy.
[0234] If a user has the physical duplicate 101, he is able to access a digital copy of the duplicate 101, i.e. a digital duplicate stored on the server, using the optoelectronic code 119.
[0235] Figure 15 shows another exemplary embodiment of a physical duplicate 181. In the physical duplicate 181 in Figure 15 For example, it is a duplicate copy of the Figure 5shown document 180. The physical duplicate 181 comprises a document body 183, which includes a label with the data 184 of the original document. Furthermore, the data 186 with which the document body 183 of the duplicate 181 is labeled includes a duplicate note 114, which identifies the physical duplicate 181 as a duplicate of the original document and, for example, confirms or certifies the authenticity of the data 184 of the original document.
[0236] Figure 16 shows an exemplary embodiment of a third physical document 190. The physical document 190 is a document that provides the anonymized file name 116 and the cryptographic key 118.
[0237] For this purpose, the document 190 comprises a document body 193, which comprises a label with the data 194. The data 194 comprise the anonymized file name 116, under which a digital copy of the physical duplicate 181 from Figure 15, i.e. a digital copy of the data 186, is stored on a server. The digital duplicate is encrypted. The data 194 further comprise, for example, the cryptographic key 118, with which the encrypted digital duplicate can be decrypted. If a user has access to the document 190, they can use the anonymized file name 116 and the cryptographic key 118 to obtain the digital duplicate from the server and to decrypt it. The decryption can take place either locally on a user computer system of the user or centrally on the server. In the second case, the cryptographic key 118 must be made available to the server by the user computer system. This enables a digital copy of the duplicate 181 to be provided to a user, in which the data 186 of the duplicate 181 is cryptographically secured.In particular, personal data of the owner of the digital document covered by data 186 can thus be effectively protected.
[0238] Figure 17 shows another exemplary embodiment of a third physical document 190. The document 190 of the Figure 17 essentially corresponds to document 190 of the Figure 16 . In contrast to document 190 of the Figure 16 the data 194 comprise an optoelectronically readable code 119. The optoelectronically readable code 119 of the data 194 comprises, for example, an anonymized file name under which a digital copy of the data 186 of the physical duplicate 181 from Figure 15, ie, a digital duplicate. Furthermore, the optoelectronically readable code 119 comprises, for example, a cryptographic key in optoelectronically readable form for decrypting the encryption of the digital duplicate, which is stored on the server under the anonymized file name of the duplicate.
[0239] If a user has the document 190, he is able to access a digital copy of the duplicate 181, i.e. a digital duplicate stored on the server, using the optoelectronic code 119.
[0240] Figure 18 shows a schematic diagram of an exemplary embodiment of a digital duplicate 121. The digital duplicate 121 is, for example, a digital duplicate of the physical duplicate 101 of the Figure 13 or 14or a digital copy of the physical copy 181 of the Figure 15The digital duplicate 121 comprises a digital copy 122 of the data 104 or 184 of the original document. These digital data of the duplicate 121 are signed, for example, with a digital signature 124 of an issuer of the original document. Furthermore, the digital duplicate 121 additionally comprises digital data 123. The digital data 122, which are copies of the data 104 or 184 of the original document in combination with the digital data 123, which are digital copies of the additional data of the duplicate 101 or 181, together form a digital copy of the data 112 of the duplicate 101 or the data 186 of the duplicate 181. The additional digital data 123 of the duplicate include, for example, a digital copy of the duplicate note 114 as well as a digital copy of the anonymized file name 116 and the cryptographic key 118 of the Figure 13 or 16or the optoelectronically readable code 119 of the Figure 14 or 17 . Furthermore, the digital duplicate 121 includes, for example, a digital signature of the issuer of the duplicate. The digital signature 125 of the digital duplicate 121 is used, for example, to sign the digital data 122, the digital signature 124, and the additional digital data 123. The digital signature 125 can be used to verify the authenticity of the data provided by the digital duplicate 121.
[0241] Figure 19 shows a schematic diagram of an exemplary method for recovering a cryptographic key for decrypting a digital copy of a document provided in encrypted form on a server. In the case of the method of Figure 19The cryptographic key is restored using a second encrypted copy of the cryptographic key stored on the server. The second encrypted copy of the cryptographic key is, for example, a copy of the cryptographic key encrypted with a public cryptographic key of an administrative computer system of an administrative authority. Thus, to decrypt the corresponding copy of the cryptographic key, a private cryptographic key of the administrative computer system is required. The corresponding private cryptographic key of the administrative computer system is stored, for example, in the protected memory area of a memory of the administrative computer system.The second copy of the cryptographic key serves as a fallback in the event that recovery of the cryptographic key using a first cryptographic copy, which is encrypted, for example, with a public cryptographic key of an issuer computer system of an issuer of the digital document, fails. This may be due, for example, to a loss or corruption of a private cryptographic key of the issuer computer system required to decrypt the first copy of the cryptographic key. In this case, the method of the . Figure 19as a fallback position, so that even in case of loss or damage of the private cryptographic key of the issuing computer system, recovery of the cryptographic key of the digital document and thus access to the digital document is still possible. The procedure of Figure 19 is analogous to the procedure of Figure 9In block 840, the management computer system determines an anonymized file name under which a second copy of the document's cryptographic key is stored. In block 842, the management computer system establishes a connection to the server via a network. The connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 844, the management computer system sends a read request with the anonymized file name determined in block 840 to the server. Using the received anonymized file name, the server identifies the encrypted second copy of the cryptographic key to be read. In block 846, the management computer system receives the encrypted second copy of the cryptographic key in response to the read request sent in block 844.In block 848, the management computer system decrypts the encrypted second copy of the cryptographic key received in block 846 using the private cryptographic key of the management computer system and provides the decrypted second copy of the cryptographic key for further use in block 850. For example, the management computer system may provide the decrypted cryptographic key to the issuer computer system and / or a user computer system. Thus, the issuer computer system and / or the user computer system may gain access to the digital document, in particular the digital copies of the physical document data created by the digital documents.For example, the issuing computer system can use the decrypted copy of the cryptographic key to create a new encrypted copy of the cryptographic key, which it then encrypts with a newly generated public cryptographic key of the issuing computer system. This newly created cryptographic copy can be used, for example, to replace the encrypted first copy of the cryptographic key. Furthermore, the decrypted copy of the cryptographic key can be used by the issuing computer system to issue a duplicate copy of the digital document.
[0242] Alternatively, blocks 840 to 844 could also be executed by the issuer computer system, which, in response to the read request sent in block 844, receives the encrypted second copy of the cryptographic key and forwards it to the management computer system. The management computer system then receives the encrypted second copy of the cryptographic key from the issuer computer system in block 846.
[0243] Figure 20 shows a schematic flow diagram of the process of Figure 19from the server's perspective. In block 860, a connection is established between the management computer system and the server via the network. The connection is, for example, an encrypted connection, in particular an end-to-end encrypted connection. In block 862, the server receives the read request from the management computer system with the anonymized file name. The server uses the anonymized file name to identify the encrypted second copy of the cryptographic key to be read out in block 864. In block 866, in response to the read request received in block 862, the server sends the encrypted second copy of the cryptographic key identified in block 864 to the management computer system.
[0244] If blocks 840 to 844 in Figure 19 also be executed by the issuer computer system, the server communicates in Figure 11with the issuer computer system instead of the administrative computer system.
[0245] Figure 21 shows a schematic flow diagram of an exemplary method for replacing an encrypted first copy of the cryptographic key on the server with an encrypted third copy of the cryptographic key. The method of Figure 21 is executed, for example, by a management computer system. Blocks 870 to 880 of the Figure 21 are identical to blocks 840 to 850 of the Figure 19In block 882, the management computer system receives a public cryptographic key generated by the issuer computer system for creating the encrypted third copy of the document's cryptographic key. For example, the corresponding cryptographic key is received from the issuer computer system over the network. For example, the issuer computer system generates an asymmetric key pair with the corresponding public cryptographic key and a private cryptographic key to replace the previous asymmetric key pair. This may be necessary, for example, if the previous private cryptographic key for decrypting the encrypted first copy of the cryptographic key is lost or corrupted. In block 884, an encrypted third copy of the cryptographic key is created.For this purpose, the decrypted second copy of the cryptographic key provided in block 880 is encrypted with the public cryptographic key of the issuer computer system provided in block 882. The encrypted third copy of the cryptographic key thus created is sent from the management computer system to the server via the network in block 886. For this purpose, a corresponding storage request is created. The corresponding storage request further includes the anonymized file name determined in block 870 under which the first copy of the cryptographic key is stored on the server. The server, which receives the corresponding storage request, then replaces, for example, the encrypted first copy of the cryptographic key stored under the anonymized file name with the encrypted third copy of the cryptographic key received with the storage request.If the encrypted first copy of the cryptographic key is stored together with the encrypted digital documents and / or the encrypted second copy of the cryptographic key in a data container on the server, the management computer system additionally reads the encrypted digital document from the server in blocks 874, 876 and creates a new data container comprising the encrypted digital document and the encrypted second copy of the cryptographic key, as well as the encrypted third copy of the cryptographic key, which replace the previously encrypted first copy of the cryptographic key. This newly created data container is sent to the server, for example, with the save request in block 886, which replaces the previous data container with the new data container. To do this, the issuing computer system, for example, demonstrates write authorization on the server.The corresponding write authorization is verified, for example, during authentication of the administrative computer system to the server, during which the administrative computer system presents a credential. The corresponding credential can, for example, be a corresponding certificate of the administrative computer system.
[0246] Figure 22 shows a schematic flow diagram of another exemplary method for replacing the encrypted first copy of the cryptographic key on the servers with an encrypted third copy of the cryptographic key. The method of Figure 11 is executed by the issuing computer system and follows, for example, the procedure executed by the administrative computer system of Figure 19 The proceedings of the Figure 19The decrypted second copy of the cryptographic key provided is sent from the management computer system to the issuer computer system, for example, via an encrypted communication connection. In block 900, the issuer computer system receives the decrypted second copy of the cryptographic key. In block 902, the issuer computer system generates a new asymmetric key pair to replace the previous asymmetric key pair. For example, the key pair generated in block 902 is intended to replace a lost or damaged previous asymmetric key pair of the issuer computer system. In block 904, a private cryptographic key of the asymmetric key pair generated in block 902 is stored in a protected memory area of the issuer computer system. In block 906, an encrypted third copy of the cryptographic key is created.For this purpose, for example, the decrypted second copy of the cryptographic key received in block 900 is encrypted with a public cryptographic key of the cryptographic key pair of the issuer computer system generated in block 902. In block 908, an anonymized file name is determined under which the previously encrypted first copy of the cryptographic key is stored on the server. In block 910, a connection is established between the issuer computer system and the server. The connection is, for example, an encrypted connection, in particular an end-to-end encrypted connection. In block 912, a storage request is created with the encrypted third copy of the cryptographic key created in block 906 and the anonymized file name determined in block 908.The server receives this storage request and, using the anonymized file name, identifies the previously encrypted first copy of the cryptographic key, which is replaced by the newly created encrypted third copy of the cryptographic key. If the previously encrypted first copy of the cryptographic key is stored on the server together with the digital document and the encrypted second copy of the cryptographic key in a common data container on the server, the issuer computer system additionally receives, for example in block 900, the encrypted digital document and the encrypted second copy of the cryptographic key from the management computer system. Alternatively, the issuer computer system can read the encrypted digital document and / or the encrypted second copy of the cryptographic key from the server.To do this, the issuer computer system uses, for example, the decrypted second copy of the cryptographic key received in block 900 and the anonymized file name determined in block 908. Using the encrypted digital document as well as the encrypted second copy of the cryptographic key and the encrypted third copy of the cryptographic key, the issuer computer system can generate a new data container, which it sends to the server in block 912 with the storage request to replace the previous data container.
[0247] Figure 23 shows a schematic flow diagram of an exemplary process in the Figure 22from the server's perspective. In block 920, a connection is established between the issuer computer system and the server. The corresponding connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. In block 922, the server receives the storage request with the encrypted third copy of the cryptographic key and the anonymized file name under which the encrypted third copy of the cryptographic key is to be stored on the server. In the previously described case of a data container which, in addition to the encrypted third copy of the cryptographic key, includes the encrypted digital file name and the encrypted second copy of the cryptographic key, the corresponding data container to replace the previous data container is received with the storage request.In block 924, the server uses the anonymized file name received in block 922 to identify the previously encrypted first copy of the cryptographic key. In block 926, the previously encrypted first copy of the cryptographic key identified in block 924 is replaced with the encrypted third copy of the cryptographic key received in block 922. In the case of a data container, the previously encrypted first copy of the cryptographic key is replaced with the data container received in block 922.
[0248] In the case of the procedure of Figure 21 The server first performs the procedure of Figure 20 This is followed by the procedure of Figure 23 However, the connection setup in block 920 may be omitted if the connection established in block 860 is maintained.
[0249] Figure 24shows a schematic flow diagram of an exemplary method for providing a digital document. The corresponding digital document is stored on a server in encrypted form and with an anonymized file name. A physical document is present, which comprises a document body labeled with data from the physical document. The digital document is a digital copy of the data of the physical document. For example, the digital document is signed. The data of the physical document comprises an anonymized file name under which the digital document is stored on the server, as well as a cryptographic key with which the encrypted digital document can be decrypted. In block 700, a user computer system receives the anonymized file name and the cryptographic key using the physical document.For example, receipt includes user input of the anonymized file name and the cryptographic key. Alternatively, the physical document may include the anonymized file name and the cryptographic key in the form of an optoelectronically readable code, which the user computer system can detect using an optoelectronic sensor. In block 702, the user computer system establishes a connection to the server via a network. The corresponding connection is, for example, an encrypted communication connection, in particular an end-to-end encrypted communication connection. The connection establishment may occur, for example, after receipt of the anonymized file name and the cryptographic key.This may be the case, for example, if an optoelectronic code of the physical document is read, which further comprises an identifier of the server for addressing the server. Alternatively, the connection can be established before the anonymized file name and the cryptographic document key are received. This is the case, for example, if a website provided by the server is first called up, which includes a graphical user interface with input fields into which the user of the user computer system must enter the anonymized file name and / or the cryptographic key. If decryption of the encrypted digital document on the user computer system occurs after receipt of the encrypted digital document from the server, the document key can also be entered, for example, immediately before decryption of the digital document, i.e., directly before block 708.In block 704, a read request containing the file name is sent to the server over a network. In response to the sent read request, the user computer system receives the requested encrypted digital document in block 706, which is decrypted in block 708 using the previously received document cryptographic key. Finally, in block 710, the decrypted digital document is provided to the user computer system.
[0250] Figure 25 shows the procedure of Figure 24from the server's perspective. In block 720, a connection is established over the network between the user computer system and the server. In block 722, the server receives a read request from the user computer system with the anonymized file name to identify the digital document to be read. In block 724, the server identifies the digital document to be read and, in block 726, sends it in encrypted form to the user computer system in response to the read request received in block 722.
[0251] Figure 26 shows a schematic flow diagram of another exemplary method for providing a digital document. In the case of Figure 26 The decryption of the encrypted digital document takes place on the server, in contrast to the procedures in Figure 24 , in which the decryption takes place on the user computer system. Blocks 730 and 732 of the Figure 26 are identical to blocks 700 and 702 of the Figure 24 . Block 734 of the Figure 26 corresponds to block 704 of the Figure 24 with the difference that the read request includes, in addition to the anonymized file name, the cryptographic key of the document. In this case, the connection between the user computer system and the server is an encrypted communication connection, in particular an end-to-end encrypted communication connection. Block 736 of the Figure 26 corresponds to block 706 of the Figure 24 with the difference that the user computer system receives the digital document in decrypted form. The server uses the cryptographic key in block 734 to decrypt the digital document stored under the anonymized file name. In block 738, the user computer system makes the received decrypted digital document available for further use.
[0252] Figure 27shows a schematic flow diagram of the exemplary process of Figure 26 from the server's perspective. In block 740, an encrypted communication connection is established between the user computer system and the server. In block 742, the server receives a read request from the user computer system, which includes an anonymized file name for identifying a digital document to be read and a cryptographic key for decrypting the digital document to be read. In block 744, the server identifies the digital document to be read using the received anonymized file name. In block 746, the server decrypts the identified digital document and sends this decrypted digital document to the requesting user computer system in block 748 in response to the read request from block 742.
[0253] Figure 28shows an exemplary data container 107. The data container 107 serves to provide one or more encrypted copies of the cryptographic key for decrypting the digital document. The corresponding copies enable recovery of the cryptographic key for decrypting the digital document. For example, the data container 107 comprises a first encrypted copy 126 of the cryptographic key for decrypting the digital document and / or a second encrypted copy 128 of the cryptographic key for decrypting the digital document. The first copy 126 is encrypted, for example, with a public cryptographic key of an issuer computer system of an issuer of the digital document.Thus, for example, only the issuing computer system that possesses a private cryptographic key matching the corresponding public cryptographic key is capable of decrypting the first encrypted copy 126 and thus recovering the cryptographic key for decrypting the digital document. The second copy 128 is encrypted, for example, with a public cryptographic key of an administrative computer system of an administrative authority. Thus, for example, only the administrative computer system that possesses a private cryptographic key matching the corresponding public cryptographic key is capable of decrypting the second encrypted copy 128 and thus recovering the cryptographic key for decrypting the digital document.
[0254] The data container 107 is stored on the server under an anonymized file name 105. The anonymized file name 105 is, for example, a file name derivable from the data associated with the document. For example, the data includes personal attributes and / or data of the document. For example, the file name can be derived from a combination of data associated with the document using a hash function. For example, the data further includes data associated with the issuer computer system and / or the management computer system. For example, the data further includes data known only to the issuer computer system and / or the management computer system.
[0255] For example, the anonymized file name 105 is a hash value of the combination of the holder's first name, last name, date of birth, issuer, year of issue, and a serial number. The serial number may be necessary, for example, if several documents are issued for the same holder by the same issuer in the same year. Otherwise, the serial number can be omitted. If a search is to be carried out for a matching document or a suitable copy for decrypting a digital document, various combinations are checked until a matching document or a copy of a matching cryptographic key is found or a predefined maximum serial number is reached. Example combinations are: hash function (first name. last name. date of birth. issuer. year), hash function (first name. last name. date of birth. issuer. year. 01), hash function (first name. last name.Date of birth.Issuer.Year.02), etc.
[0256] It is therefore possible to derive, i.e., determine, the anonymized file name 105 with sufficient knowledge of the necessary data. Thus, for example, the issuer computer system and / or the administration computer system can gain access to the data container 107 and thus to the encrypted copies of the cryptographic key for decrypting the digital document. For example, the issuer computer system can use the anonymized file name 105 to gain access to the encrypted first copy 126 and decrypt it with a private cryptographic key of the issuer computer system. Thus, the issuer computer system gains access to the cryptographic key for decrypting the encrypted digital document.For example, the management computer system can access the encrypted second copy 128 using the anonymized file name 105 and decrypt it with a private cryptographic key of the management computer system. Thus, the management computer system gains access to the cryptographic key for decrypting the encrypted digital document.
[0257] If the data container 107 contains only one copy of the cryptographic key for decrypting the encrypted digital document, the encryption of the first copy may also consist of an encryption of the data container 107. For example, the data container 107 may be encrypted with the copy using a public cryptographic key of an issuer computer system or an administrative computer system.
[0258] For example, the file container 107 further includes the encrypted digital document 120. Thus, the issuing computer system or the management computer system can decrypt the encrypted digital document 120 using the previously obtained cryptographic decryption key. Thus, the decrypting issuing computer system or management computer system can gain access to the digital document in unencrypted form.
[0259] Figure 29 shows an alternative embodiment of an exemplary data container 107. The data container 107 in Figure 29 differs from the data container 107 in Figure 28 by the fact that the data container 107 in Figure 29Instead of the digital document 120, it includes another anonymized file name 106 under which the encrypted digital document 120 is stored on the server. The issuing computer system or management computer system can use the anonymized file name 106 provided by the data container 107 to identify and download the digital document 120 from the server. The encrypted digital document 120 can then be decrypted using the previously obtained cryptographic decryption key.
[0260] This can have the advantage that, for example, only exactly one copy of the encrypted digital document 120 is stored on the server. This can, for example, be stored under an anonymized file name 106 that cannot be derived from other data. This can, for example, be a random character string, such as a random number. This file name 106 could then only be used by participants who have access to it. For example, the label of the physical document includes this file name 106. Thus, a user who has the physical document has access to the file name 106 and thus to the encrypted digital document 120. The physical document also provides this user with the cryptographic key for decrypting the encrypted digital document 120.
[0261] Likewise, for example, an issuer computer system or an administrative computer system can derive the file name 105 and thus gain access to the data container 107 with the file name 106. At the same time, the data container 107 provides the issuer computer system or administrative computer system with, for example, the cryptographic key for decrypting the encrypted digital document 120 in the form of encrypted copies 126, 128.
[0262] This makes it possible, for example, to ensure a high level of security while simultaneously providing the user of the physical document with access to the digital document, as well as selective access without the physical document. Such selective access without the physical document is provided, for example, to an issuer computer system or administrative computer system. Access depends, for example, on a private cryptographic key of the issuer computer system or administrative computer system.
[0263] In the case of Figure 28For example, two copies of the encrypted digital document are stored on the server: one under an anonymized file name 106, which can in particular be a non-derivable file name, such as a random number, and one as part of the data container under a derivable anonymized file name 105. The server makes the copy under file name 106 available to users who have the physical document. The server makes the other copy under file name 105 available to an issuing computer system or administrative computer system that does not have access to the physical document. List of reference symbols
[0264] 100First physical document 101Physical duplicate 102Document body 103Document body 104Document data 105Anonymized file name 106Anonymized file name 107Data container 108Cryptographic key 110Optoelectronically readable code 112Duplicate data 114Duplicate note 116Anonymized file name 118Cryptographic key 119Optoelectronically readable code 120Digital document 121Digital duplicate 122Digital copy of document data 123Digital signature 124Digital copy of duplicate data 125Digital signature 126Key copy 128Key copy 150System 160Network 180Second physical document 181Physical duplicate 182Document body 183Document body 184Document data 186Duplicate data 190Third physical document 192Third document body 194Third document data 200User computer system 202Memory 204Processor 206Program instructions 208Optoelectronic sensor 210Communication interface 300Server 302Memory 304Processor306 Program instructions 308 Communications interface 400 Issuer computer system 402 Memory 404 Protected memory area 406 Private cryptographic key 408 Public cryptographic key 410 Processor 412 Program instructions 414 Communications interface 500 Management computer system 502 Memory 504 Protected memory area 506 Private cryptographic key 508 Public cryptographic key 510 Processor 512 Program instructions 514 Communications interface
Claims
1. A method for recovering a first cryptographic key (108) for decrypting an encrypted digital document (120) by an issuer computer system (400) of an issuer of the digital document (120), wherein the digital document (120), which is a digital copy (122) of data (104) of a physical document (100, 180), is saved in encrypted form under a first anonymised file name (106) on a server (300), wherein a first copy (126) of the first cryptographic key (108) is further saved in encrypted form under a second anonymised file name (105) on the server (300), wherein the encrypted digital document (120) is decryptable with use of the first cryptographic key (108), wherein the first copy (126) of the first cryptographic key (108) is encrypted with a second public cryptographic key (408) of a second asymmetric key pair assigned to the issuer of the digital document (120), wherein the second anonymised file name (105) is calculated with use of a combination of personal attributes of the owner of the digital document (120), to which a one-way function is applied, wherein a second private cryptographic key (406) of the second asymmetric key pair of the issuer is saved in a protected memory area of a memory of the issuer computer system (400), wherein the method comprises: • determining the second anonymised file name (105) with use of the combination of personal attributes of the owner of the digital document (120) by the issuer computer system (400), • establishing a first connection via a network (160) between the issuer computer system (400) and the server (300), • sending a read request to read the encrypted first copy (126) of the first cryptographic key (108) from the issuer computer system (400) via the first connection to the server (300), wherein the read request comprises the determined second anonymised file name (105) for identification of the encrypted first copy (126) of the first cryptographic key (108) on the server (300), • in response to the sending of the read request, receiving the encrypted first copy (126) of the first cryptographic key (108) by the issuer computer system (400) from the server (300) via the first connection, • decrypting the encrypted first copy (126) of the first cryptographic key (108) by the issuer computer system (400) with use of the second private cryptographic key (406) .
2. The method according to claim 1, wherein the data (104) of the physical document (100) comprise the first anonymised file name (106), under which the digital document (120) is saved in encrypted form on a server (300), and the first cryptographic key (108) to decrypt the encrypted digital document (120).
3. The method according to any one of the preceding claims, wherein the first cryptographic key (108) is recovered (200) upon receipt, by the issuer computer system (400) from a user computer system, of a loss report concerning a loss of the physical document (100, 180), and / or wherein the first connection is an encrypted communications connection and / or wherein the issuer computer system (400) sends the decrypted first copy (126) of the first cryptographic key (108) via a second connection to the user computer system (200), wherein the second connection is an encrypted communications connection.
4. The method according to any one of the preceding claims, wherein a reading of the encrypted digital document (120) is also requested with the sent read request, wherein the encrypted digital document (120) together with the encrypted first copy (126) of the first cryptographic key (108) is received by the issuer computer system (400).
5. The method according to claim 4, wherein the encrypted digital document (120) together with the decrypted first copy of the first cryptographic key (108) is sent to the user computer system (200).
6. The method according to claim 4, wherein the encrypted digital document (120) is decrypted by the issuer computer system (400) with use of the decrypted first copy (126) of the first cryptographic key (108).
7. The method according to claim 6, wherein the method further comprises the creation of a physical duplicate (101, 181) of the digital document (120), said duplicate comprising a document body (103, 183), wherein the creation of the physical duplicate (101, 181) comprises an inscribing of the document body (103, 183) with data (112, 186) of the physical duplicate (101, 181) which are provided with use of the digital data copy (122) provided from the decrypted digital document (120).
8. The method according to claim 7, wherein the document body (103) of the physical duplicate (101), in addition to the data of the digital data copy (122), is also inscribed with a third anonymised file name (116) and a third cryptographic key (118), or wherein the method further comprises the creation of a third physical document (190) which comprises a document body (192), wherein the creation of the third physical document (190) comprises an inscribing of the document body (192) of the third physical document (190) with data (194) which comprise the third anonymised file name (116) and the third cryptographic key (118).
9. The method according to claim 8, wherein the method further comprises: • creating a digital duplicate (121) by the issuer computer system (400), wherein the digital duplicate (121) is a digital copy (124) of the data (112, 186) of the physical duplicate (101, 181), • encrypting the digital duplicate (121) by the issuer computer system (400), wherein the encrypted digital duplicate (121) is decryptable with use of the third cryptographic key (118), • establishing a third connection via the network (160) between the issuer computer system (400) and the server (300), • sending a save request with the encrypted digital duplicate (121) to save the encrypted digital duplicate (121) on the server (300) from the issuer computer system (400) via the third connection to the server (300), wherein the save request comprises the third anonymised file name (116) for use by the server (300) when saving the encrypted digital duplicate (121).
10. The method according to any one of the preceding claims, wherein the personal attributes comprise: a first name, a surname, a date of birth and / or a place of birth of the owner of the digital document (120) and / or wherein the combination of personal attributes of the owner of the digital document (120), prior to the application of the one-way function, is further supplemented by a document ID value and / or wherein the combination of attributes of the owner of the digital document (120), prior to the use of the one-way function, is further supplemented by a secret of the issuer and / or wherein the read request further comprises an issuer ID and / or a specification of an issuing time period, within which the physical document (100, 180) was issued, for identification of the digital document (120) on the server (300) .
11. The method according to any one of the preceding claims, wherein a second copy (128) of the first cryptographic key (108) is also saved under the second anonymised file name (105) on the server (300), wherein the second copy (128) of the first cryptographic key (108) is saved encrypted with a fourth public cryptographic key (508) of a fourth asymmetric key pair assigned to an administrative body, wherein the method further comprises recovery of the first cryptographic key (108) by an administrative computer system of the administrative body, wherein a fourth private cryptographic key (506) of the fourth asymmetric key pair of the administrative body is saved in a protected memory area of a memory of the administrative computer system, wherein the recovery comprises: • determining the second anonymised file name (105) with use of the combination of personal attributes of the owner of the digital document (120) by the administrative computer system, • establishing a fourth connection via the network (160) between the administrative computer system and the server (300), • sending a read request to read the encrypted second copy (128) of the first cryptographic key (108) from the administrative computer system via the fourth connection to the server (300), wherein the read request comprises the determined second anonymised file name (105) for identification of the encrypted second copy (128) of the first cryptographic key (108) on the server (300), • in response to the sending of the read request, receiving the encrypted second copy (128) of the first cryptographic key (108) by the administrative computer system from the server (300) via the fourth connection, • decrypting the encrypted second copy (128) of the first cryptographic key (108) by the administrative computer system with use of the fourth private cryptographic key (506) .
12. The method according to any one of the preceding claims, wherein the method further comprises providing the digital document (120) on the user computer system (200) with use of the physical document in the form of a first physical document (100), wherein the first physical document (100) comprises a document body inscribed with data (104), wherein the data (104) with which the document body (102) of the first document (100) is inscribed comprise the first anonymised file name (106) and the first cryptographic key (108), wherein the provision of the digital document comprises: • receiving, by the user computer system (200), the first anonymised file name (106) and first cryptographic key (108) provided by the first physical document (100), • establishing a further connection via a network (160) between the user computer system (200) and the server (300), • sending a read request to read the digital document (120) from the user computer system (200) via the further connection to the server (300), wherein the read request comprises the received first anonymised file name (106) for identification of the digital document (120) on the server (300), • in response to the sending of the read request, receiving the digital document (120) by the user computer system (200) from the server (300) via the further connection, • providing the digital document (120) in decrypted form on the user computer (200), wherein the digital document (120) is decrypted with use of the received first cryptographic key (108).
13. An issuer computer system (400) of an issuer of a digital document (120) for recovering a cryptographic key (108) for decrypting the encrypted digital document (120), wherein the issuer computer system (400) comprises a processor (410), a communications interface (414) for communication via the network (160) and a memory (402), wherein program instructions (412) are saved in the memory (402) of the issuer computer system (400), wherein the digital document (120), which is a digital copy (122) of data (104) of a physical document (100, 180), is saved in encrypted form under a first anonymised file name (106) on a server (300), wherein a first copy (126) of the cryptographic key (108) for decrypting the digital document (120) is further saved in encrypted form under a second anonymised file name (105) on the server (300), wherein the encrypted digital document (120) is decryptable with use of the cryptographic key (108), wherein the first copy (126) of the cryptographic key (108) for decrypting the digital document (120) is encrypted with a public cryptographic key (408) of an asymmetric key pair assigned to the issuer of the digital document (120), wherein the second anonymised file name (105) is calculated with use of a combination of personal attributes of the owner of the digital document (120), to which a one-way function is applied, wherein a private cryptographic key (406) of the asymmetric key pair of the issuer is saved in a protected memory area (404) of the memory (402) of the issuer computer system (400), wherein an execution of the program instructions (412) by the processor (410) of the issuer computer system (400) controls the issuer computer system (400) to carry out a method which comprises: • determining the second anonymised file name (105) with use of the combination of personal attributes of the owner of the digital document (120), • establishing a connection via the network (160) to the server (300), • sending a read request to read the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) via the connection to the server (300), wherein the read request comprises the determined second anonymised file name (105) for identification of the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) on the server (300), • in response to the sending of the read request, receiving the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) via the connection, • decrypting the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) with use of the private cryptographic key (406) .
14. A system (150) for recovering a cryptographic key (108) for decrypting an encrypted digital document (120), wherein the system (150) comprises an issuer computer system according to claim 13 and a server (300), wherein the server (300) comprises a processor (304), a communications interface (308) for communication via the network (160) and a memory (302), wherein program instructions (306) are saved in the memory (302) of the server (300), wherein an execution of the program instructions (306) by the processor (304) of the server (300) controls the server (300) to carry out a method which comprises: • establishing a connection via the network (160) to the server (300), • receiving the read request of the issuer computer system (400) to read the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) via the connection, wherein the read request comprises the determined second anonymised file name (105) for identification of the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) on the server (300), • identifying the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) on the server (300) with use of the second anonymised file name (105), • in response to the receipt of the read request, sending the encrypted first copy (126) of the cryptographic key (108) for decrypting the digital document (120) via the connection to the issuer computer system (400).
15. The system (150) according to claim 14, wherein the system (150) further comprises an administrative computer system (500) of an administrative body, wherein the administrative computer system (500) comprises a processor (510), a communications interface (514) for communication via the network (160) and a memory (502), wherein program instructions (512) are saved in the memory (502) of the administrative computer system (500), wherein a second copy (128) of the cryptographic key (108) for decrypting the digital document (120) is also saved under the second anonymised file name (105) on the server (300), wherein the second copy (128) of the cryptographic key (108) for decrypting the digital document (120) is saved encrypted with a public cryptographic key (508) of an asymmetric key pair of an administrative body, wherein a private cryptographic key (506) of the asymmetric key pair of the administrative body is saved in a protected memory area (504) of a memory (502) of the administrative computer system (500), wherein an execution of the program instructions (512) by the processor (510) of the administrative computer system (500) controls the administrative computer system (500) to carry out a method which comprises: • determining the second anonymised file name (105) with use of the combination of personal attributes of the owner of the digital document (120), • establishing a connection via the network (160) to the server (300), • sending a read request to read the encrypted second copy (128) of the cryptographic key (108) for decrypting the digital document (120) via the connection to the server (300), wherein the read request comprises the determined second anonymised file name (105) for identification of the encrypted second copy (128) of the cryptographic key (108) for decrypting the digital document (120) on the server (300), • in response to the sending of the read request, receiving the encrypted second copy (128) of the cryptographic key (108) for decrypting the digital document (120) by the administrative computer system (500) via the connection, • decrypting the received encrypted second copy (128) of the cryptographic key (108) for decrypting the digital document (120) with use of the private cryptographic key (506) of the administrative body, and / or wherein the system (150) further comprises a user computer system (200) for providing the digital document (120) with use of the physical document in the form of a first physical document (100), wherein the user computer system (200) comprises a processor (204), a communications interface (210) for communication via a network (160) and a memory (202), wherein program instructions (206) are saved in the memory (202) of the user computer system (200), wherein the first physical document (100) comprises a document body (102) inscribed with data (104), wherein the data (104) with which the document body (102) of the first document (100) is inscribed comprise the anonymised file name (106) and the cryptographic key (108), wherein an execution of the program instructions (206) by the processor (204) of the user computer system (200) controls the user computer system (200) to carry out a method which comprises: • for decrypting the encrypted digital document (120), receiving the anonymised file name (106), under which the digital document (120) is saved in encrypted form on the server (300), and the cryptographic key (108) for decrypting the digital document (120), provided as part of the data (104) with which the document body (102) of the first physical document (100) is inscribed, • establishing a connection via a network (160) to the server (300), • sending a read request to read the digital document (120) via the connection to the server (300), wherein the read request comprises the received anonymised file name (106) for identification of the digital document (120) on the server (300), • in response to the sending of the read request, receiving the digital document (120) from the server (300) via the connection, • providing the digital document (120) in decrypted form on the user computer (200), wherein the digital document (120) is decrypted with use of the received cryptographic key (108) for decrypting the digital document (120).
