[−][src]Struct k8s_openapi::api::certificates::v1::CertificateSigningRequestStatus
CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.
Fields
certificate: Option<ByteString>
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:
- certificate must contain one or more PEM blocks.
- 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.
- 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----- )
conditions: Option<Vec<CertificateSigningRequestCondition>>
conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
Trait Implementations
impl Clone for CertificateSigningRequestStatus
[src]
fn clone(&self) -> CertificateSigningRequestStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CertificateSigningRequestStatus
[src]
impl Default for CertificateSigningRequestStatus
[src]
impl<'de> Deserialize<'de> for CertificateSigningRequestStatus
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CertificateSigningRequestStatus> for CertificateSigningRequestStatus
[src]
fn eq(&self, other: &CertificateSigningRequestStatus) -> bool
[src]
fn ne(&self, other: &CertificateSigningRequestStatus) -> bool
[src]
impl Serialize for CertificateSigningRequestStatus
[src]
impl StructuralPartialEq for CertificateSigningRequestStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for CertificateSigningRequestStatus
impl Send for CertificateSigningRequestStatus
impl Sync for CertificateSigningRequestStatus
impl Unpin for CertificateSigningRequestStatus
impl UnwindSafe for CertificateSigningRequestStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,