PATH:
home
/
thebhoeo
/
.trash
/
backwpup
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
SecurityNamespace
/
Model
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * SslCertificate File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ namespace Microsoft\Graph\SecurityNamespace\Model; /** * SslCertificate class * * @category Model * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ class SslCertificate extends Artifact { /** * Gets the expirationDateTime * The date and time when a certificate expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The expirationDateTime */ public function getExpirationDateTime() { if (array_key_exists("expirationDateTime", $this->_propDict)) { if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { return $this->_propDict["expirationDateTime"]; } else { $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); return $this->_propDict["expirationDateTime"]; } } return null; } /** * Sets the expirationDateTime * The date and time when a certificate expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The expirationDateTime * * @return SslCertificate */ public function setExpirationDateTime($val) { $this->_propDict["expirationDateTime"] = $val; return $this; } /** * Gets the fingerprint * A hash of the certificate calculated on the data and signature. * * @return string|null The fingerprint */ public function getFingerprint() { if (array_key_exists("fingerprint", $this->_propDict)) { return $this->_propDict["fingerprint"]; } else { return null; } } /** * Sets the fingerprint * A hash of the certificate calculated on the data and signature. * * @param string $val The fingerprint * * @return SslCertificate */ public function setFingerprint($val) { $this->_propDict["fingerprint"] = $val; return $this; } /** * Gets the firstSeenDateTime * The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The firstSeenDateTime */ public function getFirstSeenDateTime() { if (array_key_exists("firstSeenDateTime", $this->_propDict)) { if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { return $this->_propDict["firstSeenDateTime"]; } else { $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); return $this->_propDict["firstSeenDateTime"]; } } return null; } /** * Sets the firstSeenDateTime * The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The firstSeenDateTime * * @return SslCertificate */ public function setFirstSeenDateTime($val) { $this->_propDict["firstSeenDateTime"] = $val; return $this; } /** * Gets the issueDateTime * The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The issueDateTime */ public function getIssueDateTime() { if (array_key_exists("issueDateTime", $this->_propDict)) { if (is_a($this->_propDict["issueDateTime"], "\DateTime") || is_null($this->_propDict["issueDateTime"])) { return $this->_propDict["issueDateTime"]; } else { $this->_propDict["issueDateTime"] = new \DateTime($this->_propDict["issueDateTime"]); return $this->_propDict["issueDateTime"]; } } return null; } /** * Sets the issueDateTime * The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The issueDateTime * * @return SslCertificate */ public function setIssueDateTime($val) { $this->_propDict["issueDateTime"] = $val; return $this; } /** * Gets the issuer * The entity that grants this certificate. * * @return SslCertificateEntity|null The issuer */ public function getIssuer() { if (array_key_exists("issuer", $this->_propDict)) { if (is_a($this->_propDict["issuer"], "\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["issuer"])) { return $this->_propDict["issuer"]; } else { $this->_propDict["issuer"] = new SslCertificateEntity($this->_propDict["issuer"]); return $this->_propDict["issuer"]; } } return null; } /** * Sets the issuer * The entity that grants this certificate. * * @param SslCertificateEntity $val The issuer * * @return SslCertificate */ public function setIssuer($val) { $this->_propDict["issuer"] = $val; return $this; } /** * Gets the lastSeenDateTime * The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastSeenDateTime */ public function getLastSeenDateTime() { if (array_key_exists("lastSeenDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { return $this->_propDict["lastSeenDateTime"]; } else { $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); return $this->_propDict["lastSeenDateTime"]; } } return null; } /** * Sets the lastSeenDateTime * The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastSeenDateTime * * @return SslCertificate */ public function setLastSeenDateTime($val) { $this->_propDict["lastSeenDateTime"] = $val; return $this; } /** * Gets the serialNumber * The serial number associated with an SSL certificate. * * @return string|null The serialNumber */ public function getSerialNumber() { if (array_key_exists("serialNumber", $this->_propDict)) { return $this->_propDict["serialNumber"]; } else { return null; } } /** * Sets the serialNumber * The serial number associated with an SSL certificate. * * @param string $val The serialNumber * * @return SslCertificate */ public function setSerialNumber($val) { $this->_propDict["serialNumber"] = $val; return $this; } /** * Gets the sha1 * A SHA-1 hash of the certificate. Note: This is not the signature. * * @return string|null The sha1 */ public function getSha1() { if (array_key_exists("sha1", $this->_propDict)) { return $this->_propDict["sha1"]; } else { return null; } } /** * Sets the sha1 * A SHA-1 hash of the certificate. Note: This is not the signature. * * @param string $val The sha1 * * @return SslCertificate */ public function setSha1($val) { $this->_propDict["sha1"] = $val; return $this; } /** * Gets the subject * The person, site, machine, and so on, this certificate is for. * * @return SslCertificateEntity|null The subject */ public function getSubject() { if (array_key_exists("subject", $this->_propDict)) { if (is_a($this->_propDict["subject"], "\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["subject"])) { return $this->_propDict["subject"]; } else { $this->_propDict["subject"] = new SslCertificateEntity($this->_propDict["subject"]); return $this->_propDict["subject"]; } } return null; } /** * Sets the subject * The person, site, machine, and so on, this certificate is for. * * @param SslCertificateEntity $val The subject * * @return SslCertificate */ public function setSubject($val) { $this->_propDict["subject"] = $val; return $this; } /** * Gets the relatedHosts * The hosts related with this sslCertificate. * * @return array|null The relatedHosts */ public function getRelatedHosts() { if (array_key_exists("relatedHosts", $this->_propDict)) { return $this->_propDict["relatedHosts"]; } else { return null; } } /** * Sets the relatedHosts * The hosts related with this sslCertificate. * * @param Host[] $val The relatedHosts * * @return SslCertificate */ public function setRelatedHosts($val) { $this->_propDict["relatedHosts"] = $val; return $this; } }
[+]
..
[-] ExportFileMetadata.php
[edit]
[-] AmazonResourceEvidence.php
[edit]
[-] Subdomain.php
[edit]
[-] EmailSender.php
[edit]
[-] FileHashAlgorithm.php
[edit]
[-] IntelligenceProfileKind.php
[edit]
[-] AlertDetermination.php
[edit]
[-] EvidenceVerdict.php
[edit]
[-] Hyperlink.php
[edit]
[-] SiteSource.php
[edit]
[-] EdiscoveryCase.php
[edit]
[-] DataSourceContainer.php
[edit]
[-] EdiscoveryAddToReviewSetOperation.php
[edit]
[-] BlobContainerEvidence.php
[edit]
[-] HostReputationRuleSeverity.php
[edit]
[-] UnclassifiedArtifact.php
[edit]
[-] WhoisDomainStatus.php
[edit]
[-] WhoisBaseRecord.php
[edit]
[-] EdiscoveryIndexOperation.php
[edit]
[-] UrlEvidence.php
[edit]
[-] FileDetails.php
[edit]
[-] AlertClassification.php
[edit]
[-] IntelligenceProfileIndicator.php
[edit]
[-] DataSourceHoldStatus.php
[edit]
[-] FileHash.php
[edit]
[-] KubernetesClusterEvidence.php
[edit]
[-] KubernetesServicePort.php
[edit]
[-] DataSource.php
[edit]
[-] ChildSelectability.php
[edit]
[-] GoogleCloudLocationType.php
[edit]
[-] EdiscoveryExportOperation.php
[edit]
[-] EdiscoveryCustodian.php
[edit]
[-] KubernetesControllerEvidence.php
[edit]
[-] Search.php
[edit]
[-] KubernetesPlatform.php
[edit]
[-] PurgeType.php
[edit]
[-] RetentionEvent.php
[edit]
[-] OcrSettings.php
[edit]
[-] VulnerabilityComponent.php
[edit]
[-] KubernetesSecretEvidence.php
[edit]
[-] HostPort.php
[edit]
[-] MailboxEvidence.php
[edit]
[-] IncidentStatus.php
[edit]
[-] Vulnerability.php
[edit]
[-] KubernetesServiceAccountEvidence.php
[edit]
[-] AlertComment.php
[edit]
[-] RegistryValueEvidence.php
[edit]
[-] Hostname.php
[edit]
[-] OauthApplicationEvidence.php
[edit]
[-] HuntingQueryResults.php
[edit]
[-] KubernetesPodEvidence.php
[edit]
[-] DeviceRiskScore.php
[edit]
[-] CaseOperation.php
[edit]
[-] DataSet.php
[edit]
[-] CaseOperationStatus.php
[edit]
[-] AdditionalDataOptions.php
[edit]
[-] EventStatusType.php
[edit]
[-] IntelligenceProfile.php
[edit]
[-] EdiscoveryTagOperation.php
[edit]
[-] WhoisRecord.php
[edit]
[-] KubernetesServiceType.php
[edit]
[-] ServiceSource.php
[edit]
[-] ContentFormat.php
[edit]
[-] DeviceEvidence.php
[edit]
[-] HostPair.php
[edit]
[-] LoggedOnUser.php
[edit]
[-] HostPortProtocol.php
[edit]
[-] AlertStatus.php
[edit]
[-] VmCloudProvider.php
[edit]
[-] Article.php
[edit]
[-] EdiscoveryReviewSetQuery.php
[edit]
[-] DetectionStatus.php
[edit]
[-] FormattedContent.php
[edit]
[-] WhoisContact.php
[edit]
[-] CvssSummary.php
[edit]
[-] AnalyzedMessageEvidence.php
[edit]
[-] EdiscoveryReviewTag.php
[edit]
[-] AzureResourceEvidence.php
[edit]
[-] ArticleIndicator.php
[edit]
[-] CaseStatus.php
[edit]
[-] WhoisHistoryRecord.php
[edit]
[-] EvidenceRole.php
[edit]
[-] EvidenceRemediationStatus.php
[edit]
[-] HuntingRowResult.php
[edit]
[-] HostReputationRule.php
[edit]
[-] RedundancyDetectionSettings.php
[edit]
[-] EdiscoveryPurgeDataOperation.php
[edit]
[-] HostComponent.php
[edit]
[-] ThreatIntelligence.php
[edit]
[-] AlertEvidence.php
[edit]
[-] SslCertificate.php
[edit]
[-] IpEvidence.php
[edit]
[-] Incident.php
[edit]
[-] RetentionEventStatus.php
[edit]
[-] OnboardingStatus.php
[edit]
[-] VulnerabilitySeverity.php
[edit]
[-] UserAccount.php
[edit]
[-] EdiscoveryNoncustodialDataSource.php
[edit]
[-] GoogleCloudResourceEvidence.php
[edit]
[-] DefenderAvStatus.php
[edit]
[-] IpAddress.php
[edit]
[-] HostPortStatus.php
[edit]
[-] ProcessEvidence.php
[edit]
[-] Dictionary.php
[edit]
[-] DynamicColumnValue.php
[edit]
[-] ExportOptions.php
[edit]
[-] CasesRoot.php
[edit]
[-] EdiscoverySearch.php
[edit]
[-] FileEvidence.php
[edit]
[-] BlobEvidence.php
[edit]
[-] UserEvidence.php
[edit]
[-] ContainerImageEvidence.php
[edit]
[-] RegistryKeyEvidence.php
[edit]
[-] HostSslCertificate.php
[edit]
[-] EdiscoveryEstimateOperation.php
[edit]
[-] QueryType.php
[edit]
[-] EventPropagationResult.php
[edit]
[-] HostPortComponent.php
[edit]
[-] DataSourceContainerStatus.php
[edit]
[-] RetentionTrigger.php
[edit]
[-] UnifiedGroupSource.php
[edit]
[-] PassiveDnsRecord.php
[edit]
[-] EdiscoveryCaseSettings.php
[edit]
[-] HostCookie.php
[edit]
[-] CloudApplicationEvidence.php
[edit]
[-] DetectionSource.php
[edit]
[-] HostTracker.php
[edit]
[-] EdiscoveryReviewSet.php
[edit]
[-] SinglePropertySchema.php
[edit]
[-] HostPortBanner.php
[edit]
[-] UserSource.php
[edit]
[-] GraphCase.php
[edit]
[-] Artifact.php
[edit]
[-] DataSourceScopes.php
[edit]
[-] ExportFileStructure.php
[edit]
[-] EventPropagationStatus.php
[edit]
[-] HostReputationClassification.php
[edit]
[-] WhoisNameserver.php
[edit]
[-] HostSslCertificatePort.php
[edit]
[-] MailClusterEvidence.php
[edit]
[-] EdiscoveryHoldOperation.php
[edit]
[-] TopicModelingSettings.php
[edit]
[-] HostReputation.php
[edit]
[-] IntelligenceProfileCountryOrRegionOfOrigin.php
[edit]
[-] SslCertificateEntity.php
[edit]
[-] TriggersRoot.php
[edit]
[-] ContainerRegistryEvidence.php
[edit]
[-] IndicatorSource.php
[edit]
[-] TriggerTypesRoot.php
[edit]
[-] SourceType.php
[edit]
[-] PurgeAreas.php
[edit]
[-] ContainerPortProtocol.php
[edit]
[-] KubernetesServiceEvidence.php
[edit]
[-] RetentionEventType.php
[edit]
[-] Tag.php
[edit]
[-] StringValueDictionary.php
[edit]
[-] KubernetesNamespaceEvidence.php
[edit]
[-] SecurityGroupEvidence.php
[edit]
[-] AlertSeverity.php
[edit]
[-] ContainerEvidence.php
[edit]
[-] Indicator.php
[edit]
[-] AutonomousSystem.php
[edit]
[-] DeviceHealthStatus.php
[edit]
[-] VmMetadata.php
[edit]
[-] EventQuery.php
[edit]
[-] CaseAction.php
[edit]
[-] Host.php
[edit]
[-] Alert.php
[edit]