30caf42a257bb654b2288b90166f8ca628c3bf1b
[oom/platform/cert-service.git] /
1 /*
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.aaf.certservice.client.configuration.model;
22
23
24 public class CsrConfiguration implements ConfigurationModel {
25
26     private String commonName;
27     private String organization;
28     private String state;
29     private String country;
30     private String organizationUnit;
31     private String location;
32     private String subjectAlternativeNames;
33
34
35     public String getCommonName() {
36         return commonName;
37     }
38
39     public CsrConfiguration setCommonName(String commonName) {
40         this.commonName = commonName;
41         return this;
42     }
43
44     public String getOrganization() {
45         return organization;
46     }
47
48     public CsrConfiguration setOrganization(String organization) {
49         this.organization = organization;
50         return this;
51     }
52
53     public String getState() {
54         return state;
55     }
56
57     public CsrConfiguration setState(String state) {
58         this.state = state;
59         return this;
60     }
61
62     public String getCountry() {
63         return country;
64     }
65
66     public CsrConfiguration setCountry(String country) {
67         this.country = country;
68         return this;
69     }
70
71     public String getOrganizationUnit() {
72         return organizationUnit;
73     }
74
75     public CsrConfiguration setOrganizationUnit(String organizationUnit) {
76         this.organizationUnit = organizationUnit;
77         return this;
78     }
79
80     public String getLocation() {
81         return location;
82     }
83
84     public CsrConfiguration setLocation(String location) {
85         this.location = location;
86         return this;
87     }
88
89     public String getSubjectAlternativeNames() {
90         return subjectAlternativeNames;
91     }
92
93     public CsrConfiguration setSubjectAlternativeNames(String subjectAlternativeNames) {
94         this.subjectAlternativeNames = subjectAlternativeNames;
95         return this;
96     }
97 }