Class X500NameBuilder
java.lang.Object
eu.europa.esig.dss.pki.jaxb.builder.X500NameBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x500.X500Name
build()
Builds theX500Name
commonName
(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:
X500NameBuilder
this
-
commonName
Sets the person's full name- Parameters:
commonName
-String
- Returns:
X500NameBuilder
this
-
organisation
Sets the organization name- Parameters:
organisation
-String
- Returns:
X500NameBuilder
this
-
organisationUnit
Sets the organization unit name- Parameters:
organisationUnit
-String
- Returns:
X500NameBuilder
this
-
country
Sets the two-letter ISO 3166 country code- Parameters:
country
-String
- Returns:
X500NameBuilder
this
-
pseudo
Sets the used pseudonym- Parameters:
pseudo
-String
- Returns:
X500NameBuilder
this
-
build
public org.bouncycastle.asn1.x500.X500Name build()Builds theX500Name
- Returns:
X500Name
-