mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-14 00:12:06 +01:00
Update kDoc of RevocatioNState
This commit is contained in:
parent
cdac41ffa9
commit
768fd0ed34
1 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue