Package com.nimbusds.jose.jwk.source
Class JWKSetWithTimestamp
- java.lang.Object
-
- com.nimbusds.jose.jwk.source.JWKSetWithTimestamp
-
@Immutable public final class JWKSetWithTimestamp extends Object
JSON Web Key (JWK) set with timestamp.- Version:
- 2020-12-27
- Author:
- Vladimir Dzhuvinov
-
-
Constructor Summary
Constructors Constructor Description JWKSetWithTimestamp(JWKSet jwkSet)Creates a new JWK set with a timestamp set to now.JWKSetWithTimestamp(JWKSet jwkSet, Date timestamp)Creates a new JWK set with timestamp.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Returns the timestamp date.JWKSetgetJWKSet()Returns the JWK set.
-
-
-
Constructor Detail
-
JWKSetWithTimestamp
public JWKSetWithTimestamp(JWKSet jwkSet)
Creates a new JWK set with a timestamp set to now.
-
JWKSetWithTimestamp
public JWKSetWithTimestamp(JWKSet jwkSet, Date timestamp)
Creates a new JWK set with timestamp.- Parameters:
jwkSet- The JWK set. Must not benull.timestamp- The timestamp date. Must not benull.
-
-