Class PolicyRootOfTrust
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PolicyRootOfTrust
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PolicyRootOfTrustBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PolicyRootOfTrust extends Object implements io.fabric8.kubernetes.api.builder.Editable<PolicyRootOfTrustBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PolicyRootOfTrust defines the root of trust based on the selected policyType.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyRootOfTrust()No args constructor for use in serializationPolicyRootOfTrust(FulcioCAWithRekor fulcioCAWithRekor, PKI pki, String policyType, PublicKey publicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyRootOfTrustBuilderedit()Map<String,Object>getAdditionalProperties()FulcioCAWithRekorgetFulcioCAWithRekor()PolicyRootOfTrust defines the root of trust based on the selected policyType.PKIgetPki()PolicyRootOfTrust defines the root of trust based on the selected policyType.StringgetPolicyType()policyType is a required field specifies the type of the policy for verification.PublicKeygetPublicKey()PolicyRootOfTrust defines the root of trust based on the selected policyType.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFulcioCAWithRekor(FulcioCAWithRekor fulcioCAWithRekor)PolicyRootOfTrust defines the root of trust based on the selected policyType.voidsetPki(PKI pki)PolicyRootOfTrust defines the root of trust based on the selected policyType.voidsetPolicyType(String policyType)policyType is a required field specifies the type of the policy for verification.voidsetPublicKey(PublicKey publicKey)PolicyRootOfTrust defines the root of trust based on the selected policyType.PolicyRootOfTrustBuildertoBuilder()
-
-
-
Constructor Detail
-
PolicyRootOfTrust
public PolicyRootOfTrust()
No args constructor for use in serialization
-
PolicyRootOfTrust
public PolicyRootOfTrust(FulcioCAWithRekor fulcioCAWithRekor, PKI pki, String policyType, PublicKey publicKey)
-
-
Method Detail
-
getFulcioCAWithRekor
public FulcioCAWithRekor getFulcioCAWithRekor()
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
setFulcioCAWithRekor
public void setFulcioCAWithRekor(FulcioCAWithRekor fulcioCAWithRekor)
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
getPki
public PKI getPki()
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
setPki
public void setPki(PKI pki)
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
getPolicyType
public String getPolicyType()
policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are "PublicKey", "FulcioCAWithRekor", and "PKI". When set to "PublicKey", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to "FulcioCAWithRekor", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate.
-
setPolicyType
public void setPolicyType(String policyType)
policyType is a required field specifies the type of the policy for verification. This field must correspond to how the policy was generated. Allowed values are "PublicKey", "FulcioCAWithRekor", and "PKI". When set to "PublicKey", the policy relies on a sigstore publicKey and may optionally use a Rekor verification. When set to "FulcioCAWithRekor", the policy is based on the Fulcio certification and incorporates a Rekor verification. When set to "PKI", the policy is based on the certificates from Bring Your Own Public Key Infrastructure (BYOPKI). This value is enabled by turning on the SigstoreImageVerificationPKI feature gate.
-
getPublicKey
public PublicKey getPublicKey()
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
setPublicKey
public void setPublicKey(PublicKey publicKey)
PolicyRootOfTrust defines the root of trust based on the selected policyType.
-
edit
public PolicyRootOfTrustBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PolicyRootOfTrustBuilder>
-
toBuilder
public PolicyRootOfTrustBuilder toBuilder()
-
-