1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-25 04:17:59 +01:00

Update kDoc of RevocatioNState

This commit is contained in:
Paul Schaub 2023-06-29 20:20:58 +02:00
parent cdac41ffa9
commit 768fd0ed34
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -7,13 +7,26 @@ package org.pgpainless.wot.dijkstra.sq
import java.util.*
/**
* Revocation State of
* Revocation State of a certificate.
*/
class RevocationState private constructor(val type: Type, val timestamp: Date?) {
enum class Type {
/**
* Signatures issued by a soft-revoked certificate after [timestamp] are no longer
* considered valid.
*/
Soft,
/**
* Signatures issued at any time by a hard-revoked certificate are no longer considered valid,
* even if the creation time is before [timestamp].
*/
Hard,
/**
* The certificate is still valid.
*/
None
}