// 
// Decompiled by Procyon v0.6.0
// 

package com.nimbusds.jose.jwk.source;

import java.util.Objects;
import java.util.Date;
import com.nimbusds.jose.jwk.JWKSet;
import com.nimbusds.jose.shaded.jcip.Immutable;

@Deprecated
@Immutable
public final class JWKSetWithTimestamp
{
    private final JWKSet jwkSet;
    private final Date timestamp;
    
    public JWKSetWithTimestamp(final JWKSet jwkSet) {
        this(jwkSet, new Date());
    }
    
    public JWKSetWithTimestamp(final JWKSet jwkSet, final Date timestamp) {
        this.jwkSet = Objects.requireNonNull(jwkSet);
        this.timestamp = Objects.requireNonNull(timestamp);
    }
    
    public JWKSet getJWKSet() {
        return this.jwkSet;
    }
    
    public Date getDate() {
        return this.timestamp;
    }
}
