Class IdentifyKey

java.lang.Object
moe.caramel.daydream.player.IdentifyKey

@NullMarked public final class IdentifyKey extends Object
플레이어 공개키 클래스
  • Method Details

    • create

      public static IdentifyKey create(Instant expiresAt, PublicKey key, byte[] signature)
    • expiresAt

      public Instant expiresAt()
      공개키의 만료 시간을 가져옵니다.
      Returns:
      공개키의 만료 시간
    • key

      public PublicKey key()
      플레이어의 공개키를 가져옵니다.
      Returns:
      플레이어의 공개키
    • signature

      public byte[] signature()
      공개키의 서명을 가져옵니다.
      Returns:
      공개키의 서명
    • toString

      public String toString()
      Overrides:
      toString in class Object