If we receive a service message of type application/vnd+relaycorp.awala.pda and its content is a valid PDA, it should be saved. The content will be deemed valid if all the following is true:
The subject of the PDA (certificate.subjectPrivateAddress) corresponds to the private address of a FirstPartyEndpoint.
The issuer of the PDA (certificate.issuePrivateAddress) corresponds to the private address of a known PrivateThirdPartyEndpoint.
The incoming PDA is valid (certificate.isValid()).
If all the above is met, the PDA and its chain should replace the old PDA and chain. If any of the conditions isn't met, an error should be logged.
The app shouldn't be notified about this incoming message.
If we receive a service message of type
application/vnd+relaycorp.awala.pda
and its content is a valid PDA, it should be saved. The content will be deemed valid if all the following is true:certificate.subjectPrivateAddress
) corresponds to the private address of aFirstPartyEndpoint
.certificate.issuePrivateAddress
) corresponds to the private address of a knownPrivateThirdPartyEndpoint
.certificate.isValid()
).If all the above is met, the PDA and its chain should replace the old PDA and chain. If any of the conditions isn't met, an error should be logged.
The app shouldn't be notified about this incoming message.
Related issues
185