Record Class DoraScorecard

java.lang.Object
java.lang.Record
co.cryptoservice.sdk.DoraScorecard
Record Components:
activePrimitivesCount - algorithm identifiers listed
algorithmDeprecationSchedule - the algorithmDeprecationSchedule
article - the articles
cryptographicInventory - the cryptographicInventory
disclaimer - the disclaimer
postQuantumPrimitivesCount - post-quantum identifiers listed
quantumResistanceRatio - post-quantum identifiers / all identifiers, two decimals
standard - the regulation
status - the status
timestamp - when the assessment was built

public record DoraScorecard(int activePrimitivesCount, List<DoraDeprecation> algorithmDeprecationSchedule, String article, List<DoraInventoryItem> cryptographicInventory, String disclaimer, int postQuantumPrimitivesCount, double quantumResistanceRatio, String standard, String status, String timestamp) extends Record
What GET /v2/compliance/dora answers: DORA cryptographic inventory (self-assessment).
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
      Specified by:
      toString in class Record
      Returns:
      a description safe to log
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • activePrimitivesCount

      public int activePrimitivesCount()
      Returns the value of the activePrimitivesCount record component.
      Returns:
      the value of the activePrimitivesCount record component
    • algorithmDeprecationSchedule

      public List<DoraDeprecation> algorithmDeprecationSchedule()
      Returns the value of the algorithmDeprecationSchedule record component.
      Returns:
      the value of the algorithmDeprecationSchedule record component
    • article

      public String article()
      Returns the value of the article record component.
      Returns:
      the value of the article record component
    • cryptographicInventory

      public List<DoraInventoryItem> cryptographicInventory()
      Returns the value of the cryptographicInventory record component.
      Returns:
      the value of the cryptographicInventory record component
    • disclaimer

      public String disclaimer()
      Returns the value of the disclaimer record component.
      Returns:
      the value of the disclaimer record component
    • postQuantumPrimitivesCount

      public int postQuantumPrimitivesCount()
      Returns the value of the postQuantumPrimitivesCount record component.
      Returns:
      the value of the postQuantumPrimitivesCount record component
    • quantumResistanceRatio

      public double quantumResistanceRatio()
      Returns the value of the quantumResistanceRatio record component.
      Returns:
      the value of the quantumResistanceRatio record component
    • standard

      public String standard()
      Returns the value of the standard record component.
      Returns:
      the value of the standard record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • timestamp

      public String timestamp()
      Returns the value of the timestamp record component.
      Returns:
      the value of the timestamp record component