Package co.cryptoservice.sdk
Record Class DoraScorecard
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.DoraScorecard
- Record Components:
activePrimitivesCount- algorithm identifiers listedalgorithmDeprecationSchedule- the algorithmDeprecationSchedulearticle- the articlescryptographicInventory- the cryptographicInventorydisclaimer- the disclaimerpostQuantumPrimitivesCount- post-quantum identifiers listedquantumResistanceRatio- post-quantum identifiers / all identifiers, two decimalsstandard- the regulationstatus- the statustimestamp- 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 Summary
ConstructorsConstructorDescriptionDoraScorecard(int activePrimitivesCount, List<DoraDeprecation> algorithmDeprecationSchedule, String article, List<DoraInventoryItem> cryptographicInventory, String disclaimer, int postQuantumPrimitivesCount, double quantumResistanceRatio, String standard, String status, String timestamp) Creates an instance of aDoraScorecardrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactivePrimitivesCountrecord component.Returns the value of thealgorithmDeprecationSchedulerecord component.article()Returns the value of thearticlerecord component.Returns the value of thecryptographicInventoryrecord component.Returns the value of thedisclaimerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepostQuantumPrimitivesCountrecord component.doubleReturns the value of thequantumResistanceRatiorecord component.standard()Returns the value of thestandardrecord component.status()Returns the value of thestatusrecord component.Returns the value of thetimestamprecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
DoraScorecard
public DoraScorecard(int activePrimitivesCount, List<DoraDeprecation> algorithmDeprecationSchedule, String article, List<DoraInventoryItem> cryptographicInventory, String disclaimer, int postQuantumPrimitivesCount, double quantumResistanceRatio, String standard, String status, String timestamp) Creates an instance of aDoraScorecardrecord class.- Parameters:
activePrimitivesCount- the value for theactivePrimitivesCountrecord componentalgorithmDeprecationSchedule- the value for thealgorithmDeprecationSchedulerecord componentarticle- the value for thearticlerecord componentcryptographicInventory- the value for thecryptographicInventoryrecord componentdisclaimer- the value for thedisclaimerrecord componentpostQuantumPrimitivesCount- the value for thepostQuantumPrimitivesCountrecord componentquantumResistanceRatio- the value for thequantumResistanceRatiorecord componentstandard- the value for thestandardrecord componentstatus- the value for thestatusrecord componenttimestamp- the value for thetimestamprecord component
-
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
activePrimitivesCount
public int activePrimitivesCount()Returns the value of theactivePrimitivesCountrecord component.- Returns:
- the value of the
activePrimitivesCountrecord component
-
algorithmDeprecationSchedule
Returns the value of thealgorithmDeprecationSchedulerecord component.- Returns:
- the value of the
algorithmDeprecationSchedulerecord component
-
article
Returns the value of thearticlerecord component.- Returns:
- the value of the
articlerecord component
-
cryptographicInventory
Returns the value of thecryptographicInventoryrecord component.- Returns:
- the value of the
cryptographicInventoryrecord component
-
disclaimer
Returns the value of thedisclaimerrecord component.- Returns:
- the value of the
disclaimerrecord component
-
postQuantumPrimitivesCount
public int postQuantumPrimitivesCount()Returns the value of thepostQuantumPrimitivesCountrecord component.- Returns:
- the value of the
postQuantumPrimitivesCountrecord component
-
quantumResistanceRatio
public double quantumResistanceRatio()Returns the value of thequantumResistanceRatiorecord component.- Returns:
- the value of the
quantumResistanceRatiorecord component
-
standard
Returns the value of thestandardrecord component.- Returns:
- the value of the
standardrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-