Increase VALIDITY_PERIOD to 10 years

It was changed to 1 year by accident in a previous commit.

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent caed5cebce
commit 0b51e998cf
  1. 2
      common/src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt

@ -52,7 +52,7 @@ class Pkcs12KeyStore private constructor(privateKeyEntry: KeyStore.PrivateKeyEnt
.build() .build()
private val MAX_CLOCK_SKEW = Period.ofDays(1) private val MAX_CLOCK_SKEW = Period.ofDays(1)
private val VALIDITY_PERIOD = Period.ofYears(1) private val VALIDITY_PERIOD = Period.ofYears(10)
private val SHA256_WITH_RSA = AlgorithmIdentifier(PKCSObjectIdentifiers.sha256WithRSAEncryption) private val SHA256_WITH_RSA = AlgorithmIdentifier(PKCSObjectIdentifiers.sha256WithRSAEncryption)
private val SHA256 = AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256) private val SHA256 = AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256)

Loading…
Cancel
Save