ApplicationCrypto

uk.gov.hmrc.play.bootstrap.frontend.filters.crypto.ApplicationCrypto
class ApplicationCrypto(configuration: Configuration)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def verifyConfiguration(): Unit

Concrete fields

lazy val QueryParameterCrypto: Encrypter & Decrypter

Can be used to encrypt query parameters - e.g. for callbacks and redirects.

Can be used to encrypt query parameters - e.g. for callbacks and redirects.

By default it is shared by all services, but it can be overridden if required to be private to the service.

Given by default it is provided by the platform, it should be assumed it may be rotated at any time, and not used for storing data.

Attributes

lazy val SessionCookieCrypto: Encrypter & Decrypter

Should only be used to encrypt/decrypt the cookie.

Should only be used to encrypt/decrypt the cookie.

It is shared by all services.

This is a platform key, and should not be used for any other use-case since it may be rotated at any time.

Attributes

lazy val SsoPayloadCrypto: Encrypter & Decrypter

Should only be used for SSO with the Portal.

Should only be used for SSO with the Portal.

It is shared by all services.

This is a platform key, and should not be used for any other use-case since it may be rotated at any time.

Attributes