pub enum CertificateType {
PEM,
PEMchain,
PKCS7,
}
Variants§
PEM
This value shall indicate the format of the certificate shall contain a Privacy Enhanced Mail (PEM)-encoded string, containing RFC5280-defined structures, representing a single certificate.
PEMchain
This value shall indicate the format of the certificate shall contain a Privacy Enhanced Mail (PEM)-encoded string, containing RFC5280-defined structures, representing a certificate chain. Added in version v1_4_0.
PKCS7
The format of the certificate shall contain a Privacy Enhanced Mail (PEM)-encoded string, containing RFC5280-defined and RFC2315-defined structures. The service can discard additional certificates or other data in the structure.
Trait Implementations§
Source§impl Clone for CertificateType
impl Clone for CertificateType
Source§fn clone(&self) -> CertificateType
fn clone(&self) -> CertificateType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertificateType
impl Debug for CertificateType
Source§impl Default for CertificateType
impl Default for CertificateType
Source§fn default() -> CertificateType
fn default() -> CertificateType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateType
impl<'de> Deserialize<'de> for CertificateType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for CertificateType
impl Metadata<'static> for CertificateType
Source§const JSON_SCHEMA: &'static str = "Certificate.json"
const JSON_SCHEMA: &'static str = "Certificate.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for CertificateType
impl RefUnwindSafe for CertificateType
impl Send for CertificateType
impl Sync for CertificateType
impl Unpin for CertificateType
impl UnwindSafe for CertificateType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more