MKData.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. namespace ACES\Common;
  3. class MKData
  4. {
  5. private $id;
  6. private $key_string;
  7. private $key_type;
  8. private $key_exp;
  9. private $key_effective;
  10. private $version;
  11. private $key_status;
  12. private $key_digest;
  13. /**
  14. * @return string
  15. */
  16. public function getId()
  17. {
  18. return $this->id;
  19. }
  20. /**
  21. * @return string
  22. */
  23. public function getKey_string()
  24. {
  25. return $this->key_string;
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getKey_type()
  31. {
  32. return $this->key_type;
  33. }
  34. /**
  35. * @return integer
  36. */
  37. public function getKey_exp()
  38. {
  39. return $this->key_exp;
  40. }
  41. /**
  42. * @return integer
  43. */
  44. public function getKey_effective()
  45. {
  46. return $this->key_effective;
  47. }
  48. /**
  49. * @return integer
  50. */
  51. public function getVersion()
  52. {
  53. return $this->version;
  54. }
  55. /**
  56. * @return integer
  57. */
  58. public function getKey_status()
  59. {
  60. return $this->key_status;
  61. }
  62. /**
  63. * @return string
  64. */
  65. public function getKey_digest()
  66. {
  67. return $this->key_digest;
  68. }
  69. /**
  70. *
  71. * @param string $id
  72. */
  73. public function setId($id) {
  74. $this->id = $id;
  75. }
  76. /**
  77. *
  78. * @param string $keyString
  79. */
  80. public function setKeyString($keyString) {
  81. $this->key_string = $keyString;
  82. }
  83. /**
  84. *
  85. * @param string $keyType
  86. */
  87. public function setKeyType($keyType) {
  88. $this->key_type = $keyType;
  89. }
  90. /**
  91. *
  92. * @param integer $keyExp
  93. */
  94. public function setKeyExp($keyExp) {
  95. $this->key_exp =$keyExp;
  96. }
  97. /**
  98. *
  99. * @param integer $keyEffective
  100. */
  101. public function setKeyEffective($keyEffective) {
  102. $this->key_effective = $keyEffective;
  103. }
  104. /**
  105. *
  106. * @param integer $version
  107. */
  108. public function setVersion($version) {
  109. $this->version = $version;
  110. }
  111. /**
  112. *
  113. * @param integer $keyStatus
  114. */
  115. public function setKeyStatus($keyStatus) {
  116. $this->key_status = $keyStatus;
  117. }
  118. /**
  119. *
  120. * @param string $keyDigest
  121. */
  122. public function setKeyDigest($keyDigest){
  123. $this->key_digest = $keyDigest;
  124. }
  125. }