📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/CertificateAuthorityService
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AccessUrls.php
▶ Open 📄 View Source
🐘 ActivateCertificateAuthorityRequest.php
▶ Open 📄 View Source
🐘 AllowedKeyType.php
▶ Open 📄 View Source
🐘 AttributeTypeAndValue.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CaOptions.php
▶ Open 📄 View Source
🐘 CaPool.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CertChain.php
▶ Open 📄 View Source
🐘 Certificate.php
▶ Open 📄 View Source
🐘 CertificateAuthority.php
▶ Open 📄 View Source
🐘 CertificateConfig.php
▶ Open 📄 View Source
🐘 CertificateConfigKeyId.php
▶ Open 📄 View Source
🐘 CertificateDescription.php
▶ Open 📄 View Source
🐘 CertificateExtensionConstraints.php
▶ Open 📄 View Source
🐘 CertificateFingerprint.php
▶ Open 📄 View Source
🐘 CertificateIdentityConstraints.php
▶ Open 📄 View Source
🐘 CertificateRevocationList.php
▶ Open 📄 View Source
🐘 CertificateTemplate.php
▶ Open 📄 View Source
🐘 DisableCertificateAuthorityRequest.php
▶ Open 📄 View Source
🐘 EcKeyType.php
▶ Open 📄 View Source
🐘 EnableCertificateAuthorityRequest.php
▶ Open 📄 View Source
🐘 EncryptionSpec.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtendedKeyUsageOptions.php
▶ Open 📄 View Source
🐘 FetchCaCertsRequest.php
▶ Open 📄 View Source
🐘 FetchCaCertsResponse.php
▶ Open 📄 View Source
🐘 FetchCertificateAuthorityCsrResponse.php
▶ Open 📄 View Source
🐘 IssuanceModes.php
▶ Open 📄 View Source
🐘 IssuancePolicy.php
▶ Open 📄 View Source
🐘 KeyId.php
▶ Open 📄 View Source
🐘 KeyUsage.php
▶ Open 📄 View Source
🐘 KeyUsageOptions.php
▶ Open 📄 View Source
🐘 KeyVersionSpec.php
▶ Open 📄 View Source
🐘 ListCaPoolsResponse.php
▶ Open 📄 View Source
🐘 ListCertificateAuthoritiesResponse.php
▶ Open 📄 View Source
🐘 ListCertificateRevocationListsResponse.php
▶ Open 📄 View Source
🐘 ListCertificateTemplatesResponse.php
▶ Open 📄 View Source
🐘 ListCertificatesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 NameConstraints.php
▶ Open 📄 View Source
🐘 ObjectId.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PrivatecaEmpty.php
▶ Open 📄 View Source
🐘 PublicKey.php
▶ Open 📄 View Source
🐘 PublishingOptions.php
▶ Open 📄 View Source
🐘 ReconciliationOperationMetadata.php
▶ Open 📄 View Source
🐘 RelativeDistinguishedName.php
▶ Open 📄 View Source
🐘 RevocationDetails.php
▶ Open 📄 View Source
🐘 RevokeCertificateRequest.php
▶ Open 📄 View Source
🐘 RevokedCertificate.php
▶ Open 📄 View Source
🐘 RsaKeyType.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Subject.php
▶ Open 📄 View Source
🐘 SubjectAltNames.php
▶ Open 📄 View Source
🐘 SubjectConfig.php
▶ Open 📄 View Source
🐘 SubjectDescription.php
▶ Open 📄 View Source
🐘 SubordinateConfig.php
▶ Open 📄 View Source
🐘 SubordinateConfigChain.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 UndeleteCertificateAuthorityRequest.php
▶ Open 📄 View Source
🐘 UserDefinedAccessUrls.php
▶ Open 📄 View Source
🐘 X509Extension.php
▶ Open 📄 View Source
🐘 X509Parameters.php
▶ Open 📄 View Source

📄 Source: X509Parameters.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CertificateAuthorityService;

class X509Parameters extends \Google\Collection
{
  protected $collection_key = 'policyIds';
  protected $additionalExtensionsType = X509Extension::class;
  protected $additionalExtensionsDataType = 'array';
  /**
   * Optional. Describes Online Certificate Status Protocol (OCSP) endpoint
   * addresses that appear in the "Authority Information Access" extension in
   * the certificate.
   *
   * @var string[]
   */
  public $aiaOcspServers;
  protected $caOptionsType = CaOptions::class;
  protected $caOptionsDataType = '';
  protected $keyUsageType = KeyUsage::class;
  protected $keyUsageDataType = '';
  protected $nameConstraintsType = NameConstraints::class;
  protected $nameConstraintsDataType = '';
  protected $policyIdsType = ObjectId::class;
  protected $policyIdsDataType = 'array';

  /**
   * Optional. Describes custom X.509 extensions.
   *
   * @param X509Extension[] $additionalExtensions
   */
  public function setAdditionalExtensions($additionalExtensions)
  {
    $this->additionalExtensions = $additionalExtensions;
  }
  /**
   * @return X509Extension[]
   */
  public function getAdditionalExtensions()
  {
    return $this->additionalExtensions;
  }
  /**
   * Optional. Describes Online Certificate Status Protocol (OCSP) endpoint
   * addresses that appear in the "Authority Information Access" extension in
   * the certificate.
   *
   * @param string[] $aiaOcspServers
   */
  public function setAiaOcspServers($aiaOcspServers)
  {
    $this->aiaOcspServers = $aiaOcspServers;
  }
  /**
   * @return string[]
   */
  public function getAiaOcspServers()
  {
    return $this->aiaOcspServers;
  }
  /**
   * Optional. Describes options in this X509Parameters that are relevant in a
   * CA certificate. If not specified, a default basic constraints extension
   * with `is_ca=false` will be added for leaf certificates.
   *
   * @param CaOptions $caOptions
   */
  public function setCaOptions(CaOptions $caOptions)
  {
    $this->caOptions = $caOptions;
  }
  /**
   * @return CaOptions
   */
  public function getCaOptions()
  {
    return $this->caOptions;
  }
  /**
   * Optional. Indicates the intended use for keys that correspond to a
   * certificate.
   *
   * @param KeyUsage $keyUsage
   */
  public function setKeyUsage(KeyUsage $keyUsage)
  {
    $this->keyUsage = $keyUsage;
  }
  /**
   * @return KeyUsage
   */
  public function getKeyUsage()
  {
    return $this->keyUsage;
  }
  /**
   * Optional. Describes the X.509 name constraints extension.
   *
   * @param NameConstraints $nameConstraints
   */
  public function setNameConstraints(NameConstraints $nameConstraints)
  {
    $this->nameConstraints = $nameConstraints;
  }
  /**
   * @return NameConstraints
   */
  public function getNameConstraints()
  {
    return $this->nameConstraints;
  }
  /**
   * Optional. Describes the X.509 certificate policy object identifiers, per
   * https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
   *
   * @param ObjectId[] $policyIds
   */
  public function setPolicyIds($policyIds)
  {
    $this->policyIds = $policyIds;
  }
  /**
   * @return ObjectId[]
   */
  public function getPolicyIds()
  {
    return $this->policyIds;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(X509Parameters::class, 'Google_Service_CertificateAuthorityService_X509Parameters');
← Back