-
Notifications
You must be signed in to change notification settings - Fork 2
JSON Structure
ivanab edited this page Dec 15, 2016
·
5 revisions
db.serverdatas.find().pretty()
{
"_id" : ObjectId("58526d3d93e58e0cfc71ef66"),
"serverSecretId" : "927fbcba0d9bb0cc6a6ac28d5ad16521",
"serverSecret" : "9a92507b4a216882e309be4a4b4716a4",
"createdAt" : ISODate("2016-12-15T10:15:25.227Z"),
"sessions" : [
ObjectId("5852a48f93e58e0cfc71ef67")
],
"__v" : 1
}
db.sessions.find().pretty()
{
"_id" : ObjectId("5852a48f93e58e0cfc71ef67"),
"fromName" : "John Q. Public",
"serverdata" : ObjectId("58526d3d93e58e0cfc71ef66"),
"createdAt" : ISODate("2016-12-15T14:11:27.181Z"),
"messages" : [
ObjectId("5852a48f93e58e0cfc71ef68")
],
"remoteAnswerAttempts" : 0,
"questionIntegrity" : "pRAMSJz/JlHUPiEbg4UtroBvSahnRxrzxcp6L5Xn1PY=",
"questionSecretValidation" : "fKsLGv+qmNY+pUygyJRuDwpPTlN9OEYAixx0l80ecF8=",
"encryptedQuestion" : "U2FsdGVkX181yfVfmNS21JOrQeSEg2AAqJHq2dTXCKL6hy8JH4aWy1ClHdz7gSiF",
"questionSalt" : "ACAAMwA5AHIANABvAGMAagA4",
"emailServerSecretProof" : "f07492b879a81d86a9de8a65bab6a6ab83b3e96ef177d618515a977e61fcbdba",
"emailServerSecretExpiry" : ISODate("2016-12-15T14:11:27.174Z"),
"emailServerSecret" : "hardcoded-email-server-secret",
"emailServerNonce" : "34c489627f8c39bd",
"serverSessionSecret" : "ab7b8e4dbfc3b6e7",
"serverSessionSalt" : "d935af43ba55b23c",
"serverSessionIdValidation" : "63d6224979684ca2121d04e00c2a9c9f44dd9b28524e94746056411aefa3d4e2",
"serverSessionId" : "cfbe64dfebf19d2b",
"notifications" : "true",
"answerProof" : "9nqmei1WERQnfchIv9ClPDvzLa1DN0NK6hV7ABouEbY=",
"fromEmail" : "[email protected]",
"toEmail" : "[email protected]",
"__v" : 0
}
db.messages.find().pretty()
{
"_id" : ObjectId("5852a48f93e58e0cfc71ef68"),
"encryptedMessage" : "U2FsdGVkX19MOhBIzR1aet5YtkeQJTs7Q6I00BCio8Y=",
"session" : ObjectId("5852a48f93e58e0cfc71ef67"),
"createdAt" : ISODate("2016-12-15T14:11:27.214Z"),
"user" : "homepage",
"messageIntegrity" : "sHagt40Ae4OczdkEv4b+EMXXqES+PPja0g5DeD6Ir2k=",
"messageSecretValidation" : "q7rCWavenB27XMAF1LiPqBJEhK+Thqi0N6KABvHdw+M=",
"messageSalt" : "ACAAawByAG8AbwBuAGoAdQA1",
"__v" : 0
}