!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/google/apiclient-services/src/Gmail/Resource/   drwxr-xr-x
Free 13.18 GB of 57.97 GB (22.73%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     UsersSettingsCseKeypairs.php (6.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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\Gmail\Resource;

use 
Google\Service\Gmail\CseKeyPair;
use 
Google\Service\Gmail\DisableCseKeyPairRequest;
use 
Google\Service\Gmail\EnableCseKeyPairRequest;
use 
Google\Service\Gmail\ListCseKeyPairsResponse;
use 
Google\Service\Gmail\ObliterateCseKeyPairRequest;

/**
 * The "keypairs" collection of methods.
 * Typical usage is:
 *  <code>
 *   $gmailService = new Google\Service\Gmail(...);
 *   $keypairs = $gmailService->users_settings_cse_keypairs;
 *  </code>
 */
class UsersSettingsCseKeypairs extends \Google\Service\Resource
{
  
/**
   * Creates and uploads a client-side encryption S/MIME public key certificate
   * chain and private key metadata for the authenticated user. (keypairs.create)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param CseKeyPair $postBody
   * @param array $optParams Optional parameters.
   * @return CseKeyPair
   */
  
public function create($userIdCseKeyPair $postBody$optParams = [])
  {
    
$params = ['userId' => $userId'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('create', [$params], CseKeyPair::class);
  }
  
/**
   * Turns off a client-side encryption key pair. The authenticated user can no
   * longer use the key pair to decrypt incoming CSE message texts or sign
   * outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the
   * key pair. After 30 days, you can permanently delete the key pair by using the
   * ObliterateCseKeyPair method. (keypairs.disable)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param string $keyPairId The identifier of the key pair to turn off.
   * @param DisableCseKeyPairRequest $postBody
   * @param array $optParams Optional parameters.
   * @return CseKeyPair
   */
  
public function disable($userId$keyPairIdDisableCseKeyPairRequest $postBody$optParams = [])
  {
    
$params = ['userId' => $userId'keyPairId' => $keyPairId'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('disable', [$params], CseKeyPair::class);
  }
  
/**
   * Turns on a client-side encryption key pair that was turned off. The key pair
   * becomes active again for any associated client-side encryption identities.
   * (keypairs.enable)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param string $keyPairId The identifier of the key pair to turn on.
   * @param EnableCseKeyPairRequest $postBody
   * @param array $optParams Optional parameters.
   * @return CseKeyPair
   */
  
public function enable($userId$keyPairIdEnableCseKeyPairRequest $postBody$optParams = [])
  {
    
$params = ['userId' => $userId'keyPairId' => $keyPairId'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('enable', [$params], CseKeyPair::class);
  }
  
/**
   * Retrieves an existing client-side encryption key pair. (keypairs.get)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param string $keyPairId The identifier of the key pair to retrieve.
   * @param array $optParams Optional parameters.
   * @return CseKeyPair
   */
  
public function get($userId$keyPairId$optParams = [])
  {
    
$params = ['userId' => $userId'keyPairId' => $keyPairId];
    
$params array_merge($params$optParams);
    return 
$this->call('get', [$params], CseKeyPair::class);
  }
  
/**
   * Lists client-side encryption key pairs for an authenticated user.
   * (keypairs.listUsersSettingsCseKeypairs)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize The number of key pairs to return. If not provided,
   * the page size will default to 20 entries.
   * @opt_param string pageToken Pagination token indicating which page of key
   * pairs to return. If the token is not supplied, then the API will return the
   * first page of results.
   * @return ListCseKeyPairsResponse
   */
  
public function listUsersSettingsCseKeypairs($userId$optParams = [])
  {
    
$params = ['userId' => $userId];
    
$params array_merge($params$optParams);
    return 
$this->call('list', [$params], ListCseKeyPairsResponse::class);
  }
  
/**
   * Deletes a client-side encryption key pair permanently and immediately. You
   * can only permanently delete key pairs that have been turned off for more than
   * 30 days. To turn off a key pair, use the DisableCseKeyPair method. Gmail
   * can't restore or decrypt any messages that were encrypted by an obliterated
   * key. Authenticated users and Google Workspace administrators lose access to
   * reading the encrypted messages. (keypairs.obliterate)
   *
   * @param string $userId The requester's primary email address. To indicate the
   * authenticated user, you can use the special value `me`.
   * @param string $keyPairId The identifier of the key pair to obliterate.
   * @param ObliterateCseKeyPairRequest $postBody
   * @param array $optParams Optional parameters.
   */
  
public function obliterate($userId$keyPairIdObliterateCseKeyPairRequest $postBody$optParams = [])
  {
    
$params = ['userId' => $userId'keyPairId' => $keyPairId'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('obliterate', [$params]);
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersSettingsCseKeypairs::class, 'Google_Service_Gmail_Resource_UsersSettingsCseKeypairs');

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]--