程序包 istio.v1.auth
类 Ca.IstioCertificateRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.v1.auth.Ca.IstioCertificateRequest
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Ca.IstioCertificateRequestOrBuilder,Serializable
- 封闭类:
- Ca
public static final class Ca.IstioCertificateRequest extends com.google.protobuf.GeneratedMessageV3 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 typeistio.v1.auth.IstioCertificateRequest- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCa.IstioCertificateRequest.BuilderCertificate request message.-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCSR_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intVALIDITY_DURATION_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)StringgetCsr()PEM-encoded certificate request.com.google.protobuf.ByteStringgetCsrBytes()PEM-encoded certificate request.static Ca.IstioCertificateRequestgetDefaultInstance()Ca.IstioCertificateRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.StructgetMetadata()$hide_from_docs Optional: Opaque metadata provided by the XDS node to Istio.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()$hide_from_docs Optional: Opaque metadata provided by the XDS node to Istio.com.google.protobuf.Parser<Ca.IstioCertificateRequest>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()longgetValidityDuration()Optional: requested certificate validity period, in seconds.inthashCode()booleanhasMetadata()$hide_from_docs Optional: Opaque metadata provided by the XDS node to Istio.booleanisInitialized()static Ca.IstioCertificateRequest.BuildernewBuilder()static Ca.IstioCertificateRequest.BuildernewBuilder(Ca.IstioCertificateRequest prototype)Ca.IstioCertificateRequest.BuildernewBuilderForType()static Ca.IstioCertificateRequestparseDelimitedFrom(InputStream input)static Ca.IstioCertificateRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Ca.IstioCertificateRequestparseFrom(byte[] data)static Ca.IstioCertificateRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Ca.IstioCertificateRequestparseFrom(com.google.protobuf.ByteString data)static Ca.IstioCertificateRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Ca.IstioCertificateRequestparseFrom(com.google.protobuf.CodedInputStream input)static Ca.IstioCertificateRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Ca.IstioCertificateRequestparseFrom(InputStream input)static Ca.IstioCertificateRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Ca.IstioCertificateRequestparseFrom(ByteBuffer data)static Ca.IstioCertificateRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Ca.IstioCertificateRequest>parser()Ca.IstioCertificateRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
-
-
-
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
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;
-
getValidityDuration
public long getValidityDuration()
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;
-
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;
-
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;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Ca.IstioCertificateRequest parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Ca.IstioCertificateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Ca.IstioCertificateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public Ca.IstioCertificateRequest.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Ca.IstioCertificateRequest.Builder newBuilder()
-
newBuilder
public static Ca.IstioCertificateRequest.Builder newBuilder(Ca.IstioCertificateRequest prototype)
-
toBuilder
public Ca.IstioCertificateRequest.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
getDefaultInstance
public static Ca.IstioCertificateRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Ca.IstioCertificateRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Ca.IstioCertificateRequest> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Ca.IstioCertificateRequest getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-