This specification describes the RSA Signature Suite created in 2016 for the Linked Data Signatures specification.
This is an experimental specification and is undergoing regular revisions. It is not fit for production deployment.
This specification describes the RSA Signature Suite created in 2016 for the Linked Data Signatures [[LD-SIGNATURES]] specification. It uses the RDF Dataset Normalization Algorithm [[RDF-DATASET-NORMALIZATION]] to transform the input document into its canonical form. It uses SHA-256 [[RFC6234]] as the message digest algorithm and RSASSA-PKCS1-v1_5 [[RFC3447]] as the signature algorithm.
The following terms are used to describe concepts involved in the generation and verification of the Linked Data Signature 2016 signature suite.
The 2016 RSA signature suite MUST be used in conjunction with the signing and verification algorithms in the Linked Data Signatures [[LD-SIGNATURES]] specification. The suite consists of the following algorithms:
Parameter | Value | Specification |
---|---|---|
canonicalizationAlgorithm | https://w3id.org/security#URDNA2015 | [[RDF-DATASET-NORMALIZATION]] |
digestAlgorithm | http://example.com/digests#sha256 | [[RFC6234]] |
signatureAlgorithm | http://www.w3.org/2000/09/xmldsig#rsa-sha1 | [[RFC3447]] |
No modifications to the Linked Data Signature algorithms are provided other than the algorithms specified in the previous signature suite section.
The following section describes security considerations that developers implementing this specification should be aware of in order to create secure software.
A simple example of an RSA 2016 signature:
{ "@context": ["http://schema.org/", "https://w3id.org/security/v1"], "description": "Hello world!", "signature": { "type": "RsaSignature2016", "created": "2016-10-24T05:33:31Z", "creator": "https://example.com/jdoe/keys/1", "domain": "example.com", "signatureValue": "OQeEhRZYzHUm6B7eImIsIRmtEMzULkk1J2efEYT+qzk9v58E3C5iA8eCeQc/7+qRj2TfqXN29DtEGOGaKHMcp4d90AiJvVvMb+8z9PwvWNCDAZKQ9pZp23MtHqV7kym7s6KIaYWO8gMNpnEwSoaNIF61JQkuoEDrnNECHRRsAOY=" } }