Class DeviceRegistration

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class DeviceRegistration
    extends io.jans.orm.model.base.BaseEntry
    implements java.io.Serializable
    U2F Device registration
    Author:
    Yuriy Movchan Date: 05/14/2015
    See Also:
    Serialized Form
    • Field Detail

      • userInum

        protected java.lang.String userInum
    • Constructor Detail

      • DeviceRegistration

        public DeviceRegistration()
      • DeviceRegistration

        public DeviceRegistration​(java.lang.String userInum,
                                  java.lang.String keyHandle,
                                  java.lang.String publicKey,
                                  java.lang.String attestationCert,
                                  long counter,
                                  io.jans.as.model.fido.u2f.DeviceRegistrationStatus status,
                                  java.lang.String application,
                                  java.lang.Integer keyHandleHashCode,
                                  java.util.Date creationDate)
      • DeviceRegistration

        public DeviceRegistration​(java.lang.String userInum,
                                  java.lang.String keyHandle,
                                  java.lang.String publicKey,
                                  java.security.cert.X509Certificate attestationCert,
                                  long counter)
                           throws io.jans.as.model.fido.u2f.exception.BadInputException
        Throws:
        io.jans.as.model.fido.u2f.exception.BadInputException
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getDisplayName

        public java.lang.String getDisplayName()
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getNickname

        public java.lang.String getNickname()
      • setNickname

        public void setNickname​(java.lang.String nickname)
      • getUserInum

        public java.lang.String getUserInum()
      • setUserInum

        public void setUserInum​(java.lang.String userInum)
      • getDeviceNotificationConf

        public java.lang.String getDeviceNotificationConf()
      • setDeviceNotificationConf

        public void setDeviceNotificationConf​(java.lang.String deviceNotificationConf)
      • getCounter

        public long getCounter()
      • setCounter

        public void setCounter​(long counter)
      • getStatus

        public io.jans.as.model.fido.u2f.DeviceRegistrationStatus getStatus()
      • setStatus

        public void setStatus​(io.jans.as.model.fido.u2f.DeviceRegistrationStatus status)
      • getApplication

        public java.lang.String getApplication()
      • setApplication

        public void setApplication​(java.lang.String application)
      • getKeyHandle

        public java.lang.String getKeyHandle()
      • setKeyHandle

        public void setKeyHandle​(java.lang.String keyHandle)
      • getKeyHandleHashCode

        public java.lang.Integer getKeyHandleHashCode()
      • setKeyHandleHashCode

        public void setKeyHandleHashCode​(java.lang.Integer keyHandleHashCode)
      • getCreationDate

        public java.util.Date getCreationDate()
      • setCreationDate

        public void setCreationDate​(java.util.Date creationDate)
      • clearExpiration

        public void clearExpiration()
      • setExpiration

        public void setExpiration()
      • getTtl

        public java.lang.Integer getTtl()
      • setTtl

        public void setTtl​(java.lang.Integer ttl)
      • getDeviceData

        public io.jans.as.model.fido.u2f.protocol.DeviceData getDeviceData()
      • setDeviceData

        public void setDeviceData​(io.jans.as.model.fido.u2f.protocol.DeviceData deviceData)
      • getLastAccessTime

        public java.util.Date getLastAccessTime()
      • setLastAccessTime

        public void setLastAccessTime​(java.util.Date lastAccessTime)
      • isCompromised

        public boolean isCompromised()
      • markCompromised

        public void markCompromised()
      • getExpirationDate

        public java.util.Date getExpirationDate()
      • setExpirationDate

        public void setExpirationDate​(java.util.Date expirationDate)
      • isDeletable

        public boolean isDeletable()
      • setDeletable

        public void setDeletable​(boolean deletable)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class io.jans.orm.model.base.BaseEntry