Record Class AuditorViews.Redacted
java.lang.Object
java.lang.Record
zeroecho.pki.server.AuditorViews.Redacted
- Record Components:
objectId- exact object identifiertype- resource typescope- exact security scopelifecycleState- bounded lifecycle statecreatedAt- authoritative creation timealgorithmId- algorithm identitybindingId- optional representation binding identifiercommitment- immutable object commitmentsubjectPresent- whether subject PII existssubjectAlternativeNameCount- number of subject-alternative names
- Enclosing class:
AuditorViews
public static record AuditorViews.Redacted(PkiId objectId, Permission.ResourceType type, Permission.Scope scope, String lifecycleState, Instant createdAt, String algorithmId, Optional<String> bindingId, String commitment, boolean subjectPresent, int subjectAlternativeNameCount)
extends Record
Redacted metadata projection containing indicators rather than PII.
-
Constructor Summary
ConstructorsConstructorDescriptionRedacted(PkiId objectId, Permission.ResourceType type, Permission.Scope scope, String lifecycleState, Instant createdAt, String algorithmId, Optional<String> bindingId, String commitment, boolean subjectPresent, int subjectAlternativeNameCount) Creates an instance of aRedactedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmIdrecord component.Returns the value of thebindingIdrecord component.Returns the value of thecommitmentrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelifecycleStaterecord component.objectId()Returns the value of theobjectIdrecord component.scope()Returns the value of thescoperecord component.intReturns the value of thesubjectAlternativeNameCountrecord component.booleanReturns the value of thesubjectPresentrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Redacted
public Redacted(PkiId objectId, Permission.ResourceType type, Permission.Scope scope, String lifecycleState, Instant createdAt, String algorithmId, Optional<String> bindingId, String commitment, boolean subjectPresent, int subjectAlternativeNameCount) Creates an instance of aRedactedrecord class.- Parameters:
objectId- the value for theobjectIdrecord componenttype- the value for thetyperecord componentscope- the value for thescoperecord componentlifecycleState- the value for thelifecycleStaterecord componentcreatedAt- the value for thecreatedAtrecord componentalgorithmId- the value for thealgorithmIdrecord componentbindingId- the value for thebindingIdrecord componentcommitment- the value for thecommitmentrecord componentsubjectPresent- the value for thesubjectPresentrecord componentsubjectAlternativeNameCount- the value for thesubjectAlternativeNameCountrecord component
-
-
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. -
objectId
-
type
-
scope
-
lifecycleState
Returns the value of thelifecycleStaterecord component.- Returns:
- the value of the
lifecycleStaterecord component
-
createdAt
-
algorithmId
Returns the value of thealgorithmIdrecord component.- Returns:
- the value of the
algorithmIdrecord component
-
bindingId
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-
subjectPresent
public boolean subjectPresent()Returns the value of thesubjectPresentrecord component.- Returns:
- the value of the
subjectPresentrecord component
-
subjectAlternativeNameCount
public int subjectAlternativeNameCount()Returns the value of thesubjectAlternativeNameCountrecord component.- Returns:
- the value of the
subjectAlternativeNameCountrecord component
-