Class X500NameBuilder
java.lang.Object
eu.europa.esig.dss.pki.jaxb.builder.X500NameBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x500.X500Namebuild()Builds theX500NamecommonName(String commonName) Sets the person's full nameSets the two-letter ISO 3166 country codeSets the name of the certificate ownerorganisation(String organisation) Sets the organization nameorganisationUnit(String organisationUnit) Sets the organization unit nameSets the used pseudonym
-
Constructor Details
-
X500NameBuilder
public X500NameBuilder()Default constructor
-
-
Method Details
-
name
Sets the name of the certificate owner- Parameters:
name-String- Returns:
X500NameBuilderthis
-
commonName
Sets the person's full name- Parameters:
commonName-String- Returns:
X500NameBuilderthis
-
organisation
Sets the organization name- Parameters:
organisation-String- Returns:
X500NameBuilderthis
-
organisationUnit
Sets the organization unit name- Parameters:
organisationUnit-String- Returns:
X500NameBuilderthis
-
country
Sets the two-letter ISO 3166 country code- Parameters:
country-String- Returns:
X500NameBuilderthis
-
pseudo
Sets the used pseudonym- Parameters:
pseudo-String- Returns:
X500NameBuilderthis
-
build
public org.bouncycastle.asn1.x500.X500Name build()Builds theX500Name- Returns:
X500Name
-