def __init__(self,<EOL>certificate_type=None,<EOL>certificate_value=None):
super(Certificate, self).__init__(Tags.CERTIFICATE)<EOL>if certificate_type is None:<EOL><INDENT>self.certificate_type = CertificateType()<EOL><DEDENT>else:<EOL><INDENT>self.certificate_type = CertificateType(certificate_type)<EOL><DEDENT>if certificate_value is None:<EOL><INDENT>self.certificate_value = CertificateValue()<EOL><DEDENT>else:<EOL><INDENT>self.certificate_value = CertificateValue(certificate_value)<EOL><DEDENT>
Construct a Certificate object.

Args:
    certificate_type (CertificateType): The type of the
        certificate. Optional, defaults to None.
    certificate_value (bytes): The bytes of the certificate. Optional,
        defaults to None.