Skip to main content
S3NS
Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
  • Python
  • Client libraries
Overview Guides Reference Samples
S3NS
  • Technology areas
    • More
    • Overview
    • Guides
    • Reference
    • Samples
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • BigQuery DataFrames
  • google-cloud-aiplatform
  • google-cloud-apphub
  • google-cloud-artifact-registry
  • google-cloud-asset
  • google-cloud-bigquery
  • google-cloud-bigquery-storage
  • google-cloud-bigtable
  • google-cloud-chronicle
  • google-cloud-compute
  • google-cloud-containeranalysis
  • google-cloud-datacatalog
  • google-cloud-dataplex
  • google-cloud-datastore
  • google-cloud-datastream
  • google-cloud-deploy
  • google-cloud-devicestreaming
  • google-cloud-discoveryengine
  • google-cloud-documentai
  • google-cloud-edgenetwork
  • google-cloud-financialservices
  • google-cloud-firestore
  • google-cloud-functions
  • google-cloud-gdchardwaremanagement
  • google-cloud-gke-backup
  • google-cloud-iam
  • google-cloud-iap
  • google-cloud-logging
  • google-cloud-lustre
  • google-cloud-modelarmor
  • google-cloud-netapp
  • google-cloud-network-management
  • google-cloud-oracledatabase
  • google-cloud-orchestration-airflow
  • google-cloud-org-policy
  • google-cloud-parallelstore
  • google-cloud-private-ca
    • Overview
    • Changelog
    • Multiprocessing
    • Security
      • privateca_v1.certificate_authority_service
        • Overview
        • pagers
          • Overview
          • ListCaPoolsAsyncPager
          • ListCaPoolsPager
          • ListCertificateAuthoritiesAsyncPager
          • ListCertificateAuthoritiesPager
          • ListCertificateRevocationListsAsyncPager
          • ListCertificateRevocationListsPager
          • ListCertificateTemplatesAsyncPager
          • ListCertificateTemplatesPager
          • ListCertificatesAsyncPager
          • ListCertificatesPager
        • CertificateAuthorityServiceAsyncClient
        • CertificateAuthorityServiceClient
      • privateca_v1.types
        • Overview
        • ActivateCertificateAuthorityRequest
        • CaPool
          • Overview
          • IssuancePolicy
            • Overview
            • AllowedKeyType
              • Overview
              • EcKeyType
                • Overview
                • EcSignatureAlgorithm
              • RsaKeyType
            • IssuanceModes
          • LabelsEntry
          • PublishingOptions
          • Tier
        • Certificate
          • Overview
          • LabelsEntry
          • RevocationDetails
        • CertificateAuthority
          • Overview
          • AccessUrls
          • KeyVersionSpec
          • LabelsEntry
          • SignHashAlgorithm
          • State
          • Type
        • CertificateConfig
          • Overview
          • SubjectConfig
        • CertificateDescription
          • Overview
          • CertificateFingerprint
          • KeyId
          • SubjectDescription
        • CertificateExtensionConstraints
          • Overview
          • KnownCertificateExtension
        • CertificateIdentityConstraints
        • CertificateRevocationList
          • Overview
          • LabelsEntry
          • RevokedCertificate
          • State
        • CertificateTemplate
          • Overview
          • LabelsEntry
        • CreateCaPoolRequest
        • CreateCertificateAuthorityRequest
        • CreateCertificateRequest
        • CreateCertificateTemplateRequest
        • DeleteCaPoolRequest
        • DeleteCertificateAuthorityRequest
        • DeleteCertificateTemplateRequest
        • DisableCertificateAuthorityRequest
        • EnableCertificateAuthorityRequest
        • FetchCaCertsRequest
        • FetchCaCertsResponse
          • Overview
          • CertChain
        • FetchCertificateAuthorityCsrRequest
        • FetchCertificateAuthorityCsrResponse
        • GetCaPoolRequest
        • GetCertificateAuthorityRequest
        • GetCertificateRequest
        • GetCertificateRevocationListRequest
        • GetCertificateTemplateRequest
        • KeyUsage
          • Overview
          • ExtendedKeyUsageOptions
          • KeyUsageOptions
        • ListCaPoolsRequest
        • ListCaPoolsResponse
        • ListCertificateAuthoritiesRequest
        • ListCertificateAuthoritiesResponse
        • ListCertificateRevocationListsRequest
        • ListCertificateRevocationListsResponse
        • ListCertificateTemplatesRequest
        • ListCertificateTemplatesResponse
        • ListCertificatesRequest
        • ListCertificatesResponse
        • ObjectId
        • OperationMetadata
        • PublicKey
          • Overview
          • KeyFormat
        • RevocationReason
        • RevokeCertificateRequest
        • Subject
        • SubjectAltNames
        • SubjectRequestMode
        • SubordinateConfig
          • Overview
          • SubordinateConfigChain
        • UndeleteCertificateAuthorityRequest
        • UpdateCaPoolRequest
        • UpdateCertificateAuthorityRequest
        • UpdateCertificateRequest
        • UpdateCertificateRevocationListRequest
        • UpdateCertificateTemplateRequest
        • X509Extension
        • X509Parameters
          • Overview
          • CaOptions
      • privateca_v1beta1.certificate_authority_service
        • Overview
        • pagers
          • Overview
          • ListCertificateAuthoritiesAsyncPager
          • ListCertificateAuthoritiesPager
          • ListCertificateRevocationListsAsyncPager
          • ListCertificateRevocationListsPager
          • ListCertificatesAsyncPager
          • ListCertificatesPager
          • ListReusableConfigsAsyncPager
          • ListReusableConfigsPager
        • CertificateAuthorityServiceAsyncClient
        • CertificateAuthorityServiceClient
      • privateca_v1beta1.types
        • Overview
        • ActivateCertificateAuthorityRequest
        • Certificate
          • Overview
          • LabelsEntry
          • RevocationDetails
        • CertificateAuthority
          • Overview
          • AccessUrls
          • CertificateAuthorityPolicy
            • Overview
            • AllowedConfigList
            • AllowedSubjectAltNames
            • IssuanceModes
          • IssuingOptions
          • KeyVersionSpec
          • LabelsEntry
          • SignHashAlgorithm
          • State
          • Tier
          • Type
        • CertificateConfig
          • Overview
          • SubjectConfig
        • CertificateDescription
          • Overview
          • CertificateFingerprint
          • KeyId
          • SubjectDescription
        • CertificateRevocationList
          • Overview
          • LabelsEntry
          • RevokedCertificate
          • State
        • CreateCertificateAuthorityRequest
        • CreateCertificateRequest
        • DisableCertificateAuthorityRequest
        • EnableCertificateAuthorityRequest
        • FetchCertificateAuthorityCsrRequest
        • FetchCertificateAuthorityCsrResponse
        • GetCertificateAuthorityRequest
        • GetCertificateRequest
        • GetCertificateRevocationListRequest
        • GetReusableConfigRequest
        • KeyUsage
          • Overview
          • ExtendedKeyUsageOptions
          • KeyUsageOptions
        • ListCertificateAuthoritiesRequest
        • ListCertificateAuthoritiesResponse
        • ListCertificateRevocationListsRequest
        • ListCertificateRevocationListsResponse
        • ListCertificatesRequest
        • ListCertificatesResponse
        • ListReusableConfigsRequest
        • ListReusableConfigsResponse
        • ObjectId
        • OperationMetadata
        • PublicKey
          • Overview
          • KeyType
        • RestoreCertificateAuthorityRequest
        • ReusableConfig
          • Overview
          • LabelsEntry
        • ReusableConfigValues
          • Overview
          • CaOptions
        • ReusableConfigWrapper
        • RevocationReason
        • RevokeCertificateRequest
        • ScheduleDeleteCertificateAuthorityRequest
        • Subject
        • SubjectAltNames
        • SubordinateConfig
          • Overview
          • SubordinateConfigChain
        • UpdateCertificateAuthorityRequest
        • UpdateCertificateRequest
        • UpdateCertificateRevocationListRequest
        • X509Extension
  • google-cloud-rapidmigrationassessment
  • google-cloud-recommendations-ai
  • google-cloud-recommender
  • google-cloud-redis
  • google-cloud-retail
  • google-cloud-run
  • google-cloud-runtimeconfig
  • google-cloud-secret-manager
  • google-cloud-securesourcemanager
  • google-cloud-securitycenter
  • google-cloud-securitycentermanagement
  • google-cloud-service-control
  • google-cloud-service-directory
  • google-cloud-service-management
  • google-cloud-service-usage
  • google-cloud-source-context
  • google-cloud-spanner
  • google-cloud-speech
  • google-cloud-storage
  • google-cloud-storage-transfer
  • google-cloud-storagebatchoperations
  • google-cloud-storageinsights
  • google-cloud-support
  • google-cloud-talent
  • google-cloud-texttospeech
  • google-cloud-tpu
  • google-cloud-translate
  • google-cloud-video-stitcher
  • google-cloud-video-transcoder
  • google-cloud-videointelligence
  • google-cloud-vision
  • google-cloud-vm-migration
  • google-cloud-vmwareengine
  • google-cloud-vpc-access
  • google-cloud-webrisk
  • google-cloud-websecurityscanner
  • google-cloud-workflows
  • google-cloud-workstations
  • googleapis-common-protos
  • llama-index-alloydb-pg
  • llama-index-cloud-sql-pg
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
Some or all of the information on this page might not apply to Cloud de Confiance by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Technology areas
  • Python
  • Client libraries

Class KeyFormat (1.0.6)

  • 1.16.0 (latest)
  • 1.15.0
  • 1.14.3
  • 1.13.1
  • 1.12.2
  • 1.11.0
  • 1.10.3
  • 1.9.0
  • 1.8.1
  • 1.7.1
  • 1.6.1
  • 1.5.0
  • 1.4.3
  • 1.3.2
  • 1.2.4
  • 1.1.0
  • 1.0.6
  • 0.4.0
  • 0.3.0
  • 0.1.1
KeyFormat(value)

Types of public keys formats that are supported. Currently, only PEM format is supported.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.

  • Terms
  • Privacy
  • Manage cookies