DescribedCertificate
¶
Source code in docs_src/capo_transfer/types/described_certificate.py
active_date
instance-attribute
¶
active_date: NotRequired[CertDate]
An optional date that specifies when the certificate becomes active. If you do not specify a value, ActiveDate takes the same value as NotBeforeDate, which is specified by the CA.
certificate
instance-attribute
¶
certificate: NotRequired[CertificateBodyType]
The file name for the certificate.
certificate_chain
instance-attribute
¶
certificate_chain: NotRequired[CertificateChainType]
The list of certificates that make up the chain for the certificate.
certificate_id
instance-attribute
¶
certificate_id: NotRequired[CertificateId]
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
description
instance-attribute
¶
description: NotRequired[Description]
The name or description that's used to identity the certificate.
inactive_date
instance-attribute
¶
inactive_date: NotRequired[CertDate]
An optional date that specifies when the certificate becomes inactive. If you do not specify a value, InactiveDate takes the same value as NotAfterDate, which is specified by the CA.
not_after_date
instance-attribute
¶
not_after_date: NotRequired[CertDate]
The final date that the certificate is valid.
not_before_date
instance-attribute
¶
not_before_date: NotRequired[CertDate]
The earliest date that the certificate is valid.
status
instance-attribute
¶
status: NotRequired[CertificateStatusType]
A certificate's status can be either ACTIVE or INACTIVE.
You can set ActiveDate and InactiveDate in the UpdateCertificate call. If you set values for these parameters, those values are used to determine whether the certificate has a status of ACTIVE or INACTIVE.
If you don't set values for ActiveDate and InactiveDate, we use the NotBefore and NotAfter date as specified on the X509 certificate to determine when a certificate is active and when it is inactive.
tags
instance-attribute
¶
tags: NotRequired[Tags]
Key-value pairs that can be used to group and search for certificates.
type
instance-attribute
¶
type: NotRequired[CertificateType]
If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
usage
instance-attribute
¶
usage: NotRequired[CertificateUsageType]
Specifies how this certificate is used. It can be used in the following ways:
-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS