Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
feat: add RSA as valid key type
Browse files Browse the repository at this point in the history
  • Loading branch information
gjgd committed Jan 2, 2020
1 parent 6ad160c commit 2e33c5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/element-lib/src/schema/sidetree/key.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": {
"type": "string",
"required": true,
"enum": ["Secp256k1VerificationKey2018"],
"enum": ["Secp256k1VerificationKey2018", "RsaVerificationKey2018"],
"example": ["Secp256k1VerificationKey2018"]
},
"controller": {
Expand All @@ -25,8 +25,11 @@
},
"publicKeyHex": {
"type": "string",
"required": true,
"example": ["025aad7a926a2c86f98b7687e1a6a8207aad49babc7d6f7d659f3e4304f980a124"]
},
"publicKeyPem": {
"type": "string",
"example": ["-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA2FgP6ZzWXIPc3Ewl0Lfg\nib1XEHnlFbjXJ+id/PpfoKPIwBCwCGXi6Ux04NVFeUlagk94vSOkxhoZ+cfyvcBT\njnQeFxJyD4z60mmiAzYq6DUMTjW6x8823KMJd51PK3512N9ZAwIap+4JNYFXJt3V\n/ju2IfgGv2CusJmCrTsAe1pYM5WfvYG7W8GAeTUB6XGRjKOUIKxmGqyHekRhM4cd\nWdF0Smm68Zu6DULN3IpV/f7O9DUE55O+PSwZo8LIRyQE3dMufcY6/Pzv6uBdGi5Z\nHH3uchxoxwQMX2nmxEb/bSLtnH8r+j0ZkZHTfy7OE/k+rsWv223N3eTOrXzP1Gh5\n7seFaNLv+WclUggnX9OT1NZ7k9X2CgjgPg6swB/jeTxTIfO8gNM04RXwZmd8pxqL\n/pIILXKmAlusEv509bUsa0R6mFlJv/YRG8uCDv1dFLmnIYCajwjuUAUVwGcYvwuA\nVW+vn6Dl6vAT3EePqZseTBcaOE1t/VrmnGfJWe2GY2Jxdtfko7Wk3KhOF0SVyO+F\nP0cxt/24dcfqX88oBR9LzmrH2dm1JE4S1K8/r8qpBIBTToRAOlXuMvF010ckLSqb\nJ5QgnYYIHNlqUg6x0IkIsvvLYyBoWJeKXLinw0EwtqcL184sPpX0Q/NsudRoD8Hx\nQiuFKmtgYSV1d3mRERq4XCkCAwEAAQ==\n-----END PUBLIC KEY-----"]
}
},
"additionalProperties": false
Expand Down

0 comments on commit 2e33c5c

Please sign in to comment.