程序包 istio.v1.auth

类 Ca.IstioCertificateRequest.Builder

  • 所有已实现的接口:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Ca.IstioCertificateRequestOrBuilder, Cloneable
    封闭类:
    Ca.IstioCertificateRequest

    public static final class Ca.IstioCertificateRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Ca.IstioCertificateRequest.Builder>
    implements Ca.IstioCertificateRequestOrBuilder
     Certificate request message. The authentication should be based on:
     1. Bearer tokens carried in the side channel;
     2. Client-side certificate via Mutual TLS handshake.
     Note: the service implementation is REQUIRED to verify the authenticated caller is authorize to
     all SANs in the CSR. The server side may overwrite any requested certificate field based on its
     policies.
     
    Protobuf type istio.v1.auth.IstioCertificateRequest
    • 方法详细资料

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Ca.IstioCertificateRequest.Builder>
      • getDefaultInstanceForType

        public Ca.IstioCertificateRequest getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
      • build

        public Ca.IstioCertificateRequest build()
        指定者:
        build 在接口中 com.google.protobuf.Message.Builder
        指定者:
        build 在接口中 com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Ca.IstioCertificateRequest buildPartial()
        指定者:
        buildPartial 在接口中 com.google.protobuf.Message.Builder
        指定者:
        buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Ca.IstioCertificateRequest.Builder>
      • mergeFrom

        public Ca.IstioCertificateRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        指定者:
        mergeFrom 在接口中 com.google.protobuf.Message.Builder
        指定者:
        mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
        覆盖:
        mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Ca.IstioCertificateRequest.Builder>
        抛出:
        IOException
      • getCsr

        public String getCsr()
         PEM-encoded certificate request.
         The public key in the CSR is used to generate the certificate,
         and other fields in the generated certificate may be overwritten by the CA.
         
        string csr = 1;
        指定者:
        getCsr 在接口中 Ca.IstioCertificateRequestOrBuilder
      • getCsrBytes

        public com.google.protobuf.ByteString getCsrBytes()
         PEM-encoded certificate request.
         The public key in the CSR is used to generate the certificate,
         and other fields in the generated certificate may be overwritten by the CA.
         
        string csr = 1;
        指定者:
        getCsrBytes 在接口中 Ca.IstioCertificateRequestOrBuilder
      • setCsr

        public Ca.IstioCertificateRequest.Builder setCsr​(String value)
         PEM-encoded certificate request.
         The public key in the CSR is used to generate the certificate,
         and other fields in the generated certificate may be overwritten by the CA.
         
        string csr = 1;
      • clearCsr

        public Ca.IstioCertificateRequest.Builder clearCsr()
         PEM-encoded certificate request.
         The public key in the CSR is used to generate the certificate,
         and other fields in the generated certificate may be overwritten by the CA.
         
        string csr = 1;
      • setCsrBytes

        public Ca.IstioCertificateRequest.Builder setCsrBytes​(com.google.protobuf.ByteString value)
         PEM-encoded certificate request.
         The public key in the CSR is used to generate the certificate,
         and other fields in the generated certificate may be overwritten by the CA.
         
        string csr = 1;
      • setValidityDuration

        public Ca.IstioCertificateRequest.Builder setValidityDuration​(long value)
         Optional: requested certificate validity period, in seconds.
         
        int64 validity_duration = 3;
      • clearValidityDuration

        public Ca.IstioCertificateRequest.Builder clearValidityDuration()
         Optional: requested certificate validity period, in seconds.
         
        int64 validity_duration = 3;
      • hasMetadata

        public boolean hasMetadata()
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
        指定者:
        hasMetadata 在接口中 Ca.IstioCertificateRequestOrBuilder
      • getMetadata

        public com.google.protobuf.Struct getMetadata()
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
        指定者:
        getMetadata 在接口中 Ca.IstioCertificateRequestOrBuilder
      • setMetadata

        public Ca.IstioCertificateRequest.Builder setMetadata​(com.google.protobuf.Struct value)
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
      • setMetadata

        public Ca.IstioCertificateRequest.Builder setMetadata​(com.google.protobuf.Struct.Builder builderForValue)
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
      • mergeMetadata

        public Ca.IstioCertificateRequest.Builder mergeMetadata​(com.google.protobuf.Struct value)
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
      • clearMetadata

        public Ca.IstioCertificateRequest.Builder clearMetadata()
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
      • getMetadataBuilder

        public com.google.protobuf.Struct.Builder getMetadataBuilder()
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
      • getMetadataOrBuilder

        public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
         $hide_from_docs
         Optional: Opaque metadata provided by the XDS node to Istio.
         Supported metadata: WorkloadName, WorkloadIP, ClusterID
         
        .google.protobuf.Struct metadata = 4;
        指定者:
        getMetadataOrBuilder 在接口中 Ca.IstioCertificateRequestOrBuilder
      • mergeUnknownFields

        public final Ca.IstioCertificateRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        指定者:
        mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Ca.IstioCertificateRequest.Builder>