Interface GeneralName.Builder

  • Method Details

    • directoryName

      GeneralName.Builder directoryName(DistinguishedName directoryName)

      Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.

      Parameters:
      directoryName - Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • directoryName

      default GeneralName.Builder directoryName(Consumer<DistinguishedName.Builder> directoryName)

      Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.

      This is a convenience method that creates an instance of the DistinguishedName.Builder avoiding the need to create one manually via DistinguishedName.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to directoryName(DistinguishedName).

      Parameters:
      directoryName - a consumer that will call methods on DistinguishedName.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dnsName

      GeneralName.Builder dnsName(String dnsName)

      Represents GeneralName as a DNS name.

      Parameters:
      dnsName - Represents GeneralName as a DNS name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      GeneralName.Builder ipAddress(String ipAddress)

      Represents GeneralName as an IPv4 or IPv6 address.

      Parameters:
      ipAddress - Represents GeneralName as an IPv4 or IPv6 address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otherName

      GeneralName.Builder otherName(OtherName otherName)

      Represents GeneralName using an OtherName object.

      Parameters:
      otherName - Represents GeneralName using an OtherName object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otherName

      default GeneralName.Builder otherName(Consumer<OtherName.Builder> otherName)

      Represents GeneralName using an OtherName object.

      This is a convenience method that creates an instance of the OtherName.Builder avoiding the need to create one manually via OtherName.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to otherName(OtherName).

      Parameters:
      otherName - a consumer that will call methods on OtherName.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • registeredId

      GeneralName.Builder registeredId(String registeredId)

      Represents GeneralName as an object identifier (OID).

      Parameters:
      registeredId - Represents GeneralName as an object identifier (OID).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rfc822Name

      GeneralName.Builder rfc822Name(String rfc822Name)

      Represents GeneralName as an RFC 822 email address.

      Parameters:
      rfc822Name - Represents GeneralName as an RFC 822 email address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uniformResourceIdentifier

      GeneralName.Builder uniformResourceIdentifier(String uniformResourceIdentifier)

      Represents GeneralName as a URI.

      Parameters:
      uniformResourceIdentifier - Represents GeneralName as a URI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.