Class TlsCredentials

java.lang.Object
google.registry.flows.TlsCredentials
All Implemented Interfaces:
TransportCredentials

public class TlsCredentials extends Object implements TransportCredentials
Container and validation for TLS certificate and IP-allow-listing.

Credentials are based on the following headers:

X-SSL-Certificate
This field should contain a base64 encoded digest of the client's TLS certificate. It is used only if the validation of the full certificate fails.
X-Forwarded-For
This field should contain the host and port of the connecting client. It is validated during an EPP login command against an IP allow list that is transmitted out of band.