pub struct CertificateKeystoresPkcs12 {
pub create: bool,
pub password_secret_ref: CertificateKeystoresPkcs12PasswordSecretRef,
pub profile: Option<CertificateKeystoresPkcs12Profile>,
}
Expand description
PKCS12 configures options for storing a PKCS12 keystore in the
spec.secretName
Secret resource.
Fields§
§create: bool
Create enables PKCS12 keystore creation for the Certificate.
If true, a file named keystore.p12
will be created in the target
Secret resource, encrypted using the password stored in
passwordSecretRef
.
The keystore file will be updated immediately.
If the issuer provided a CA certificate, a file named truststore.p12
will
also be created in the target Secret resource, encrypted using the
password stored in passwordSecretRef
containing the issuing Certificate
Authority
password_secret_ref: CertificateKeystoresPkcs12PasswordSecretRef
PasswordSecretRef is a reference to a key in a Secret resource containing the password used to encrypt the PKCS12 keystore.
profile: Option<CertificateKeystoresPkcs12Profile>
Profile specifies the key and certificate encryption algorithms and the HMAC algorithm
used to create the PKCS12 keystore. Default value is LegacyRC2
for backward compatibility.
If provided, allowed values are:
LegacyRC2
: Deprecated. Not supported by default in OpenSSL 3 or Java 20.
LegacyDES
: Less secure algorithm. Use this option for maximal compatibility.
Modern2023
: Secure algorithm. Use this option in case you have to always use secure algorithms
(eg. because of company policy). Please note that the security of the algorithm is not that important
in reality, because the unencrypted certificate and private key are also stored in the Secret.
Trait Implementations§
source§impl Clone for CertificateKeystoresPkcs12
impl Clone for CertificateKeystoresPkcs12
source§fn clone(&self) -> CertificateKeystoresPkcs12
fn clone(&self) -> CertificateKeystoresPkcs12
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateKeystoresPkcs12
impl Debug for CertificateKeystoresPkcs12
source§impl Default for CertificateKeystoresPkcs12
impl Default for CertificateKeystoresPkcs12
source§fn default() -> CertificateKeystoresPkcs12
fn default() -> CertificateKeystoresPkcs12
source§impl<'de> Deserialize<'de> for CertificateKeystoresPkcs12
impl<'de> Deserialize<'de> for CertificateKeystoresPkcs12
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>,
source§impl JsonSchema for CertificateKeystoresPkcs12
impl JsonSchema for CertificateKeystoresPkcs12
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreimpl StructuralPartialEq for CertificateKeystoresPkcs12
Auto Trait Implementations§
impl Freeze for CertificateKeystoresPkcs12
impl RefUnwindSafe for CertificateKeystoresPkcs12
impl Send for CertificateKeystoresPkcs12
impl Sync for CertificateKeystoresPkcs12
impl Unpin for CertificateKeystoresPkcs12
impl UnwindSafe for CertificateKeystoresPkcs12
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.