mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 12:27:58 +01:00
ArtifactVectors: set now() as default reference time
This commit is contained in:
parent
c6d5a5434a
commit
90a915cedf
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ interface ArtifactVectors {
|
||||||
|
|
||||||
fun getResourceName(): String
|
fun getResourceName(): String
|
||||||
|
|
||||||
fun getNetworkAt(referenceTime: ReferenceTime, policy: Policy = PGPainless.getPolicy()): Network {
|
fun getNetworkAt(referenceTime: ReferenceTime = ReferenceTime.now(), policy: Policy = PGPainless.getPolicy()): Network {
|
||||||
val inputStream = keyRingInputStream()
|
val inputStream = keyRingInputStream()
|
||||||
val keyRing = PGPainless.readKeyRing().publicKeyRingCollection(inputStream)
|
val keyRing = PGPainless.readKeyRing().publicKeyRingCollection(inputStream)
|
||||||
val store = KeyRingCertificateStore(keyRing)
|
val store = KeyRingCertificateStore(keyRing)
|
||||||
|
|
Loading…
Reference in a new issue