Class X509SubjectNameBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<X509SubjectName>
org.opensaml.xmlsec.signature.impl.X509SubjectNameBuilder
All Implemented Interfaces:
XMLObjectBuilder<X509SubjectName>, XMLSignatureBuilder<X509SubjectName>

public class X509SubjectNameBuilder extends AbstractXMLObjectBuilder<X509SubjectName> implements XMLSignatureBuilder<X509SubjectName>
Builder of X509SubjectName.
  • Constructor Details

    • X509SubjectNameBuilder

      public X509SubjectNameBuilder()
  • Method Details

    • buildObject

      @Nonnull public X509SubjectName buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<X509SubjectName>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<X509SubjectName>
      Parameters:
      namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
      localName - the local name of the Element represented by this XMLObject
      namespacePrefix - the namespace prefix of the Element represented by this XMLObject
      Returns:
      the constructed XMLObject
    • buildObject

      @Nonnull public X509SubjectName buildObject()
      Builds an XMLObject using the default name and namespace information provided by the XML Signature specifications.
      Specified by:
      buildObject in interface XMLSignatureBuilder<X509SubjectName>
      Returns:
      built XMLObject