Class DeviceRegistrationProperties

java.lang.Object
org.eblocker.server.common.registration.DeviceRegistrationProperties

public class DeviceRegistrationProperties extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • reset

      public void reset()
    • isSubscriptionValid

      public boolean isSubscriptionValid()
    • generateRequest

      public org.eblocker.registration.DeviceRegistrationRequest generateRequest(String email, String deviceName, String licenseKey, String serialNumber, Boolean isConfirmed, String tosVersion)
    • acquireRevokationState

      public void acquireRevokationState()
    • processResponse

      public void processResponse(org.eblocker.registration.DeviceRegistrationResponse deviceRegistrationResponse)
    • registrationFallback

      public void registrationFallback(String deviceName)
    • makeLicenseCredentialsAvailable

      public void makeLicenseCredentialsAvailable()
    • makeLicenseCredentialsUnavailable

      public void makeLicenseCredentialsUnavailable()
    • exportRegistration

      public DeviceRegistrationExport exportRegistration() throws IOException, org.eblocker.crypto.CryptoException
      Throws:
      IOException
      org.eblocker.crypto.CryptoException
    • importRegistration

      public void importRegistration(DeviceRegistrationExport export) throws IOException, org.eblocker.crypto.CryptoException
      Throws:
      IOException
      org.eblocker.crypto.CryptoException
    • getRegistrationState

      public RegistrationState getRegistrationState()
    • getDeviceRegisteredAt

      public Date getDeviceRegisteredAt()
    • getDeviceRegisteredBy

      public String getDeviceRegisteredBy()
    • getDeviceId

      public String getDeviceId()
    • getDeviceName

      public String getDeviceName()
    • getLicenseType

      public org.eblocker.registration.LicenseType getLicenseType()
    • getLicenseNotValidAfter

      public Date getLicenseNotValidAfter()
    • isLicenseAutoRenewal

      public boolean isLicenseAutoRenewal()
    • isLicenseAboutToExpire

      public boolean isLicenseAboutToExpire()
    • isLicenseExpired

      public boolean isLicenseExpired()
    • getLicenseRemainingDays

      public Long getLicenseRemainingDays()
    • isLicenseLifetime

      public boolean isLicenseLifetime()
    • getDeviceCertificate

      public X509Certificate getDeviceCertificate()
    • getLicenseCertificate

      public X509Certificate getLicenseCertificate()
    • getDeviceKeyStore

      public KeyStore getDeviceKeyStore()
    • getLicenseKeyStore

      public KeyStore getLicenseKeyStore()
    • getPassword

      public char[] getPassword()