Uses of Record Class
com.irurueta.authserver.authorization.domain.keys.SigningKey
Packages that use SigningKey
Package
Description
Web adapter of the signing keys: the administration endpoints, the scheduled rotation job and the startup
bootstrap.
Use cases that manage the signing keys.
Signing keys: their model, lifecycle states and the ports the use cases need.
Signing keys of the authorization server: key encryption and generation, the JWK sources and the signed token
service built on them.
PostgreSQL implementation of the signing key port, over the
signing_keys table.-
Uses of SigningKey in com.irurueta.authserver.authorization.api.web.keys
Methods in com.irurueta.authserver.authorization.api.web.keys with parameters of type SigningKeyModifier and TypeMethodDescriptionSigningKeyDtoMapper.toResponse(SigningKey key) Maps a key to its public view.Method parameters in com.irurueta.authserver.authorization.api.web.keys with type arguments of type SigningKeyModifier and TypeMethodDescriptionSigningKeyDtoMapper.toResponses(List<SigningKey> keys) Maps several keys, keeping their order. -
Uses of SigningKey in com.irurueta.authserver.authorization.application.keys
Methods in com.irurueta.authserver.authorization.application.keys that return SigningKeyModifier and TypeMethodDescriptionprivate static SigningKeyRotateSigningKeysUseCase.first(List<SigningKey> keys, SigningKeyStatus status) Finds the first key in a state.Methods in com.irurueta.authserver.authorization.application.keys that return types with arguments of type SigningKeyModifier and TypeMethodDescriptionActiveSigningKeyUseCase.execute()Finds the active key.ListSigningKeysUseCase.execute()Lists the keys.PublishedSigningKeysUseCase.execute()Finds the keys to publish.Methods in com.irurueta.authserver.authorization.application.keys with parameters of type SigningKeyModifier and TypeMethodDescriptionprivate booleanRotateSigningKeysUseCase.isDue(SigningKey active, Instant now) Tells whether the active key has signed for the whole rotation interval.private static booleanRotateSigningKeysUseCase.isExpired(SigningKey retired, Instant now, Duration retention) Tells whether a retired key has been retired for longer than the retention.Method parameters in com.irurueta.authserver.authorization.application.keys with type arguments of type SigningKeyModifier and TypeMethodDescriptionprivate static SigningKeyRotateSigningKeysUseCase.first(List<SigningKey> keys, SigningKeyStatus status) Finds the first key in a state. -
Uses of SigningKey in com.irurueta.authserver.authorization.domain.keys
Methods in com.irurueta.authserver.authorization.domain.keys that return SigningKeyModifier and TypeMethodDescriptionCreates the key as it is once it starts signing.Generates a new key pair, with a unique identifier and its private half already encrypted.Creates the key as it is once it stops signing.Methods in com.irurueta.authserver.authorization.domain.keys that return types with arguments of type SigningKeyMethods in com.irurueta.authserver.authorization.domain.keys with parameters of type SigningKeyModifier and TypeMethodDescriptionvoidSigningKeyRepository.save(SigningKey key) Inserts a key, or replaces the stored key that has the same identifier. -
Uses of SigningKey in com.irurueta.authserver.authorization.infrastructure.keys
Methods in com.irurueta.authserver.authorization.infrastructure.keys that return SigningKeyMethod parameters in com.irurueta.authserver.authorization.infrastructure.keys with type arguments of type SigningKeyModifier and TypeMethodDescriptioncom.nimbusds.jose.jwk.JWKSetSigningKeyJwkMapper.toPublicJwkSet(List<SigningKey> keys) Builds the set of public keys.com.nimbusds.jose.jwk.JWKSetSigningKeyJwkMapper.toSigningJwkSet(Optional<SigningKey> active) Builds the set holding the active key, with its private half. -
Uses of SigningKey in com.irurueta.authserver.authorization.infrastructure.persistence.keys
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.keys that return SigningKeyModifier and TypeMethodDescriptionMaps the current row.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.keys that return types with arguments of type SigningKeyMethods in com.irurueta.authserver.authorization.infrastructure.persistence.keys with parameters of type SigningKey