Record Class CSCertificate
java.lang.Object
java.lang.Record
com.io7m.certusine.api.CSCertificate
- Record Components:
name- The name used to refer to certificatekeyPair- The keypair used for the certificatehosts- The list of hosts in the certificate
public record CSCertificate(CSCertificateName name, KeyPair keyPair, List<String> hosts)
extends Record
A request for a certificate within a domain. A certificate is used to assign
some degree of trust as to the identity of the holder of the keypair.
-
Constructor Summary
ConstructorsConstructorDescriptionCSCertificate(CSCertificateName name, KeyPair keyPair, List<String> hosts) A request for a certificate within a domain. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fullyQualifiedHostNames(CSDomain domain) final inthashCode()Returns a hash code value for this object.hosts()Returns the value of thehostsrecord component.keyPair()Returns the value of thekeyPairrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CSCertificate
A request for a certificate within a domain. A certificate is used to assign some degree of trust as to the identity of the holder of the keypair.- Parameters:
name- The name used to refer to certificatekeyPair- The keypair used for the certificatehosts- The list of hosts in the certificate
-
-
Method Details
-
fullyQualifiedHostNames
-
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). -
name
-
keyPair
-
hosts
-