Why do profiles have both encoded and decoded tokens?
Example:
https://blockstack.s3.amazonaws.com/larry.id
[
{
"decodedToken": {
"header": {
"alg": "ES256K",
"typ": "JWT"
},
"payload": {
"issuedAt": "2016-12-05T09:03:31.354235",
"claim": {
"account": [
{
"proofType": "http",
"identifier": "larrysalibra",
"@type": "Account",
"service": "twitter"
},
{
"proofType": "http",
"identifier": "larrysalibra",
"@type": "Account",
"service": "github"
},
{
"identifier": "1EyuZ8qxdhHjcnTChwQLyQaN3cmdK55DkH",
"role": "payment",
"@type": "Account",
"service": "bitcoin"
},
{
"contentUrl": "http://pgp.mit.edu/pks/lookup?op=get&search=0xDE3B5425164C4849",
"identifier": "B516CB7A08819697B25E4694DE3B5425164C4849",
"role": "key",
"@type": "Account",
"service": "pgp"
},
{
"proofType": "http",
"identifier": "larry.salibra",
"@type": "Account",
"service": "facebook",
"proofUrl": "https://www.facebook.com/larry.salibra/posts/10100341028448093"
}
],
"name": "Larry Salibra",
"image": [
{
"contentUrl": "https://s3.amazonaws.com/kd4/larry",
"@type": "ImageObject",
"name": "avatar"
},
{
"contentUrl": "https://s3.amazonaws.com/dx3/larry",
"@type": "ImageObject",
"name": "cover"
}
],
"@type": "Person",
"website": [
{
"url": "https://www.larrysalibra.com",
"@type": "WebSite"
}
],
"description": "Blockchain, software, security. Decentralize the world (w/ #bitcoin)! \u8b58\u4e2d\u6587",
"address": {
"addressLocality": "Hong Kong",
"@type": "PostalAddress"
}
},
"expiresAt": "2017-12-05T09:03:31.354235",
"subject": {
"publicKey": "04960d97b72885cbce3773cc6faacd77f3baf9e80dc4b7c1b77bc469ef6585541aedf4454a61815575573ef9a9821871d8fe6a3ad3ecde60f1db2a104100639c49"
},
"issuer": {
"publicKey": "04960d97b72885cbce3773cc6faacd77f3baf9e80dc4b7c1b77bc469ef6585541aedf4454a61815575573ef9a9821871d8fe6a3ad3ecde60f1db2a104100639c49"
}
},
"signature": "GZIIMlDTEC1lTmYi6Fc6RV7LasIxcRc41s8AVTqNElKs7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