|
@@ -25,6 +25,15 @@ CreateWHClientCertificateRequest::CreateWHClientCertificateRequest()
|
|
|
|
|
|
|
|
CreateWHClientCertificateRequest::~CreateWHClientCertificateRequest() {}
|
|
CreateWHClientCertificateRequest::~CreateWHClientCertificateRequest() {}
|
|
|
|
|
|
|
|
|
|
+std::string CreateWHClientCertificateRequest::getCountry() const {
|
|
|
|
|
+ return country_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setCountry(const std::string &country) {
|
|
|
|
|
+ country_ = country;
|
|
|
|
|
+ setParameter(std::string("Country"), country);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
std::string CreateWHClientCertificateRequest::getCsr() const {
|
|
std::string CreateWHClientCertificateRequest::getCsr() const {
|
|
|
return csr_;
|
|
return csr_;
|
|
|
}
|
|
}
|
|
@@ -34,6 +43,24 @@ void CreateWHClientCertificateRequest::setCsr(const std::string &csr) {
|
|
|
setParameter(std::string("Csr"), csr);
|
|
setParameter(std::string("Csr"), csr);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+long CreateWHClientCertificateRequest::getImmediately() const {
|
|
|
|
|
+ return immediately_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setImmediately(long immediately) {
|
|
|
|
|
+ immediately_ = immediately;
|
|
|
|
|
+ setParameter(std::string("Immediately"), std::to_string(immediately));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+long CreateWHClientCertificateRequest::getYears() const {
|
|
|
|
|
+ return years_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setYears(long years) {
|
|
|
|
|
+ years_ = years;
|
|
|
|
|
+ setParameter(std::string("Years"), std::to_string(years));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
std::string CreateWHClientCertificateRequest::getCommonName() const {
|
|
std::string CreateWHClientCertificateRequest::getCommonName() const {
|
|
|
return commonName_;
|
|
return commonName_;
|
|
|
}
|
|
}
|
|
@@ -61,6 +88,15 @@ void CreateWHClientCertificateRequest::setSanValue(const std::string &sanValue)
|
|
|
setParameter(std::string("SanValue"), sanValue);
|
|
setParameter(std::string("SanValue"), sanValue);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string CreateWHClientCertificateRequest::getState() const {
|
|
|
|
|
+ return state_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setState(const std::string &state) {
|
|
|
|
|
+ state_ = state;
|
|
|
|
|
+ setParameter(std::string("State"), state);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
std::string CreateWHClientCertificateRequest::getAlgorithm() const {
|
|
std::string CreateWHClientCertificateRequest::getAlgorithm() const {
|
|
|
return algorithm_;
|
|
return algorithm_;
|
|
|
}
|
|
}
|
|
@@ -70,6 +106,15 @@ void CreateWHClientCertificateRequest::setAlgorithm(const std::string &algorithm
|
|
|
setParameter(std::string("Algorithm"), algorithm);
|
|
setParameter(std::string("Algorithm"), algorithm);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+long CreateWHClientCertificateRequest::getMonths() const {
|
|
|
|
|
+ return months_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setMonths(long months) {
|
|
|
|
|
+ months_ = months;
|
|
|
|
|
+ setParameter(std::string("Months"), std::to_string(months));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
long CreateWHClientCertificateRequest::getAfterTime() const {
|
|
long CreateWHClientCertificateRequest::getAfterTime() const {
|
|
|
return afterTime_;
|
|
return afterTime_;
|
|
|
}
|
|
}
|
|
@@ -79,6 +124,15 @@ void CreateWHClientCertificateRequest::setAfterTime(long afterTime) {
|
|
|
setParameter(std::string("AfterTime"), std::to_string(afterTime));
|
|
setParameter(std::string("AfterTime"), std::to_string(afterTime));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string CreateWHClientCertificateRequest::getLocality() const {
|
|
|
|
|
+ return locality_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setLocality(const std::string &locality) {
|
|
|
|
|
+ locality_ = locality;
|
|
|
|
|
+ setParameter(std::string("Locality"), locality);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
long CreateWHClientCertificateRequest::getSanType() const {
|
|
long CreateWHClientCertificateRequest::getSanType() const {
|
|
|
return sanType_;
|
|
return sanType_;
|
|
|
}
|
|
}
|
|
@@ -88,6 +142,15 @@ void CreateWHClientCertificateRequest::setSanType(long sanType) {
|
|
|
setParameter(std::string("SanType"), std::to_string(sanType));
|
|
setParameter(std::string("SanType"), std::to_string(sanType));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string CreateWHClientCertificateRequest::getOrganization() const {
|
|
|
|
|
+ return organization_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setOrganization(const std::string &organization) {
|
|
|
|
|
+ organization_ = organization;
|
|
|
|
|
+ setParameter(std::string("Organization"), organization);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
long CreateWHClientCertificateRequest::getDays() const {
|
|
long CreateWHClientCertificateRequest::getDays() const {
|
|
|
return days_;
|
|
return days_;
|
|
|
}
|
|
}
|
|
@@ -115,3 +178,12 @@ void CreateWHClientCertificateRequest::setParentIdentifier(const std::string &pa
|
|
|
setParameter(std::string("ParentIdentifier"), parentIdentifier);
|
|
setParameter(std::string("ParentIdentifier"), parentIdentifier);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string CreateWHClientCertificateRequest::getOrganizationUnit() const {
|
|
|
|
|
+ return organizationUnit_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void CreateWHClientCertificateRequest::setOrganizationUnit(const std::string &organizationUnit) {
|
|
|
|
|
+ organizationUnit_ = organizationUnit;
|
|
|
|
|
+ setParameter(std::string("OrganizationUnit"), organizationUnit);
|
|
|
|
|
+}
|
|
|
|
|
+
|