Class TemplateDefinition

    • Method Detail

      • templateV2

        public final TemplateV2 templateV2()

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Returns:
        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • templateV3

        public final TemplateV3 templateV3()

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Returns:
        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • templateV4

        public final TemplateV4 templateV4()

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Returns:
        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromTemplateV2

        public static TemplateDefinition fromTemplateV2​(TemplateV2 templateV2)
        Create an instance of this class with templateV2() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV2 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • fromTemplateV2

        public static TemplateDefinition fromTemplateV2​(Consumer<TemplateV2.Builder> templateV2)
        Create an instance of this class with templateV2() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV2 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • fromTemplateV3

        public static TemplateDefinition fromTemplateV3​(TemplateV3 templateV3)
        Create an instance of this class with templateV3() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV3 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • fromTemplateV3

        public static TemplateDefinition fromTemplateV3​(Consumer<TemplateV3.Builder> templateV3)
        Create an instance of this class with templateV3() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV3 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • fromTemplateV4

        public static TemplateDefinition fromTemplateV4​(TemplateV4 templateV4)
        Create an instance of this class with templateV4() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV4 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.
      • fromTemplateV4

        public static TemplateDefinition fromTemplateV4​(Consumer<TemplateV4.Builder> templateV4)
        Create an instance of this class with templateV4() initialized to the given value.

        Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.

        Parameters:
        templateV4 - Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.