Record Class ExtendedKeyUsage
java.lang.Object
java.lang.Record
zeroecho.pkix.ExtendedKeyUsage
- Record Components:
keyPurposeOids- the ordered, non-empty list of key-purpose OIDs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thekeyPurposeOidsrecord component.static ExtendedKeyUsageCreates an extended key usage from the given purpose OIDs.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SERVER_AUTH
-
CLIENT_AUTH
-
CODE_SIGNING
-
EMAIL_PROTECTION
-
TIME_STAMPING
-
OCSP_SIGNING
-
-
Constructor Details
-
ExtendedKeyUsage
-
-
Method Details
-
of
Creates an extended key usage from the given purpose OIDs.- Parameters:
keyPurposeOids- one or more key-purpose OIDs- Returns:
- the extended key usage value
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
keyPurposeOids
Returns the value of thekeyPurposeOidsrecord component.- Returns:
- the value of the
keyPurposeOidsrecord component
-