redfish_codegen/models/aggregation_source/v1_3_1/
ecdsa_curve_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ECDSACurveType {
6    /// This value shall indicate the 'nistp256' curve in RFC5656.
7    NISTP256,
8    /// This value shall indicate the 'nistp384' curve in RFC5656.
9    NISTP384,
10    /// This value shall indicate the 'nistp521' curve in RFC5656.
11    NISTP521,
12    /// This value shall indicate the 'nistk163' curve in RFC5656.
13    NISTK163,
14    /// This value shall indicate the 'nistp192' curve in RFC5656.
15    NISTP192,
16    /// This value shall indicate the 'nistp224' curve in RFC5656.
17    NISTP224,
18    /// This value shall indicate the 'nistk233' curve in RFC5656.
19    NISTK233,
20    /// This value shall indicate the 'nistb233' curve in RFC5656.
21    NISTB233,
22    /// This value shall indicate the 'nistk283' curve in RFC5656.
23    NISTK283,
24    /// This value shall indicate the 'nistk409' curve in RFC5656.
25    NISTK409,
26    /// This value shall indicate the 'nistb409' curve in RFC5656.
27    NISTB409,
28    /// This value shall indicate the 'nistt571' curve in RFC5656.
29    NISTT571,
30}
31
32#[allow(clippy::derivable_impls)]
33impl Default for ECDSACurveType {
34     fn default() -> ECDSACurveType {
35        ECDSACurveType::NISTP256
36     }
37}
38
39impl crate::Metadata<'static> for ECDSACurveType {
40    const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json";
41}