Package io.token

Class DeviceInfo


  • public class DeviceInfo
    extends java.lang.Object
    Information about a device being provisioned.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceInfo​(java.lang.String memberId, java.util.List<io.token.proto.common.security.SecurityProtos.Key> keys)
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<io.token.proto.common.security.SecurityProtos.Key> getKeys()
      Gets device keys.
      java.lang.String getMemberId()
      Gets member ID.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceInfo

        public DeviceInfo​(java.lang.String memberId,
                          java.util.List<io.token.proto.common.security.SecurityProtos.Key> keys)
        Creates an instance.
        Parameters:
        memberId - member id
        keys - list of keys
    • Method Detail

      • getMemberId

        public java.lang.String getMemberId()
        Gets member ID.
        Returns:
        member ID
      • getKeys

        public java.util.List<io.token.proto.common.security.SecurityProtos.Key> getKeys()
        Gets device keys.
        Returns:
        list of device keys