CordaX500Name.<init> - corda

corda / net.corda.core.identity / CordaX500Name / <init>

# <init>

`CordaX500Name(commonName: String, organisation: String, locality: String, country: String)` `CordaX500Name(organisation: String, locality: String, country: String)`

### Parameters

`organisation` - name of the organisation.

`locality` - locality of the organisation, typically nearest major city.

`country` - country the organisation is in, as an ISO 3166-1 2-letter country code.

`CordaX500Name(commonName: String?, organisationUnit: String?, organisation: String, locality: String, state: String?, country: String)`

X.500 distinguished name data type customised to how Corda uses names. This restricts the attributes to those Corda supports, and requires that organisation, locality and country attributes are specified. See also RFC 4519 for the underlying attribute type definitions