Package google.registry.model.tmch
Class TmchCrl
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.common.CrossTldSingleton
-
- google.registry.model.tmch.TmchCrl
-
- All Implemented Interfaces:
java.lang.Cloneable
@Entity @Immutable public final class TmchCrl extends CrossTldSingleton
Singleton for ICANN's TMCH CA certificate revocation list (CRL).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
-
Field Summary
-
Fields inherited from class google.registry.model.common.CrossTldSingleton
SINGLETON_ID
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description TmchCrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<TmchCrl>
get()
Returns the singleton instance of this entity, without memoization.java.lang.String
getCrl()
ASCII-armored X.509 certificate revocation list.org.joda.time.DateTime
getUpdated()
Time we last updated the Database with a newer ICANN CRL.java.lang.String
getUrl()
Returns the URL that the CRL was downloaded from.static void
set(java.lang.String crl, java.lang.String url)
Change the singleton to a new ASCII-armored X.509 CRL.-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
get
public static java.util.Optional<TmchCrl> get()
Returns the singleton instance of this entity, without memoization.
-
set
public static void set(java.lang.String crl, java.lang.String url)
Change the singleton to a new ASCII-armored X.509 CRL.Please do not call this function unless your CRL is properly formatted, signed by the root, and actually newer than the one currently in the database.
-
getCrl
public final java.lang.String getCrl()
ASCII-armored X.509 certificate revocation list.
-
getUrl
public final java.lang.String getUrl()
Returns the URL that the CRL was downloaded from.
-
getUpdated
public final org.joda.time.DateTime getUpdated()
Time we last updated the Database with a newer ICANN CRL.
-
-