ContainerImageSignatureSummary¶
-
class
oci.artifacts.models.
ContainerImageSignatureSummary
(**kwargs)¶ Bases:
object
Container image signature summary.
Attributes
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. compartment_id
[Required] Gets the compartment_id of this ContainerImageSignatureSummary. display_name
[Required] Gets the display_name of this ContainerImageSignatureSummary. id
[Required] Gets the id of this ContainerImageSignatureSummary. image_id
[Required] Gets the image_id of this ContainerImageSignatureSummary. kms_key_id
[Required] Gets the kms_key_id of this ContainerImageSignatureSummary. kms_key_version_id
[Required] Gets the kms_key_version_id of this ContainerImageSignatureSummary. message
[Required] Gets the message of this ContainerImageSignatureSummary. signature
[Required] Gets the signature of this ContainerImageSignatureSummary. signing_algorithm
[Required] Gets the signing_algorithm of this ContainerImageSignatureSummary. time_created
[Required] Gets the time_created of this ContainerImageSignatureSummary. Methods
__init__
(**kwargs)Initializes a new ContainerImageSignatureSummary object with values from keyword arguments. -
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS
= 'SHA_224_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. This constant has a value of “SHA_224_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS
= 'SHA_256_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. This constant has a value of “SHA_256_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS
= 'SHA_384_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. This constant has a value of “SHA_384_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS
= 'SHA_512_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignatureSummary. This constant has a value of “SHA_512_RSA_PKCS_PSS”
-
__init__
(**kwargs)¶ Initializes a new ContainerImageSignatureSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this ContainerImageSignatureSummary.
- display_name (str) – The value to assign to the display_name property of this ContainerImageSignatureSummary.
- id (str) – The value to assign to the id property of this ContainerImageSignatureSummary.
- image_id (str) – The value to assign to the image_id property of this ContainerImageSignatureSummary.
- kms_key_id (str) – The value to assign to the kms_key_id property of this ContainerImageSignatureSummary.
- kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this ContainerImageSignatureSummary.
- message (str) – The value to assign to the message property of this ContainerImageSignatureSummary.
- signature (str) – The value to assign to the signature property of this ContainerImageSignatureSummary.
- signing_algorithm (str) – The value to assign to the signing_algorithm property of this ContainerImageSignatureSummary. Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ContainerImageSignatureSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this ContainerImageSignatureSummary. The OCID of the compartment in which the container repository exists.
Returns: The compartment_id of this ContainerImageSignatureSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this ContainerImageSignatureSummary. The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.
Example: wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva
Returns: The display_name of this ContainerImageSignatureSummary. Return type: str
-
id
¶ [Required] Gets the id of this ContainerImageSignatureSummary. The OCID of the container image signature.
Example: ocid1.containerimagesignature.oc1..exampleuniqueID
Returns: The id of this ContainerImageSignatureSummary. Return type: str
-
image_id
¶ [Required] Gets the image_id of this ContainerImageSignatureSummary. The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
Returns: The image_id of this ContainerImageSignatureSummary. Return type: str
-
kms_key_id
¶ [Required] Gets the kms_key_id of this ContainerImageSignatureSummary. The OCID of the kmsKeyId used to sign the container image.
Example: ocid1.key.oc1..exampleuniqueID
Returns: The kms_key_id of this ContainerImageSignatureSummary. Return type: str
-
kms_key_version_id
¶ [Required] Gets the kms_key_version_id of this ContainerImageSignatureSummary. The OCID of the kmsKeyVersionId used to sign the container image.
Example: ocid1.keyversion.oc1..exampleuniqueID
Returns: The kms_key_version_id of this ContainerImageSignatureSummary. Return type: str
-
message
¶ [Required] Gets the message of this ContainerImageSignatureSummary. The base64 encoded signature payload that was signed.
Returns: The message of this ContainerImageSignatureSummary. Return type: str
-
signature
¶ [Required] Gets the signature of this ContainerImageSignatureSummary. The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
Returns: The signature of this ContainerImageSignatureSummary. Return type: str
-
signing_algorithm
¶ [Required] Gets the signing_algorithm of this ContainerImageSignatureSummary. The algorithm to be used for signing. These are the only supported signing algorithms for container images.
Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The signing_algorithm of this ContainerImageSignatureSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this ContainerImageSignatureSummary. An RFC 3339 timestamp indicating when the image was created.
Returns: The time_created of this ContainerImageSignatureSummary. Return type: datetime
-