Class V1CertificateSigningRequestStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CertificateSigningRequestStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CertificateSigningRequestStatus
extends Object
CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1CertificateSigningRequestCondition conditionsItem) Add an item to the conditions property in a chainable fashion.certificate
(byte[] certificate) Set certificate in a chainable fashion.conditions
(List<@Valid V1CertificateSigningRequestCondition> conditions) Set conditions in a chainable fashion.boolean
byte[]
certificate is populated with an issued certificate by the signer after an Approved condition is present.conditions applied to the request.int
hashCode()
void
setCertificate
(byte[] certificate) Set the certificate property valuevoid
setConditions
(List<@Valid V1CertificateSigningRequestCondition> conditions) Set the conditions property valuetoString()
-
Field Details
-
JSON_PROPERTY_CERTIFICATE
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
-
Constructor Details
-
V1CertificateSigningRequestStatus
public V1CertificateSigningRequestStatus()
-
-
Method Details
-
getCertificate
public byte[] getCertificate()certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificate must contain one or more PEM blocks. 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280. 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468. If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. The certificate is encoded in PEM format. When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of: base64( -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- )- Returns:
- the certificate property value
-
setCertificate
public void setCertificate(byte[] certificate) Set the certificate property value -
certificate
Set certificate in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestStatus for chaining.
-
getConditions
conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".- Returns:
- the conditions property value
-
setConditions
Set the conditions property value -
conditions
public V1CertificateSigningRequestStatus conditions(List<@Valid V1CertificateSigningRequestCondition> conditions) Set conditions in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestStatus for chaining.
-
addconditionsItem
public V1CertificateSigningRequestStatus addconditionsItem(V1CertificateSigningRequestCondition conditionsItem) Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-