mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 12:27:58 +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.*
|
import java.util.*
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Revocation State of
|
* Revocation State of a certificate.
|
||||||
*/
|
*/
|
||||||
class RevocationState private constructor(val type: Type, val timestamp: Date?) {
|
class RevocationState private constructor(val type: Type, val timestamp: Date?) {
|
||||||
|
|
||||||
enum class Type {
|
enum class Type {
|
||||||
|
/**
|
||||||
|
* Signatures issued by a soft-revoked certificate after [timestamp] are no longer
|
||||||
|
* considered valid.
|
||||||
|
*/
|
||||||
Soft,
|
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,
|
Hard,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The certificate is still valid.
|
||||||
|
*/
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue