Package io.envoyproxy.envoy.api.v2.auth
Class TlsCertificate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.auth.TlsCertificate
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TlsCertificateOrBuilder,Serializable
public final class TlsCertificate extends com.google.protobuf.GeneratedMessageV3 implements TlsCertificateOrBuilder
[#next-free-field: 7]
Protobuf typeenvoy.api.v2.auth.TlsCertificate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTlsCertificate.Builder[#next-free-field: 7]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCERTIFICATE_CHAIN_FIELD_NUMBERstatic intOCSP_STAPLE_FIELD_NUMBERstatic intPASSWORD_FIELD_NUMBERstatic intPRIVATE_KEY_FIELD_NUMBERstatic intPRIVATE_KEY_PROVIDER_FIELD_NUMBERstatic intSIGNED_CERTIFICATE_TIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DataSourcegetCertificateChain()The TLS certificate chain.DataSourceOrBuildergetCertificateChainOrBuilder()The TLS certificate chain.static TlsCertificategetDefaultInstance()TlsCertificategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DataSourcegetOcspStaple()[#not-implemented-hide:]DataSourceOrBuildergetOcspStapleOrBuilder()[#not-implemented-hide:]com.google.protobuf.Parser<TlsCertificate>getParserForType()DataSourcegetPassword()The password to decrypt the TLS private key.DataSourceOrBuildergetPasswordOrBuilder()The password to decrypt the TLS private key.DataSourcegetPrivateKey()The TLS private key.DataSourceOrBuildergetPrivateKeyOrBuilder()The TLS private key.PrivateKeyProvidergetPrivateKeyProvider()BoringSSL private key method provider.PrivateKeyProviderOrBuildergetPrivateKeyProviderOrBuilder()BoringSSL private key method provider.intgetSerializedSize()DataSourcegetSignedCertificateTimestamp(int index)[#not-implemented-hide:]intgetSignedCertificateTimestampCount()[#not-implemented-hide:]List<DataSource>getSignedCertificateTimestampList()[#not-implemented-hide:]DataSourceOrBuildergetSignedCertificateTimestampOrBuilder(int index)[#not-implemented-hide:]List<? extends DataSourceOrBuilder>getSignedCertificateTimestampOrBuilderList()[#not-implemented-hide:]com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCertificateChain()The TLS certificate chain.inthashCode()booleanhasOcspStaple()[#not-implemented-hide:]booleanhasPassword()The password to decrypt the TLS private key.booleanhasPrivateKey()The TLS private key.booleanhasPrivateKeyProvider()BoringSSL private key method provider.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TlsCertificate.BuildernewBuilder()static TlsCertificate.BuildernewBuilder(TlsCertificate prototype)TlsCertificate.BuildernewBuilderForType()protected TlsCertificate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TlsCertificateparseDelimitedFrom(InputStream input)static TlsCertificateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TlsCertificateparseFrom(byte[] data)static TlsCertificateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TlsCertificateparseFrom(com.google.protobuf.ByteString data)static TlsCertificateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TlsCertificateparseFrom(com.google.protobuf.CodedInputStream input)static TlsCertificateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TlsCertificateparseFrom(InputStream input)static TlsCertificateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TlsCertificateparseFrom(ByteBuffer data)static TlsCertificateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TlsCertificate>parser()TlsCertificate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CERTIFICATE_CHAIN_FIELD_NUMBER
public static final int CERTIFICATE_CHAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_KEY_PROVIDER_FIELD_NUMBER
public static final int PRIVATE_KEY_PROVIDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCSP_STAPLE_FIELD_NUMBER
public static final int OCSP_STAPLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIGNED_CERTIFICATE_TIMESTAMP_FIELD_NUMBER
public static final int SIGNED_CERTIFICATE_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCertificateChain
public boolean hasCertificateChain()
The TLS certificate chain.
.envoy.api.v2.core.DataSource certificate_chain = 1;- Specified by:
hasCertificateChainin interfaceTlsCertificateOrBuilder- Returns:
- Whether the certificateChain field is set.
-
getCertificateChain
public DataSource getCertificateChain()
The TLS certificate chain.
.envoy.api.v2.core.DataSource certificate_chain = 1;- Specified by:
getCertificateChainin interfaceTlsCertificateOrBuilder- Returns:
- The certificateChain.
-
getCertificateChainOrBuilder
public DataSourceOrBuilder getCertificateChainOrBuilder()
The TLS certificate chain.
.envoy.api.v2.core.DataSource certificate_chain = 1;- Specified by:
getCertificateChainOrBuilderin interfaceTlsCertificateOrBuilder
-
hasPrivateKey
public boolean hasPrivateKey()
The TLS private key.
.envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];- Specified by:
hasPrivateKeyin interfaceTlsCertificateOrBuilder- Returns:
- Whether the privateKey field is set.
-
getPrivateKey
public DataSource getPrivateKey()
The TLS private key.
.envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];- Specified by:
getPrivateKeyin interfaceTlsCertificateOrBuilder- Returns:
- The privateKey.
-
getPrivateKeyOrBuilder
public DataSourceOrBuilder getPrivateKeyOrBuilder()
The TLS private key.
.envoy.api.v2.core.DataSource private_key = 2 [(.udpa.annotations.sensitive) = true];- Specified by:
getPrivateKeyOrBuilderin interfaceTlsCertificateOrBuilder
-
hasPrivateKeyProvider
public boolean hasPrivateKeyProvider()
BoringSSL private key method provider. This is an alternative to :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` and :ref:`private_key_provider <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an error.
.envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;- Specified by:
hasPrivateKeyProviderin interfaceTlsCertificateOrBuilder- Returns:
- Whether the privateKeyProvider field is set.
-
getPrivateKeyProvider
public PrivateKeyProvider getPrivateKeyProvider()
BoringSSL private key method provider. This is an alternative to :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` and :ref:`private_key_provider <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an error.
.envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;- Specified by:
getPrivateKeyProviderin interfaceTlsCertificateOrBuilder- Returns:
- The privateKeyProvider.
-
getPrivateKeyProviderOrBuilder
public PrivateKeyProviderOrBuilder getPrivateKeyProviderOrBuilder()
BoringSSL private key method provider. This is an alternative to :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` field. This can't be marked as ``oneof`` due to API compatibility reasons. Setting both :ref:`private_key <envoy_api_field_auth.TlsCertificate.private_key>` and :ref:`private_key_provider <envoy_api_field_auth.TlsCertificate.private_key_provider>` fields will result in an error.
.envoy.api.v2.auth.PrivateKeyProvider private_key_provider = 6;- Specified by:
getPrivateKeyProviderOrBuilderin interfaceTlsCertificateOrBuilder
-
hasPassword
public boolean hasPassword()
The password to decrypt the TLS private key. If this field is not set, it is assumed that the TLS private key is not password encrypted.
.envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];- Specified by:
hasPasswordin interfaceTlsCertificateOrBuilder- Returns:
- Whether the password field is set.
-
getPassword
public DataSource getPassword()
The password to decrypt the TLS private key. If this field is not set, it is assumed that the TLS private key is not password encrypted.
.envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];- Specified by:
getPasswordin interfaceTlsCertificateOrBuilder- Returns:
- The password.
-
getPasswordOrBuilder
public DataSourceOrBuilder getPasswordOrBuilder()
The password to decrypt the TLS private key. If this field is not set, it is assumed that the TLS private key is not password encrypted.
.envoy.api.v2.core.DataSource password = 3 [(.udpa.annotations.sensitive) = true];- Specified by:
getPasswordOrBuilderin interfaceTlsCertificateOrBuilder
-
hasOcspStaple
public boolean hasOcspStaple()
[#not-implemented-hide:]
.envoy.api.v2.core.DataSource ocsp_staple = 4;- Specified by:
hasOcspStaplein interfaceTlsCertificateOrBuilder- Returns:
- Whether the ocspStaple field is set.
-
getOcspStaple
public DataSource getOcspStaple()
[#not-implemented-hide:]
.envoy.api.v2.core.DataSource ocsp_staple = 4;- Specified by:
getOcspStaplein interfaceTlsCertificateOrBuilder- Returns:
- The ocspStaple.
-
getOcspStapleOrBuilder
public DataSourceOrBuilder getOcspStapleOrBuilder()
[#not-implemented-hide:]
.envoy.api.v2.core.DataSource ocsp_staple = 4;- Specified by:
getOcspStapleOrBuilderin interfaceTlsCertificateOrBuilder
-
getSignedCertificateTimestampList
public List<DataSource> getSignedCertificateTimestampList()
[#not-implemented-hide:]
repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;- Specified by:
getSignedCertificateTimestampListin interfaceTlsCertificateOrBuilder
-
getSignedCertificateTimestampOrBuilderList
public List<? extends DataSourceOrBuilder> getSignedCertificateTimestampOrBuilderList()
[#not-implemented-hide:]
repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;- Specified by:
getSignedCertificateTimestampOrBuilderListin interfaceTlsCertificateOrBuilder
-
getSignedCertificateTimestampCount
public int getSignedCertificateTimestampCount()
[#not-implemented-hide:]
repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;- Specified by:
getSignedCertificateTimestampCountin interfaceTlsCertificateOrBuilder
-
getSignedCertificateTimestamp
public DataSource getSignedCertificateTimestamp(int index)
[#not-implemented-hide:]
repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;- Specified by:
getSignedCertificateTimestampin interfaceTlsCertificateOrBuilder
-
getSignedCertificateTimestampOrBuilder
public DataSourceOrBuilder getSignedCertificateTimestampOrBuilder(int index)
[#not-implemented-hide:]
repeated .envoy.api.v2.core.DataSource signed_certificate_timestamp = 5;- Specified by:
getSignedCertificateTimestampOrBuilderin interfaceTlsCertificateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TlsCertificate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TlsCertificate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TlsCertificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TlsCertificate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TlsCertificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TlsCertificate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TlsCertificate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TlsCertificate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TlsCertificate.Builder newBuilder()
-
newBuilder
public static TlsCertificate.Builder newBuilder(TlsCertificate prototype)
-
toBuilder
public TlsCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TlsCertificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TlsCertificate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TlsCertificate> parser()
-
getParserForType
public com.google.protobuf.Parser<TlsCertificate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TlsCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-