Class KeyUsage.ExtendedKeyUsageOptions.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KeyUsage.ExtendedKeyUsageOptions.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KeyUsage.ExtendedKeyUsageOptions.Builder>
      • getDefaultInstanceForType

        public KeyUsage.ExtendedKeyUsageOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public KeyUsage.ExtendedKeyUsageOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public KeyUsage.ExtendedKeyUsageOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KeyUsage.ExtendedKeyUsageOptions.Builder>
      • getServerAuth

        public boolean getServerAuth()
         Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW
         server authentication", though regularly used for non-WWW TLS.
         
        bool server_auth = 1;
        Specified by:
        getServerAuth in interface KeyUsage.ExtendedKeyUsageOptionsOrBuilder
        Returns:
        The serverAuth.
      • setServerAuth

        public KeyUsage.ExtendedKeyUsageOptions.Builder setServerAuth​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW
         server authentication", though regularly used for non-WWW TLS.
         
        bool server_auth = 1;
        Parameters:
        value - The serverAuth to set.
        Returns:
        This builder for chaining.
      • clearServerAuth

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearServerAuth()
         Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW
         server authentication", though regularly used for non-WWW TLS.
         
        bool server_auth = 1;
        Returns:
        This builder for chaining.
      • getClientAuth

        public boolean getClientAuth()
         Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW
         client authentication", though regularly used for non-WWW TLS.
         
        bool client_auth = 2;
        Specified by:
        getClientAuth in interface KeyUsage.ExtendedKeyUsageOptionsOrBuilder
        Returns:
        The clientAuth.
      • setClientAuth

        public KeyUsage.ExtendedKeyUsageOptions.Builder setClientAuth​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW
         client authentication", though regularly used for non-WWW TLS.
         
        bool client_auth = 2;
        Parameters:
        value - The clientAuth to set.
        Returns:
        This builder for chaining.
      • clearClientAuth

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearClientAuth()
         Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW
         client authentication", though regularly used for non-WWW TLS.
         
        bool client_auth = 2;
        Returns:
        This builder for chaining.
      • getCodeSigning

        public boolean getCodeSigning()
         Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of
         downloadable executable code client authentication".
         
        bool code_signing = 3;
        Specified by:
        getCodeSigning in interface KeyUsage.ExtendedKeyUsageOptionsOrBuilder
        Returns:
        The codeSigning.
      • setCodeSigning

        public KeyUsage.ExtendedKeyUsageOptions.Builder setCodeSigning​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of
         downloadable executable code client authentication".
         
        bool code_signing = 3;
        Parameters:
        value - The codeSigning to set.
        Returns:
        This builder for chaining.
      • clearCodeSigning

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearCodeSigning()
         Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of
         downloadable executable code client authentication".
         
        bool code_signing = 3;
        Returns:
        This builder for chaining.
      • setEmailProtection

        public KeyUsage.ExtendedKeyUsageOptions.Builder setEmailProtection​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email
         protection".
         
        bool email_protection = 4;
        Parameters:
        value - The emailProtection to set.
        Returns:
        This builder for chaining.
      • clearEmailProtection

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearEmailProtection()
         Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email
         protection".
         
        bool email_protection = 4;
        Returns:
        This builder for chaining.
      • getTimeStamping

        public boolean getTimeStamping()
         Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding
         the hash of an object to a time".
         
        bool time_stamping = 5;
        Specified by:
        getTimeStamping in interface KeyUsage.ExtendedKeyUsageOptionsOrBuilder
        Returns:
        The timeStamping.
      • setTimeStamping

        public KeyUsage.ExtendedKeyUsageOptions.Builder setTimeStamping​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding
         the hash of an object to a time".
         
        bool time_stamping = 5;
        Parameters:
        value - The timeStamping to set.
        Returns:
        This builder for chaining.
      • clearTimeStamping

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearTimeStamping()
         Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding
         the hash of an object to a time".
         
        bool time_stamping = 5;
        Returns:
        This builder for chaining.
      • setOcspSigning

        public KeyUsage.ExtendedKeyUsageOptions.Builder setOcspSigning​(boolean value)
         Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing
         OCSP responses".
         
        bool ocsp_signing = 6;
        Parameters:
        value - The ocspSigning to set.
        Returns:
        This builder for chaining.
      • clearOcspSigning

        public KeyUsage.ExtendedKeyUsageOptions.Builder clearOcspSigning()
         Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing
         OCSP responses".
         
        bool ocsp_signing = 6;
        Returns:
        This builder for chaining.