Package com.castlabs.android.player

# Class DrmKeyStorage

java.lang.Object
com.castlabs.android.player.DrmKeyStorage

public class DrmKeyStorage extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final byte`
  `flags`
  `final byte[]`
  `keySetId`
  `final long`
  `keyValidUntilMs`
  `final long`
  `serverToLocalOffsetMs`
  `final long`
  `syncElapsedTime`
  `final long`
  `syncLocalTime`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DrmKeyStorage(byte[] encoded)`
  `DrmKeyStorage(byte[] keySetId, long serverToLocalOffsetMs, long keyValidUntilMs, long syncLocalTime, long syncElapsedTime, byte flags)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static DrmKeyStorage`
  `createWithoutTimingInfo(byte[] keySetId)`
  `byte[]`
  `encode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### keySetId

    public final byte[] keySetId

  - ### serverToLocalOffsetMs

    public final long serverToLocalOffsetMs

  - ### keyValidUntilMs

    public final long keyValidUntilMs

  - ### syncLocalTime

    public final long syncLocalTime

  - ### syncElapsedTime

    public final long syncElapsedTime

  - ### flags

    public final byte flags

- ## Constructor Details

  - ### DrmKeyStorage

    public DrmKeyStorage(byte[] keySetId, long serverToLocalOffsetMs, long keyValidUntilMs, long syncLocalTime, long syncElapsedTime, byte flags)

  - ### DrmKeyStorage

    public DrmKeyStorage(byte[] encoded)

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### encode

    public byte[] encode()

  - ### createWithoutTimingInfo

    public static DrmKeyStorage createWithoutTimingInfo(byte[] keySetId)