Record Class EnrollmentRuntimeConfiguration.KeygenArtifacts
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentRuntimeConfiguration.KeygenArtifacts
- Record Components:
directory- preprovisioned exclusive artifact directorymaximumArtifactBytes- maximum ciphertext bytes per artifactmaximumRetainedBytes- aggregate reserved ciphertext bytesmaximumArtifacts- maximum retained artifact descriptorsmaximumConcurrentGenerations- maximum active generation jobsdeliveryRetention- fixed delivery retention, at most 30 days
- Enclosing class:
EnrollmentRuntimeConfiguration
public static record EnrollmentRuntimeConfiguration.KeygenArtifacts(Path directory, long maximumArtifactBytes, long maximumRetainedBytes, int maximumArtifacts, int maximumConcurrentGenerations, Duration deliveryRetention)
extends Record
Optional client-encrypted server-keygen delivery storage. No plaintext key
persistence is authorized by this capability.
-
Constructor Summary
ConstructorsConstructorDescriptionKeygenArtifacts(Path directory, long maximumArtifactBytes, long maximumRetainedBytes, int maximumArtifacts, int maximumConcurrentGenerations, Duration deliveryRetention) Validates all explicit artifact budgets. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeliveryRetentionrecord component.Returns the value of thedirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of themaximumArtifactBytesrecord component.intReturns the value of themaximumArtifactsrecord component.intReturns the value of themaximumConcurrentGenerationsrecord component.longReturns the value of themaximumRetainedBytesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeygenArtifacts
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
directory
-
maximumArtifactBytes
public long maximumArtifactBytes()Returns the value of themaximumArtifactBytesrecord component.- Returns:
- the value of the
maximumArtifactBytesrecord component
-
maximumRetainedBytes
public long maximumRetainedBytes()Returns the value of themaximumRetainedBytesrecord component.- Returns:
- the value of the
maximumRetainedBytesrecord component
-
maximumArtifacts
public int maximumArtifacts()Returns the value of themaximumArtifactsrecord component.- Returns:
- the value of the
maximumArtifactsrecord component
-
maximumConcurrentGenerations
public int maximumConcurrentGenerations()Returns the value of themaximumConcurrentGenerationsrecord component.- Returns:
- the value of the
maximumConcurrentGenerationsrecord component
-
deliveryRetention
Returns the value of thedeliveryRetentionrecord component.- Returns:
- the value of the
deliveryRetentionrecord component
-