public final class IstioCertificateRequest extends com.google.protobuf.GeneratedMessageV3 implements 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| 限定符和类型 | 类和说明 |
|---|---|
static class |
IstioCertificateRequest.Builder
Certificate request message.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CSR_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
VALIDITY_DURATION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getCsr()
PEM-encoded certificate request.
|
com.google.protobuf.ByteString |
getCsrBytes()
PEM-encoded certificate request.
|
static IstioCertificateRequest |
getDefaultInstance() |
IstioCertificateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Struct |
getMetadata()
$hide_from_docs
Optional: Opaque metadata provided by the XDS node to Istio.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
$hide_from_docs
Optional: Opaque metadata provided by the XDS node to Istio.
|
com.google.protobuf.Parser<IstioCertificateRequest> |
getParserForType() |
int |
getSerializedSize() |
long |
getValidityDuration()
Optional: requested certificate validity period, in seconds.
|
int |
hashCode() |
boolean |
hasMetadata()
$hide_from_docs
Optional: Opaque metadata provided by the XDS node to Istio.
|
boolean |
isInitialized() |
static IstioCertificateRequest.Builder |
newBuilder() |
static IstioCertificateRequest.Builder |
newBuilder(IstioCertificateRequest prototype) |
IstioCertificateRequest.Builder |
newBuilderForType() |
static IstioCertificateRequest |
parseDelimitedFrom(InputStream input) |
static IstioCertificateRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IstioCertificateRequest |
parseFrom(byte[] data) |
static IstioCertificateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IstioCertificateRequest |
parseFrom(ByteBuffer data) |
static IstioCertificateRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IstioCertificateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static IstioCertificateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IstioCertificateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IstioCertificateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IstioCertificateRequest |
parseFrom(InputStream input) |
static IstioCertificateRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IstioCertificateRequest> |
parser() |
IstioCertificateRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CSR_FIELD_NUMBER
public static final int VALIDITY_DURATION_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
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 在接口中 IstioCertificateRequestOrBuilderpublic 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 在接口中 IstioCertificateRequestOrBuilderpublic long getValidityDuration()
Optional: requested certificate validity period, in seconds.
int64 validity_duration = 3;getValidityDuration 在接口中 IstioCertificateRequestOrBuilderpublic 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 在接口中 IstioCertificateRequestOrBuilderpublic 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 在接口中 IstioCertificateRequestOrBuilderpublic 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;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static IstioCertificateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IstioCertificateRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static IstioCertificateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IstioCertificateRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IstioCertificateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IstioCertificateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static IstioCertificateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IstioCertificateRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static IstioCertificateRequest.Builder newBuilder()
public static IstioCertificateRequest.Builder newBuilder(IstioCertificateRequest prototype)
public IstioCertificateRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static IstioCertificateRequest getDefaultInstance()
public static com.google.protobuf.Parser<IstioCertificateRequest> parser()
public com.google.protobuf.Parser<IstioCertificateRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public IstioCertificateRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.