2 * ============LICENSE_START=======================================================
3 * aaf-certservice-client
4 * ================================================================================
5 * Copyright (C) 2020 Nokia. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.aaf.certservice.client.configuration.model;
24 public class CsrConfiguration implements ConfigurationModel {
26 private String commonName;
27 private String organization;
29 private String country;
30 private String organizationUnit;
31 private String location;
32 private String subjectAlternativeNames;
35 public String getCommonName() {
39 public CsrConfiguration setCommonName(String commonName) {
40 this.commonName = commonName;
44 public String getOrganization() {
48 public CsrConfiguration setOrganization(String organization) {
49 this.organization = organization;
53 public String getState() {
57 public CsrConfiguration setState(String state) {
62 public String getCountry() {
66 public CsrConfiguration setCountry(String country) {
67 this.country = country;
71 public String getOrganizationUnit() {
72 return organizationUnit;
75 public CsrConfiguration setOrganizationUnit(String organizationUnit) {
76 this.organizationUnit = organizationUnit;
80 public String getLocation() {
84 public CsrConfiguration setLocation(String location) {
85 this.location = location;
89 public String getSubjectAlternativeNames() {
90 return subjectAlternativeNames;
93 public CsrConfiguration setSubjectAlternativeNames(String subjectAlternativeNames) {
94 this.subjectAlternativeNames = subjectAlternativeNames;