1 // Copyright 2022 Google LLC 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by aliasgen. DO NOT EDIT. 16 17 // Package privateca aliases all exported identifiers in package 18 // "cloud.google.com/go/security/privateca/apiv1/privatecapb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package privateca 24 25 import ( 26 src "cloud.google.com/go/security/privateca/apiv1/privatecapb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/security/privateca/apiv1/privatecapb 31 const ( 32 CaPool_DEVOPS = src.CaPool_DEVOPS 33 CaPool_ENTERPRISE = src.CaPool_ENTERPRISE 34 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_ECDSA_P256 = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_ECDSA_P256 35 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_ECDSA_P384 = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_ECDSA_P384 36 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EC_SIGNATURE_ALGORITHM_UNSPECIFIED = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EC_SIGNATURE_ALGORITHM_UNSPECIFIED 37 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EDDSA_25519 = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EDDSA_25519 38 CaPool_TIER_UNSPECIFIED = src.CaPool_TIER_UNSPECIFIED 39 CertificateAuthority_AWAITING_USER_ACTIVATION = src.CertificateAuthority_AWAITING_USER_ACTIVATION 40 CertificateAuthority_DELETED = src.CertificateAuthority_DELETED 41 CertificateAuthority_DISABLED = src.CertificateAuthority_DISABLED 42 CertificateAuthority_EC_P256_SHA256 = src.CertificateAuthority_EC_P256_SHA256 43 CertificateAuthority_EC_P384_SHA384 = src.CertificateAuthority_EC_P384_SHA384 44 CertificateAuthority_ENABLED = src.CertificateAuthority_ENABLED 45 CertificateAuthority_RSA_PKCS1_2048_SHA256 = src.CertificateAuthority_RSA_PKCS1_2048_SHA256 46 CertificateAuthority_RSA_PKCS1_3072_SHA256 = src.CertificateAuthority_RSA_PKCS1_3072_SHA256 47 CertificateAuthority_RSA_PKCS1_4096_SHA256 = src.CertificateAuthority_RSA_PKCS1_4096_SHA256 48 CertificateAuthority_RSA_PSS_2048_SHA256 = src.CertificateAuthority_RSA_PSS_2048_SHA256 49 CertificateAuthority_RSA_PSS_3072_SHA256 = src.CertificateAuthority_RSA_PSS_3072_SHA256 50 CertificateAuthority_RSA_PSS_4096_SHA256 = src.CertificateAuthority_RSA_PSS_4096_SHA256 51 CertificateAuthority_SELF_SIGNED = src.CertificateAuthority_SELF_SIGNED 52 CertificateAuthority_SIGN_HASH_ALGORITHM_UNSPECIFIED = src.CertificateAuthority_SIGN_HASH_ALGORITHM_UNSPECIFIED 53 CertificateAuthority_STAGED = src.CertificateAuthority_STAGED 54 CertificateAuthority_STATE_UNSPECIFIED = src.CertificateAuthority_STATE_UNSPECIFIED 55 CertificateAuthority_SUBORDINATE = src.CertificateAuthority_SUBORDINATE 56 CertificateAuthority_TYPE_UNSPECIFIED = src.CertificateAuthority_TYPE_UNSPECIFIED 57 CertificateExtensionConstraints_AIA_OCSP_SERVERS = src.CertificateExtensionConstraints_AIA_OCSP_SERVERS 58 CertificateExtensionConstraints_BASE_KEY_USAGE = src.CertificateExtensionConstraints_BASE_KEY_USAGE 59 CertificateExtensionConstraints_CA_OPTIONS = src.CertificateExtensionConstraints_CA_OPTIONS 60 CertificateExtensionConstraints_EXTENDED_KEY_USAGE = src.CertificateExtensionConstraints_EXTENDED_KEY_USAGE 61 CertificateExtensionConstraints_KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = src.CertificateExtensionConstraints_KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED 62 CertificateExtensionConstraints_POLICY_IDS = src.CertificateExtensionConstraints_POLICY_IDS 63 CertificateRevocationList_ACTIVE = src.CertificateRevocationList_ACTIVE 64 CertificateRevocationList_STATE_UNSPECIFIED = src.CertificateRevocationList_STATE_UNSPECIFIED 65 CertificateRevocationList_SUPERSEDED = src.CertificateRevocationList_SUPERSEDED 66 PublicKey_KEY_FORMAT_UNSPECIFIED = src.PublicKey_KEY_FORMAT_UNSPECIFIED 67 PublicKey_PEM = src.PublicKey_PEM 68 RevocationReason_AFFILIATION_CHANGED = src.RevocationReason_AFFILIATION_CHANGED 69 RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE = src.RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE 70 RevocationReason_CERTIFICATE_AUTHORITY_COMPROMISE = src.RevocationReason_CERTIFICATE_AUTHORITY_COMPROMISE 71 RevocationReason_CERTIFICATE_HOLD = src.RevocationReason_CERTIFICATE_HOLD 72 RevocationReason_CESSATION_OF_OPERATION = src.RevocationReason_CESSATION_OF_OPERATION 73 RevocationReason_KEY_COMPROMISE = src.RevocationReason_KEY_COMPROMISE 74 RevocationReason_PRIVILEGE_WITHDRAWN = src.RevocationReason_PRIVILEGE_WITHDRAWN 75 RevocationReason_REVOCATION_REASON_UNSPECIFIED = src.RevocationReason_REVOCATION_REASON_UNSPECIFIED 76 RevocationReason_SUPERSEDED = src.RevocationReason_SUPERSEDED 77 SubjectRequestMode_DEFAULT = src.SubjectRequestMode_DEFAULT 78 SubjectRequestMode_REFLECTED_SPIFFE = src.SubjectRequestMode_REFLECTED_SPIFFE 79 SubjectRequestMode_SUBJECT_REQUEST_MODE_UNSPECIFIED = src.SubjectRequestMode_SUBJECT_REQUEST_MODE_UNSPECIFIED 80 ) 81 82 // Deprecated: Please use vars in: cloud.google.com/go/security/privateca/apiv1/privatecapb 83 var ( 84 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm_name = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm_name 85 CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm_value = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm_value 86 CaPool_Tier_name = src.CaPool_Tier_name 87 CaPool_Tier_value = src.CaPool_Tier_value 88 CertificateAuthority_SignHashAlgorithm_name = src.CertificateAuthority_SignHashAlgorithm_name 89 CertificateAuthority_SignHashAlgorithm_value = src.CertificateAuthority_SignHashAlgorithm_value 90 CertificateAuthority_State_name = src.CertificateAuthority_State_name 91 CertificateAuthority_State_value = src.CertificateAuthority_State_value 92 CertificateAuthority_Type_name = src.CertificateAuthority_Type_name 93 CertificateAuthority_Type_value = src.CertificateAuthority_Type_value 94 CertificateExtensionConstraints_KnownCertificateExtension_name = src.CertificateExtensionConstraints_KnownCertificateExtension_name 95 CertificateExtensionConstraints_KnownCertificateExtension_value = src.CertificateExtensionConstraints_KnownCertificateExtension_value 96 CertificateRevocationList_State_name = src.CertificateRevocationList_State_name 97 CertificateRevocationList_State_value = src.CertificateRevocationList_State_value 98 File_google_cloud_security_privateca_v1_resources_proto = src.File_google_cloud_security_privateca_v1_resources_proto 99 File_google_cloud_security_privateca_v1_service_proto = src.File_google_cloud_security_privateca_v1_service_proto 100 PublicKey_KeyFormat_name = src.PublicKey_KeyFormat_name 101 PublicKey_KeyFormat_value = src.PublicKey_KeyFormat_value 102 RevocationReason_name = src.RevocationReason_name 103 RevocationReason_value = src.RevocationReason_value 104 SubjectRequestMode_name = src.SubjectRequestMode_name 105 SubjectRequestMode_value = src.SubjectRequestMode_value 106 ) 107 108 // Request message for 109 // [CertificateAuthorityService.ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority]. 110 // 111 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 112 type ActivateCertificateAuthorityRequest = src.ActivateCertificateAuthorityRequest 113 114 // A [CaPool][google.cloud.security.privateca.v1.CaPool] represents a group of 115 // [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority] 116 // that form a trust anchor. A 117 // [CaPool][google.cloud.security.privateca.v1.CaPool] can be used to manage 118 // issuance policies for one or more 119 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 120 // resources and to rotate CA certificates in and out of the trust anchor. 121 // 122 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 123 type CaPool = src.CaPool 124 125 // Defines controls over all certificate issuance within a 126 // [CaPool][google.cloud.security.privateca.v1.CaPool]. 127 // 128 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 129 type CaPool_IssuancePolicy = src.CaPool_IssuancePolicy 130 131 // Describes a "type" of key that may be used in a 132 // [Certificate][google.cloud.security.privateca.v1.Certificate] issued from a 133 // [CaPool][google.cloud.security.privateca.v1.CaPool]. Note that a single 134 // [AllowedKeyType][google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType] 135 // may refer to either a fully-qualified key algorithm, such as RSA 4096, or a 136 // family of key algorithms, such as any RSA key. 137 // 138 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 139 type CaPool_IssuancePolicy_AllowedKeyType = src.CaPool_IssuancePolicy_AllowedKeyType 140 141 // Describes an Elliptic Curve key that may be used in a 142 // [Certificate][google.cloud.security.privateca.v1.Certificate] issued from a 143 // [CaPool][google.cloud.security.privateca.v1.CaPool]. 144 // 145 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 146 type CaPool_IssuancePolicy_AllowedKeyType_EcKeyType = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType 147 148 // Describes an elliptic curve-based signature algorithm that may be used in a 149 // [Certificate][google.cloud.security.privateca.v1.Certificate] issued from a 150 // [CaPool][google.cloud.security.privateca.v1.CaPool]. 151 // 152 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 153 type CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm = src.CaPool_IssuancePolicy_AllowedKeyType_EcKeyType_EcSignatureAlgorithm 154 type CaPool_IssuancePolicy_AllowedKeyType_EllipticCurve = src.CaPool_IssuancePolicy_AllowedKeyType_EllipticCurve 155 type CaPool_IssuancePolicy_AllowedKeyType_Rsa = src.CaPool_IssuancePolicy_AllowedKeyType_Rsa 156 157 // Describes an RSA key that may be used in a 158 // [Certificate][google.cloud.security.privateca.v1.Certificate] issued from a 159 // [CaPool][google.cloud.security.privateca.v1.CaPool]. 160 // 161 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 162 type CaPool_IssuancePolicy_AllowedKeyType_RsaKeyType = src.CaPool_IssuancePolicy_AllowedKeyType_RsaKeyType 163 164 // [IssuanceModes][google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModes] 165 // specifies the allowed ways in which 166 // [Certificates][google.cloud.security.privateca.v1.Certificate] may be 167 // requested from this [CaPool][google.cloud.security.privateca.v1.CaPool]. 168 // 169 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 170 type CaPool_IssuancePolicy_IssuanceModes = src.CaPool_IssuancePolicy_IssuanceModes 171 172 // Options relating to the publication of each 173 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s 174 // CA certificate and CRLs and their inclusion as extensions in issued 175 // [Certificates][google.cloud.security.privateca.v1.Certificate]. The options 176 // set here apply to certificates issued by any 177 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 178 // in the [CaPool][google.cloud.security.privateca.v1.CaPool]. 179 // 180 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 181 type CaPool_PublishingOptions = src.CaPool_PublishingOptions 182 183 // The tier of a [CaPool][google.cloud.security.privateca.v1.CaPool], 184 // indicating its supported functionality and/or billing SKU. 185 // 186 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 187 type CaPool_Tier = src.CaPool_Tier 188 189 // A [Certificate][google.cloud.security.privateca.v1.Certificate] corresponds 190 // to a signed X.509 certificate issued by a 191 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]. 192 // 193 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 194 type Certificate = src.Certificate 195 196 // A 197 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 198 // represents an individual Certificate Authority. A 199 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 200 // can be used to create 201 // [Certificates][google.cloud.security.privateca.v1.Certificate]. 202 // 203 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 204 type CertificateAuthority = src.CertificateAuthority 205 206 // CertificateAuthorityServiceClient is the client API for 207 // CertificateAuthorityService service. For semantics around ctx use and 208 // closing/ending streaming RPCs, please refer to 209 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 210 // 211 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 212 type CertificateAuthorityServiceClient = src.CertificateAuthorityServiceClient 213 214 // CertificateAuthorityServiceServer is the server API for 215 // CertificateAuthorityService service. 216 // 217 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 218 type CertificateAuthorityServiceServer = src.CertificateAuthorityServiceServer 219 220 // URLs where a 221 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 222 // will publish content. 223 // 224 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 225 type CertificateAuthority_AccessUrls = src.CertificateAuthority_AccessUrls 226 227 // A Cloud KMS key configuration that a 228 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] 229 // will use. 230 // 231 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 232 type CertificateAuthority_KeyVersionSpec = src.CertificateAuthority_KeyVersionSpec 233 type CertificateAuthority_KeyVersionSpec_Algorithm = src.CertificateAuthority_KeyVersionSpec_Algorithm 234 type CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion = src.CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion 235 236 // The algorithm of a Cloud KMS CryptoKeyVersion of a 237 // [CryptoKey][google.cloud.kms.v1.CryptoKey] with the 238 // [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] value 239 // `ASYMMETRIC_SIGN`. These values correspond to the 240 // [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] 241 // values. For RSA signing algorithms, the PSS algorithms should be preferred, 242 // use PKCS1 algorithms if required for compatibility. For further 243 // recommendations, see 244 // https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations. 245 // 246 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 247 type CertificateAuthority_SignHashAlgorithm = src.CertificateAuthority_SignHashAlgorithm 248 249 // The state of a 250 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority], 251 // indicating if it can be used. 252 // 253 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 254 type CertificateAuthority_State = src.CertificateAuthority_State 255 256 // The type of a 257 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority], 258 // indicating its issuing chain. 259 // 260 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 261 type CertificateAuthority_Type = src.CertificateAuthority_Type 262 263 // A [CertificateConfig][google.cloud.security.privateca.v1.CertificateConfig] 264 // describes an X.509 certificate or CSR that is to be created, as an 265 // alternative to using ASN.1. 266 // 267 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 268 type CertificateConfig = src.CertificateConfig 269 270 // These values are used to create the distinguished name and subject 271 // alternative name fields in an X.509 certificate. 272 // 273 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 274 type CertificateConfig_SubjectConfig = src.CertificateConfig_SubjectConfig 275 276 // A 277 // [CertificateDescription][google.cloud.security.privateca.v1.CertificateDescription] 278 // describes an X.509 certificate or CSR that has been issued, as an 279 // alternative to using ASN.1 / X.509. 280 // 281 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 282 type CertificateDescription = src.CertificateDescription 283 284 // A group of fingerprints for the x509 certificate. 285 // 286 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 287 type CertificateDescription_CertificateFingerprint = src.CertificateDescription_CertificateFingerprint 288 289 // A KeyId identifies a specific public key, usually by hashing the public 290 // key. 291 // 292 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 293 type CertificateDescription_KeyId = src.CertificateDescription_KeyId 294 295 // These values describe fields in an issued X.509 certificate such as the 296 // distinguished name, subject alternative names, serial number, and lifetime. 297 // 298 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 299 type CertificateDescription_SubjectDescription = src.CertificateDescription_SubjectDescription 300 301 // Describes a set of X.509 extensions that may be part of some certificate 302 // issuance controls. 303 // 304 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 305 type CertificateExtensionConstraints = src.CertificateExtensionConstraints 306 307 // Describes well-known X.509 extensions that can appear in a 308 // [Certificate][google.cloud.security.privateca.v1.Certificate], not including 309 // the [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] 310 // extension. 311 // 312 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 313 type CertificateExtensionConstraints_KnownCertificateExtension = src.CertificateExtensionConstraints_KnownCertificateExtension 314 315 // Describes constraints on a 316 // [Certificate][google.cloud.security.privateca.v1.Certificate]'s 317 // [Subject][google.cloud.security.privateca.v1.Subject] and 318 // [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames]. 319 // 320 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 321 type CertificateIdentityConstraints = src.CertificateIdentityConstraints 322 323 // A 324 // [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList] 325 // corresponds to a signed X.509 certificate Revocation List (CRL). A CRL 326 // contains the serial numbers of certificates that should no longer be 327 // trusted. 328 // 329 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 330 type CertificateRevocationList = src.CertificateRevocationList 331 332 // Describes a revoked 333 // [Certificate][google.cloud.security.privateca.v1.Certificate]. 334 // 335 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 336 type CertificateRevocationList_RevokedCertificate = src.CertificateRevocationList_RevokedCertificate 337 338 // The state of a 339 // [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList], 340 // indicating if it is current. 341 // 342 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 343 type CertificateRevocationList_State = src.CertificateRevocationList_State 344 345 // A 346 // [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] 347 // refers to a managed template for certificate issuance. 348 // 349 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 350 type CertificateTemplate = src.CertificateTemplate 351 type Certificate_Config = src.Certificate_Config 352 type Certificate_PemCsr = src.Certificate_PemCsr 353 354 // Describes fields that are relavent to the revocation of a 355 // [Certificate][google.cloud.security.privateca.v1.Certificate]. 356 // 357 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 358 type Certificate_RevocationDetails = src.Certificate_RevocationDetails 359 360 // Request message for 361 // [CertificateAuthorityService.CreateCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool]. 362 // 363 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 364 type CreateCaPoolRequest = src.CreateCaPoolRequest 365 366 // Request message for 367 // [CertificateAuthorityService.CreateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority]. 368 // 369 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 370 type CreateCertificateAuthorityRequest = src.CreateCertificateAuthorityRequest 371 372 // Request message for 373 // [CertificateAuthorityService.CreateCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate]. 374 // 375 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 376 type CreateCertificateRequest = src.CreateCertificateRequest 377 378 // Request message for 379 // [CertificateAuthorityService.CreateCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate]. 380 // 381 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 382 type CreateCertificateTemplateRequest = src.CreateCertificateTemplateRequest 383 384 // Request message for 385 // [CertificateAuthorityService.DeleteCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool]. 386 // 387 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 388 type DeleteCaPoolRequest = src.DeleteCaPoolRequest 389 390 // Request message for 391 // [CertificateAuthorityService.DeleteCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority]. 392 // 393 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 394 type DeleteCertificateAuthorityRequest = src.DeleteCertificateAuthorityRequest 395 396 // Request message for 397 // [CertificateAuthorityService.DeleteCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate]. 398 // 399 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 400 type DeleteCertificateTemplateRequest = src.DeleteCertificateTemplateRequest 401 402 // Request message for 403 // [CertificateAuthorityService.DisableCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority]. 404 // 405 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 406 type DisableCertificateAuthorityRequest = src.DisableCertificateAuthorityRequest 407 408 // Request message for 409 // [CertificateAuthorityService.EnableCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority]. 410 // 411 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 412 type EnableCertificateAuthorityRequest = src.EnableCertificateAuthorityRequest 413 414 // Request message for 415 // [CertificateAuthorityService.FetchCaCerts][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts]. 416 // 417 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 418 type FetchCaCertsRequest = src.FetchCaCertsRequest 419 420 // Response message for 421 // [CertificateAuthorityService.FetchCaCerts][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts]. 422 // 423 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 424 type FetchCaCertsResponse = src.FetchCaCertsResponse 425 type FetchCaCertsResponse_CertChain = src.FetchCaCertsResponse_CertChain 426 427 // Request message for 428 // [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr]. 429 // 430 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 431 type FetchCertificateAuthorityCsrRequest = src.FetchCertificateAuthorityCsrRequest 432 433 // Response message for 434 // [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr]. 435 // 436 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 437 type FetchCertificateAuthorityCsrResponse = src.FetchCertificateAuthorityCsrResponse 438 439 // Request message for 440 // [CertificateAuthorityService.GetCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool]. 441 // 442 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 443 type GetCaPoolRequest = src.GetCaPoolRequest 444 445 // Request message for 446 // [CertificateAuthorityService.GetCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority]. 447 // 448 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 449 type GetCertificateAuthorityRequest = src.GetCertificateAuthorityRequest 450 451 // Request message for 452 // [CertificateAuthorityService.GetCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate]. 453 // 454 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 455 type GetCertificateRequest = src.GetCertificateRequest 456 457 // Request message for 458 // [CertificateAuthorityService.GetCertificateRevocationList][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList]. 459 // 460 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 461 type GetCertificateRevocationListRequest = src.GetCertificateRevocationListRequest 462 463 // Request message for 464 // [CertificateAuthorityService.GetCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate]. 465 // 466 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 467 type GetCertificateTemplateRequest = src.GetCertificateTemplateRequest 468 469 // A [KeyUsage][google.cloud.security.privateca.v1.KeyUsage] describes key 470 // usage values that may appear in an X.509 certificate. 471 // 472 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 473 type KeyUsage = src.KeyUsage 474 475 // [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions] 476 // has fields that correspond to certain common OIDs that could be specified 477 // as an extended key usage value. 478 // 479 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 480 type KeyUsage_ExtendedKeyUsageOptions = src.KeyUsage_ExtendedKeyUsageOptions 481 482 // [KeyUsage.KeyUsageOptions][google.cloud.security.privateca.v1.KeyUsage.KeyUsageOptions] 483 // corresponds to the key usage values described in 484 // https://tools.ietf.org/html/rfc5280#section-4.2.1.3. 485 // 486 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 487 type KeyUsage_KeyUsageOptions = src.KeyUsage_KeyUsageOptions 488 489 // Request message for 490 // [CertificateAuthorityService.ListCaPools][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools]. 491 // 492 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 493 type ListCaPoolsRequest = src.ListCaPoolsRequest 494 495 // Response message for 496 // [CertificateAuthorityService.ListCaPools][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools]. 497 // 498 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 499 type ListCaPoolsResponse = src.ListCaPoolsResponse 500 501 // Request message for 502 // [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities]. 503 // 504 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 505 type ListCertificateAuthoritiesRequest = src.ListCertificateAuthoritiesRequest 506 507 // Response message for 508 // [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities]. 509 // 510 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 511 type ListCertificateAuthoritiesResponse = src.ListCertificateAuthoritiesResponse 512 513 // Request message for 514 // [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists]. 515 // 516 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 517 type ListCertificateRevocationListsRequest = src.ListCertificateRevocationListsRequest 518 519 // Response message for 520 // [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists]. 521 // 522 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 523 type ListCertificateRevocationListsResponse = src.ListCertificateRevocationListsResponse 524 525 // Request message for 526 // [CertificateAuthorityService.ListCertificateTemplates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates]. 527 // 528 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 529 type ListCertificateTemplatesRequest = src.ListCertificateTemplatesRequest 530 531 // Response message for 532 // [CertificateAuthorityService.ListCertificateTemplates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates]. 533 // 534 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 535 type ListCertificateTemplatesResponse = src.ListCertificateTemplatesResponse 536 537 // Request message for 538 // [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates]. 539 // 540 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 541 type ListCertificatesRequest = src.ListCertificatesRequest 542 543 // Response message for 544 // [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates]. 545 // 546 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 547 type ListCertificatesResponse = src.ListCertificatesResponse 548 549 // An [ObjectId][google.cloud.security.privateca.v1.ObjectId] specifies an 550 // object identifier (OID). These provide context and describe types in ASN.1 551 // messages. 552 // 553 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 554 type ObjectId = src.ObjectId 555 556 // Represents the metadata of the long-running operation. 557 // 558 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 559 type OperationMetadata = src.OperationMetadata 560 561 // A [PublicKey][google.cloud.security.privateca.v1.PublicKey] describes a 562 // public key. 563 // 564 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 565 type PublicKey = src.PublicKey 566 567 // Types of public keys formats that are supported. Currently, only `PEM` 568 // format is supported. 569 // 570 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 571 type PublicKey_KeyFormat = src.PublicKey_KeyFormat 572 573 // A [RevocationReason][google.cloud.security.privateca.v1.RevocationReason] 574 // indicates whether a 575 // [Certificate][google.cloud.security.privateca.v1.Certificate] has been 576 // revoked, and the reason for revocation. These correspond to standard 577 // revocation reasons from RFC 5280. Note that the enum labels and values in 578 // this definition are not the same ASN.1 values defined in RFC 5280. These 579 // values will be translated to the correct ASN.1 values when a CRL is created. 580 // 581 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 582 type RevocationReason = src.RevocationReason 583 584 // Request message for 585 // [CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate]. 586 // 587 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 588 type RevokeCertificateRequest = src.RevokeCertificateRequest 589 590 // [Subject][google.cloud.security.privateca.v1.Subject] describes parts of a 591 // distinguished name that, in turn, describes the subject of the certificate. 592 // 593 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 594 type Subject = src.Subject 595 596 // [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] 597 // corresponds to a more modern way of listing what the asserted identity is in 598 // a certificate (i.e., compared to the "common name" in the distinguished 599 // name). 600 // 601 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 602 type SubjectAltNames = src.SubjectAltNames 603 604 // Describes the way in which a 605 // [Certificate][google.cloud.security.privateca.v1.Certificate]'s 606 // [Subject][google.cloud.security.privateca.v1.Subject] and/or 607 // [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] will 608 // be resolved. 609 // 610 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 611 type SubjectRequestMode = src.SubjectRequestMode 612 613 // Describes a subordinate CA's issuers. This is either a resource name to a 614 // known issuing 615 // [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority], 616 // or a PEM issuer certificate chain. 617 // 618 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 619 type SubordinateConfig = src.SubordinateConfig 620 type SubordinateConfig_CertificateAuthority = src.SubordinateConfig_CertificateAuthority 621 type SubordinateConfig_PemIssuerChain = src.SubordinateConfig_PemIssuerChain 622 623 // This message describes a subordinate CA's issuer certificate chain. This 624 // wrapper exists for compatibility reasons. 625 // 626 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 627 type SubordinateConfig_SubordinateConfigChain = src.SubordinateConfig_SubordinateConfigChain 628 629 // Request message for 630 // [CertificateAuthorityService.UndeleteCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority]. 631 // 632 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 633 type UndeleteCertificateAuthorityRequest = src.UndeleteCertificateAuthorityRequest 634 635 // UnimplementedCertificateAuthorityServiceServer can be embedded to have 636 // forward compatible implementations. 637 // 638 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 639 type UnimplementedCertificateAuthorityServiceServer = src.UnimplementedCertificateAuthorityServiceServer 640 641 // Request message for 642 // [CertificateAuthorityService.UpdateCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool]. 643 // 644 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 645 type UpdateCaPoolRequest = src.UpdateCaPoolRequest 646 647 // Request message for 648 // [CertificateAuthorityService.UpdateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority]. 649 // 650 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 651 type UpdateCertificateAuthorityRequest = src.UpdateCertificateAuthorityRequest 652 653 // Request message for 654 // [CertificateAuthorityService.UpdateCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate]. 655 // 656 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 657 type UpdateCertificateRequest = src.UpdateCertificateRequest 658 659 // Request message for 660 // [CertificateAuthorityService.UpdateCertificateRevocationList][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList]. 661 // 662 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 663 type UpdateCertificateRevocationListRequest = src.UpdateCertificateRevocationListRequest 664 665 // Request message for 666 // [CertificateAuthorityService.UpdateCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate]. 667 // 668 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 669 type UpdateCertificateTemplateRequest = src.UpdateCertificateTemplateRequest 670 671 // An [X509Extension][google.cloud.security.privateca.v1.X509Extension] 672 // specifies an X.509 extension, which may be used in different parts of X.509 673 // objects like certificates, CSRs, and CRLs. 674 // 675 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 676 type X509Extension = src.X509Extension 677 678 // An [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] is 679 // used to describe certain fields of an X.509 certificate, such as the key 680 // usage fields, fields specific to CA certificates, certificate policy 681 // extensions and custom extensions. 682 // 683 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 684 type X509Parameters = src.X509Parameters 685 686 // Describes values that are relevant in a CA certificate. 687 // 688 // Deprecated: Please use types in: cloud.google.com/go/security/privateca/apiv1/privatecapb 689 type X509Parameters_CaOptions = src.X509Parameters_CaOptions 690 691 // Deprecated: Please use funcs in: cloud.google.com/go/security/privateca/apiv1/privatecapb 692 func NewCertificateAuthorityServiceClient(cc grpc.ClientConnInterface) CertificateAuthorityServiceClient { 693 return src.NewCertificateAuthorityServiceClient(cc) 694 } 695 696 // Deprecated: Please use funcs in: cloud.google.com/go/security/privateca/apiv1/privatecapb 697 func RegisterCertificateAuthorityServiceServer(s *grpc.Server, srv CertificateAuthorityServiceServer) { 698 src.RegisterCertificateAuthorityServiceServer(s, srv) 699 } 700