encryptedKeyPassword = $encryptedKeyPassword; } /** * @return string */ public function getEncryptedKeyPassword() { return $this->encryptedKeyPassword; } /** * When the certificate expires (in milliseconds since epoch). * * @param string $expiration */ public function setExpiration($expiration) { $this->expiration = $expiration; } /** * @return string */ public function getExpiration() { return $this->expiration; } /** * The immutable ID for the SmimeInfo. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Whether this SmimeInfo is the default one for this user's send-as address. * * @param bool $isDefault */ public function setIsDefault($isDefault) { $this->isDefault = $isDefault; } /** * @return bool */ public function getIsDefault() { return $this->isDefault; } /** * The S/MIME certificate issuer's common name. * * @param string $issuerCn */ public function setIssuerCn($issuerCn) { $this->issuerCn = $issuerCn; } /** * @return string */ public function getIssuerCn() { return $this->issuerCn; } /** * PEM formatted X509 concatenated certificate string (standard base64 * encoding). Format used for returning key, which includes public key as well * as certificate chain (not private key). * * @param string $pem */ public function setPem($pem) { $this->pem = $pem; } /** * @return string */ public function getPem() { return $this->pem; } /** * PKCS#12 format containing a single private/public key pair and certificate * chain. This format is only accepted from client for creating a new * SmimeInfo and is never returned, because the private key is not intended to * be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword * should be set appropriately. * * @param string $pkcs12 */ public function setPkcs12($pkcs12) { $this->pkcs12 = $pkcs12; } /** * @return string */ public function getPkcs12() { return $this->pkcs12; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SmimeInfo::class, 'Google_Service_Gmail_SmimeInfo');