netsol 0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +1 -1
  3. data/api_docs/PartnerProtocol_Whats_New_6_8.pdf +0 -0
  4. data/api_docs/PartnerProtocol_XML_DTD_6.8/AuthLookupRequest.dtd +30 -0
  5. data/api_docs/PartnerProtocol_XML_DTD_6.8/AuthLookupResponse.dtd +34 -0
  6. data/api_docs/PartnerProtocol_XML_DTD_6.8/AvailableRequest.dtd +53 -0
  7. data/api_docs/PartnerProtocol_XML_DTD_6.8/AvailableResponse.dtd +81 -0
  8. data/api_docs/PartnerProtocol_XML_DTD_6.8/CommonDeclarations.dtd +173 -0
  9. data/api_docs/PartnerProtocol_XML_DTD_6.8/DomainData.dtd +68 -0
  10. data/api_docs/PartnerProtocol_XML_DTD_6.8/DomainProduct.dtd +189 -0
  11. data/api_docs/PartnerProtocol_XML_DTD_6.8/EmailForwardingLookupRequest.dtd +25 -0
  12. data/api_docs/PartnerProtocol_XML_DTD_6.8/EmailForwardingLookupResponse.dtd +31 -0
  13. data/api_docs/PartnerProtocol_XML_DTD_6.8/EmailForwardingRequest.dtd +26 -0
  14. data/api_docs/PartnerProtocol_XML_DTD_6.8/ErrorResponse.dtd +19 -0
  15. data/api_docs/PartnerProtocol_XML_DTD_6.8/HostProduct.dtd +72 -0
  16. data/api_docs/PartnerProtocol_XML_DTD_6.8/LookupRequest.dtd +34 -0
  17. data/api_docs/PartnerProtocol_XML_DTD_6.8/LookupResponse.dtd +38 -0
  18. data/api_docs/PartnerProtocol_XML_DTD_6.8/OrderRequest.dtd +31 -0
  19. data/api_docs/PartnerProtocol_XML_DTD_6.8/OrderResponse.dtd +43 -0
  20. data/api_docs/PartnerProtocol_XML_DTD_6.8/OrderStatusRequest.dtd +33 -0
  21. data/api_docs/PartnerProtocol_XML_DTD_6.8/PartnerManagerRequest.dtd +71 -0
  22. data/api_docs/PartnerProtocol_XML_DTD_6.8/PartnerManagerResponse.dtd +64 -0
  23. data/api_docs/PartnerProtocol_XML_DTD_6.8/PrivateRegistrationProduct.dtd +19 -0
  24. data/api_docs/PartnerProtocol_XML_DTD_6.8/RequestHeader.dtd +17 -0
  25. data/api_docs/PartnerProtocol_XML_DTD_6.8/ResponseHeader.dtd +10 -0
  26. data/api_docs/PartnerProtocol_XML_DTD_6.8/SSLProduct.dtd +90 -0
  27. data/api_docs/PartnerProtocol_XML_DTD_6.8/SecurityRequest.dtd +39 -0
  28. data/api_docs/PartnerProtocol_XML_DTD_6.8/SecurityResponse.dtd +21 -0
  29. data/api_docs/PartnerProtocol_XML_DTD_6.8/UserLookupRequest.dtd +39 -0
  30. data/api_docs/PartnerProtocol_XML_DTD_6.8/UserLookupResponse.dtd +47 -0
  31. data/api_docs/PartnerProtocol_XML_DTD_6.8/UserRequest.dtd +118 -0
  32. data/api_docs/PartnerProtocol_XML_DTD_6.8/UserResponse.dtd +21 -0
  33. data/api_docs/PartnerProtocol_XML_DTD_6.8/WebForwardingProduct.dtd +15 -0
  34. data/api_docs/XML_Reference_Version_6_8.pdf +0 -0
  35. data/lib/netsol.rb +107 -8
  36. data/netsol.gemspec +2 -1
  37. data/xml/_auth.haml +4 -0
  38. data/xml/_header.haml +5 -0
  39. data/xml/_lookup_domain.haml +11 -0
  40. data/xml/create_individual.haml +21 -0
  41. data/xml/create_registration.haml +10 -0
  42. data/xml/find_all_customers_for_partner.haml +5 -0
  43. data/xml/find_all_domains_for_partner.haml +5 -0
  44. data/xml/modify_registration.haml +11 -0
  45. metadata +53 -10
  46. data/xml/create_individual.xml.erb +0 -25
  47. data/xml/find_all_customers_for_partner.xml.erb +0 -7
  48. data/xml/find_all_domains_for_partner.xml.erb +0 -7
  49. data/xml/header.xml.erb +0 -7
  50. data/xml/modify_registration.xml.erb +0 -21
@@ -0,0 +1,43 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Product Order Response Message and Body Declaration. ========== -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT OrderResponse (ResponseHeader, Body)>
5
+ <!ELEMENT Body (Order*, Status?, NumberOfRecordsReturned?, NumberOfRecordsAvailable?)>
6
+ <!-- ===================================================================== -->
7
+ <!-- ==== Status of an Order and its contained LineItems. ================ -->
8
+ <!-- ===================================================================== -->
9
+ <!ELEMENT Order (ReferenceNumber, Status, OrderID?, OrderAction, Customer, Price?, TieredPrice?, LineItem*, OrderSubmissionDate?, NumberOfRecordsReturned?, NumberOfRecordsAvailable?)>
10
+ <!ELEMENT LineItem (LineItemID?, Status, ProductType, ProductID?, DomainName?, AuthCode?, Name?, LineItemDetail?, Price?, TaxDisclaimer?, SSLDetail?)>
11
+ <!-- ===================================================================== -->
12
+ <!-- ==== Base element declarations ====================================== -->
13
+ <!-- ===================================================================== -->
14
+ <!-- OrderAction examples, Create, Modify, etc. -->
15
+ <!ELEMENT OrderAction (#PCDATA)>
16
+ <!-- The date the order was submitted. Date format: YYYY-MM-DDThh:mm:ssTZD -->
17
+ <!ELEMENT OrderSubmissionDate (#PCDATA)>
18
+ <!ELEMENT DomainName (#PCDATA)>
19
+ <!ELEMENT AuthCode (#PCDATA)>
20
+ <!ELEMENT Customer (UserID)>
21
+ <!ELEMENT LineItemDetail (DomainLineItemDetail)>
22
+ <!ELEMENT DomainLineItemDetail (DomainReservationStatus)>
23
+ <!ELEMENT DomainReservationStatus EMPTY>
24
+ <!ATTLIST DomainReservationStatus
25
+ DomainReservationStatusType (Reserved | Queued) #REQUIRED
26
+ >
27
+ <!ELEMENT TaxDisclaimer (#PCDATA)>
28
+ <!-- The total price of a product line item or an order. -->
29
+ <!ELEMENT Price (#PCDATA)>
30
+ <!ELEMENT TieredPrice EMPTY>
31
+ <!ATTLIST TieredPrice
32
+ Selection (True | False) #REQUIRED
33
+ >
34
+ <!ELEMENT SSLDetail (Certificate?, SealHeader?, SealBody?)>
35
+ <!ELEMENT Certificate (#PCDATA)>
36
+ <!ELEMENT SealHeader (#PCDATA)>
37
+ <!ELEMENT SealBody (#PCDATA)>
38
+ <!-- ===================================================================== -->
39
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
40
+ <!-- ===================================================================== -->
41
+ <!ENTITY % ResponseHeader SYSTEM "ResponseHeader.dtd">
42
+ %ResponseHeader;
43
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,33 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Order Lookup Request Message and Body Declaration. ============ -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT OrderStatusRequest (RequestHeader, Body)>
5
+ <!-- Deprecation: The CustomerID here is deprecated and may be removed in -->
6
+ <!-- future versions. Please avoid using it -->
7
+ <!ELEMENT Body (AuthorizedAgent, CustomerID?, Order)>
8
+ <!-- ===================================================================== -->
9
+ <!-- ==== List of order query criteria. ================================= -->
10
+ <!-- ===================================================================== -->
11
+ <!ELEMENT Order ((ReferenceNumber | OrderID | Customer | Product | Domain | OrderStatusInfo | OrderSubmissionDate), TransferPaging?)>
12
+ <!-- ===================================================================== -->
13
+ <!-- ==== Base element declarations ====================================== -->
14
+ <!-- ===================================================================== -->
15
+ <!ELEMENT Customer (UserID, OrderSubmissionDate?)>
16
+ <!ELEMENT Product (ProductID, OrderSubmissionDate?)>
17
+ <!ELEMENT Domain (DomainName+, OrderSubmissionDate?)>
18
+ <!ELEMENT OrderStatusInfo (OrderStatus, OrderSubmissionDate?)>
19
+ <!ELEMENT OrderStatus EMPTY>
20
+ <!ATTLIST OrderStatus
21
+ OrderStatusType (success | pending | failed | partial) #REQUIRED
22
+ >
23
+ <!ELEMENT OrderSubmissionDate (DateRange)>
24
+ <!ELEMENT DomainName (#PCDATA)>
25
+ <!ELEMENT TransferPaging (StartRecord, MaximumRecords)>
26
+ <!ELEMENT StartRecord (#PCDATA)>
27
+ <!ELEMENT MaximumRecords (#PCDATA)>
28
+ <!-- ===================================================================== -->
29
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
30
+ <!-- ===================================================================== -->
31
+ <!ENTITY % RequestHeader SYSTEM "RequestHeader.dtd">
32
+ %RequestHeader;
33
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,71 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Partner Manager Request Message and Body Declaration. ========= -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT PartnerManagerRequest (RequestHeader, Body)>
5
+ <!ELEMENT Body (FindAllCustomersForPartner | FindAllDomainsForCustomer | FindAllDomainsForPartner | FindDomainsWithPrivateRegistration | FindDomainsWithWebForwarding | ConsolidateAllCustomerProducts | ConsolidateSelectedCustomerProducts | GetPartnerData | FindPreRegisteredDomainsForPartner |
6
+ FindAllSSLProductsForPartner | FindSSLProductsForPartner | FindDetailedSSLProduct)>
7
+ <!-- ===================================================================== -->
8
+ <!-- ==== Supported Partner Manager Actions. ============================ -->
9
+ <!-- ===================================================================== -->
10
+ <!-- Find all customers for a parnter, created within the date range -->
11
+ <!ELEMENT FindAllCustomersForPartner (CreatedDateRange?)>
12
+ <!-- Find all domains for parnter, purchased within the date range -->
13
+ <!-- or having an expiration date within the date range -->
14
+ <!ELEMENT FindAllDomainsForPartner (PurchaseDateRange? | ExpirationDateRange?)>
15
+ <!-- Find all domains owned by a customer, purchased within the -->
16
+ <!-- date range or having an expiration date within the date range -->
17
+ <!ELEMENT FindAllDomainsForCustomer (CustomerID, (PurchaseDateRange? | ExpirationDateRange?))>
18
+ <!-- Move all products owned by one customer to another customer -->
19
+ <!ELEMENT ConsolidateAllCustomerProducts (FromCustomer, ToCustomer)>
20
+ <!-- Move the specified products from one customer to another customer -->
21
+ <!ELEMENT ConsolidateSelectedCustomerProducts (FromCustomer, ToCustomer, (DomainName+ | ProductID+))>
22
+ <!-- Get information about the partner's account -->
23
+ <!ELEMENT GetPartnerData EMPTY>
24
+ <!-- Get domains with active or not active private registration products -->
25
+ <!-- indicated by the PrivateRegistrationActive flag. The value of -->
26
+ <!-- PrivateRegistrationActive can be true or false -->
27
+ <!ELEMENT FindDomainsWithPrivateRegistration (PrivateRegistrationActive, StartRecord, MaximumRecords)>
28
+ <!-- Get webforwarding domains or domains that are not a webforwarding product -->
29
+ <!-- indicated by the WithWebFwd flag. The value of -->
30
+ <!-- WithWebFwd can be true or false -->
31
+ <!ELEMENT FindDomainsWithWebForwarding (WithWebFwd, StartRecord, MaximumRecords)>
32
+ <!-- Get PreRegistered domains , TLD will default to .eu for this release -->
33
+ <!ELEMENT FindPreRegisteredDomainsForPartner EMPTY>
34
+ <!-- High level SSL Products query -->
35
+ <!ELEMENT FindAllSSLProductsForPartner EMPTY>
36
+ <!ELEMENT FindSSLProductsForPartner ( CustomerID | PurchaseDateRange | ExpirationDateRange | WildCardSearch | DomainName | SSLProductStatus)>
37
+ <!-- Detailed query for a specific SSL product -->
38
+ <!ELEMENT FindDetailedSSLProduct (ProductID)>
39
+ <!-- ===================================================================== -->
40
+ <!-- ==== Base element declarations ====================================== -->
41
+ <!-- ===================================================================== -->
42
+ <!ELEMENT TLD (#PCDATA)>
43
+ <!ELEMENT StartRecord (#PCDATA)>
44
+ <!ELEMENT MaximumRecords (#PCDATA)>
45
+ <!ELEMENT PrivateRegistrationActive EMPTY>
46
+ <!ATTLIST PrivateRegistrationActive
47
+ Selection (True | False) #REQUIRED
48
+ >
49
+ <!ELEMENT WithWebFwd EMPTY>
50
+ <!ATTLIST WithWebFwd
51
+ Selection (True | False) #REQUIRED
52
+ >
53
+ <!-- For backward compatibility ExpirationDate, PurchaseDate, DomainName are defined here -->
54
+ <!ELEMENT CreatedDateRange (DateRange)>
55
+ <!ELEMENT PurchaseDateRange (DateRange)>
56
+ <!ELEMENT ExpirationDateRange (DateRange)>
57
+ <!ELEMENT DomainName (#PCDATA)>
58
+ <!ELEMENT WildCardSearch (StartsWith | Contains | EndsWith)>
59
+ <!ELEMENT StartsWith (#PCDATA)>
60
+ <!ELEMENT Contains (#PCDATA)>
61
+ <!ELEMENT EndsWith (#PCDATA)>
62
+ <!ELEMENT SSLProductStatus EMPTY>
63
+ <!ATTLIST SSLProductStatus
64
+ Selection (ProvideDomain | DomainConfigured | TermStarted | Issued | BeingReissued | Expired | BeingRenewed | Renewed) #REQUIRED
65
+ >
66
+ <!-- ===================================================================== -->
67
+ <!-- ==== Inclusion of referenced common elements. ======================= -->
68
+ <!-- ===================================================================== -->
69
+ <!ENTITY % RequestHeader SYSTEM "RequestHeader.dtd">
70
+ %RequestHeader;
71
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,64 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Partner Manager Response Message and Body Declaration. ======== -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT PartnerManagerResponse (ResponseHeader, Body)>
5
+ <!ELEMENT Body (Status, (Domain* | Customer* | CustomerProductConsolidationResult | PartnerData | DomainName* | PreRegisteredDomain* | Product*), DateRange?, NumberOfRecordsReturned?, NumberOfRecordsAvailable?)>
6
+ <!-- ===================================================================== -->
7
+ <!-- ==== Elements returned from the partner manager request. =========== -->
8
+ <!-- ===================================================================== -->
9
+ <!ELEMENT Domain (ProductID?, DomainName, ProductType, DomainProtect, LegalLock, NicHandle?, AutoRenew, PurchaseDate, ExpirationDate, BulkWhoisOptOut?, CustomerID?)>
10
+ <!ELEMENT PreRegisteredDomain (ProductID?, DomainName, ProductType, (Phase? | Phase1? | Phase2?), LanguageSelection?, PreRegStatus?, RequestedDate?, AccountID?, IndustryStatus?, DomainPurchasePeriod?, TradeMarkName?,TradeMarkCountryCode?, RegistrationNumberDetails?, RegsitrationDateInfo?, ExistingDomainInfo?, ApplicantCapacity?, AccountHolder?, OrgName?, FirstName?, LastName?, ApplicationId?)>
11
+ <!ELEMENT Customer (Individual | Business)>
12
+ <!ELEMENT Individual (UserID, NicHandle?, LoginName?, FirstName, MiddleName?, LastName)>
13
+ <!ELEMENT Business (UserID, NicHandle?, LoginName?, CompanyName, LegalContactFirstName, LegalContactMiddleName?, LegalContactLastName)>
14
+ <!ELEMENT CustomerProductConsolidationResult (FromCustomer, ToCustomer, ProductConsolidationResult*)>
15
+ <!ELEMENT ProductConsolidationResult ((DomainName | ProductID), Status)>
16
+ <!ELEMENT PartnerData (AccountBalance?)>
17
+ <!ATTLIST PartnerData
18
+ AccountStatus (ACTIVE | SUSPENDED) #REQUIRED
19
+ >
20
+ <!ELEMENT Product (ProductID, ProductType, Name, DomainName?, PurchasePeriod?, PurchaseDate?, ExpirationDate, CustomerID?, Status, IsRenewable?, IsReissueable?, HasEverBeenIssued?, SSLInstance*)>
21
+ <!ELEMENT SSLInstance (ServiceInstID, CSR?, ServerSelectionID?, DomainName?, IssuedDate?, IsRevocable?, IsDownloadable?, ValidationContact, OrderContact,CertificateRequester?, CertificateApprover?, ContractSigner?)>
22
+ <!-- ===================================================================== -->
23
+ <!-- ==== Base element declarations ====================================== -->
24
+ <!-- ===================================================================== -->
25
+ <!-- For backward compatibility ExpirationDate, PurchaseDate, DomainName are defined here -->
26
+ <!ELEMENT PurchaseDate (Date)>
27
+ <!ELEMENT ExpirationDate (Date)>
28
+ <!ELEMENT DomainName (#PCDATA)>
29
+ <!ATTLIST DomainName
30
+ encoded CDATA "false"
31
+ >
32
+ <!ELEMENT AccountBalance (#PCDATA)>
33
+ <!-- PreRegistration query -->
34
+ <!ELEMENT Phase (#PCDATA)>
35
+ <!ELEMENT Phase1 (#PCDATA)>
36
+ <!ELEMENT Phase2 (#PCDATA)>
37
+ <!ELEMENT LanguageSelection (#PCDATA)>
38
+ <!ELEMENT PreRegStatus (#PCDATA)>
39
+ <!ELEMENT RequestedDate (#PCDATA)>
40
+ <!ELEMENT AccountID (#PCDATA)>
41
+ <!ELEMENT IndustryStatus (#PCDATA)>
42
+ <!ELEMENT DomainPurchasePeriod (#PCDATA)>
43
+ <!ELEMENT TradeMarkName (#PCDATA)>
44
+ <!ELEMENT TradeMarkCountryCode (#PCDATA)>
45
+ <!ELEMENT RegistrationNumberDetails (#PCDATA)>
46
+ <!ELEMENT RegsitrationDateInfo (#PCDATA)>
47
+ <!ELEMENT ExistingDomainInfo (#PCDATA)>
48
+ <!ELEMENT ApplicantCapacity (#PCDATA)>
49
+ <!ELEMENT AccountHolder (#PCDATA)>
50
+ <!ELEMENT ApplicationId (#PCDATA)>
51
+ <!ELEMENT IsRevocable (#PCDATA)>
52
+ <!ELEMENT IssuedDate (#PCDATA)>
53
+ <!ELEMENT IsDownloadable (#PCDATA)>
54
+ <!ELEMENT IsRenewable (#PCDATA)>
55
+ <!ELEMENT IsReissueable (#PCDATA)>
56
+ <!ELEMENT HasEverBeenIssued (#PCDATA)>
57
+ <!-- ===================================================================== -->
58
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
59
+ <!-- ===================================================================== -->
60
+ <!ENTITY % ResponseHeader SYSTEM "ResponseHeader.dtd">
61
+ %ResponseHeader;
62
+ <!ENTITY % SSLProduct SYSTEM "SSLProduct.dtd">
63
+ %SSLProduct;
64
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,19 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Private Registration product actions =========================== -->
3
+ <!-- ===================================================================== -->
4
+
5
+ <!-- ==== Create private registration products only ===================== -->
6
+ <!ELEMENT CreatePrivateRegistration ( DomainName+,
7
+ PurchasePeriod ) >
8
+
9
+ <!-- ==== Delete private registration products only ===================== -->
10
+ <!ELEMENT DeletePrivateRegistration ( DomainName+ ) >
11
+
12
+ <!-- ==== Renew private registration products only ====================== -->
13
+ <!ELEMENT RenewPrivateRegistration ( DomainName+,
14
+ PurchasePeriod ) >
15
+
16
+ <!-- ==== Modify private registration products only ===================== -->
17
+ <!ELEMENT ModifyPrivateRegistration ( DomainName+ )>
18
+
19
+
@@ -0,0 +1,17 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Message Request Header Declarations =========================== -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT RequestHeader (VERSION_6_8, Authentication, Comments?, SystemInfo?, RequestProperty*)>
5
+ <!ELEMENT Authentication (PartnerID, PartnerPassword)>
6
+ <!ELEMENT PartnerID (#PCDATA)>
7
+ <!ELEMENT PartnerPassword (#PCDATA)>
8
+ <!ELEMENT SystemInfo (#PCDATA)>
9
+ <!ELEMENT RequestProperty (PropertyName, PropertyValue)>
10
+ <!ELEMENT PropertyName (#PCDATA)>
11
+ <!ELEMENT PropertyValue (#PCDATA)>
12
+ <!-- ===================================================================== -->
13
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
14
+ <!-- ===================================================================== -->
15
+ <!ENTITY % CommonDeclarations SYSTEM "CommonDeclarations.dtd">
16
+ %CommonDeclarations;
17
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,10 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Message Response Header Declarations ========================== -->
3
+ <!-- ===================================================================== -->
4
+ <!ELEMENT ResponseHeader (VERSION_6_8, ReferenceNumber, Timestamp, Comments?)>
5
+ <!-- ===================================================================== -->
6
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
7
+ <!-- ===================================================================== -->
8
+ <!ENTITY % CommonDeclarations SYSTEM "CommonDeclarations.dtd">
9
+ %CommonDeclarations;
10
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,90 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== SSL product ===================================================== -->
3
+ <!-- ===================================================================== -->
4
+ <!-- ==== Common commands for both Certificate & Seal products =================== -->
5
+ <!-- ==== For Certificate product, CSRData is required for create, renew ============== -->
6
+ <!ELEMENT CreateSSL (SSLProductName, (CertProduct+ | SealProduct+), PurchasePeriod, SubscribersAgreement, AccuracyAgreement?, EVSubscriber?)>
7
+ <!ELEMENT RenewSSL (SSLProductName, SSLProductToRenew+, PurchasePeriod, SubscribersAgreement, AccuracyAgreement?, EVSubscriber?)>
8
+ <!ELEMENT ReissueSSL (ProductID, DomainName?, CSRData?, Contacts, AccuracyAgreement?)>
9
+ <!ELEMENT RevokeSSL (ServiceInstID, (RevokeReason | OtherReason))>
10
+ <!-- ==== Certificate specific commands ========================================-->
11
+ <!ELEMENT DownloadCertificate (ServiceInstID, CertificateFormat)>
12
+ <!-- ==== Seal specific commands ============================================-->
13
+ <!ELEMENT GetSealCode (ServiceInstID, SealType, SealColor, SealShape, PublishingType)>
14
+ <!-- ===================================================================== -->
15
+ <!-- ===================================================================== -->
16
+ <!ELEMENT CertProduct (CSRData, Contacts)>
17
+ <!ELEMENT SealProduct (DomainName, Contacts)>
18
+ <!ELEMENT SSLProductToRenew (ProductID, CSRData?, Contacts)>
19
+ <!ELEMENT SSLProductName EMPTY>
20
+ <!ATTLIST SSLProductName
21
+ SSLProductName (Basic | Pro | WildCard | SiteConfirmSeal | EV) #REQUIRED
22
+ >
23
+ <!-- ==== CSR Data ========================================================-->
24
+ <!-- ===================================================================== -->
25
+ <!ELEMENT CSRData (CSR, ServerSelectionID)>
26
+ <!ELEMENT CSR (#PCDATA)>
27
+ <!-- Please see XML documentation for a list of server selections -->
28
+ <!ELEMENT ServerSelectionID (#PCDATA)>
29
+ <!-- Certificate format for downloading certificate-->
30
+ <!ELEMENT CertificateFormat EMPTY>
31
+ <!ATTLIST CertificateFormat
32
+ Selection (UTNAddTrustServerCA | AddTrustExternalCA | NetworkSolutionsCA | BundledCert | DomainSpecific | EVRootCA | IntermediateSSLCA) #REQUIRED
33
+ >
34
+ <!ELEMENT SealType EMPTY>
35
+ <!ATTLIST SealType
36
+ Selection (Basic | ProWildCard | SiteConfirmSeal | EV) #REQUIRED
37
+ >
38
+ <!ELEMENT SealColor EMPTY>
39
+ <!ATTLIST SealColor
40
+ Selection (Green | Blue) #REQUIRED
41
+ >
42
+ <!ELEMENT SealShape EMPTY>
43
+ <!ATTLIST SealShape
44
+ Selection (Square | Rectangular) #REQUIRED
45
+ >
46
+ <!ELEMENT PublishingType EMPTY>
47
+ <!ATTLIST PublishingType
48
+ Selection (HTTP | HTTPS) #REQUIRED
49
+ >
50
+ <!-- ==== POC Details ======================================================-->
51
+ <!-- ===================================================================== -->
52
+ <!ELEMENT Contacts (ValidationContact, OrderContact, CertificateRequester?, CertificateApprover?, ContractSigner?)>
53
+ <!-- ==== Validation Contact ================================================= -->
54
+ <!ELEMENT ValidationContact (EntityType, AddressLine1, AddressLine2?, AddressLine3?, POBox?, City, State, PostalCode, CountryCode, Department?, CompanyName?, ContactFirstName, ContactLastName, ContactPhone, DUNS?, AssumedName?, JurisdictionOfIncorporation?, IncorporatingAgency?, RegistrationNumber?, MainPhoneNumber?)>
55
+ <!-- ==== CertificateRequester ================================================= -->
56
+ <!ELEMENT CertificateRequester (FirstName, LastName, Title, RelationshipToApplicant, AddressLine1, AddressLine2?, AddressLine3?, POBox?, City, State, PostalCode, CountryCode, Phone, Email)>
57
+ <!-- ==== CertificateApprover ================================================= -->
58
+ <!ELEMENT CertificateApprover (FirstName, LastName, Title, RelationshipToApplicant, AddressLine1, AddressLine2?, AddressLine3?, POBox?, City, State, PostalCode, CountryCode, Phone, Email)>
59
+ <!-- ==== ContractSigner ================================================= -->
60
+ <!ELEMENT ContractSigner (FirstName, LastName, Title, RelationshipToApplicant, AddressLine1, AddressLine2?, AddressLine3?, POBox?, City, State, PostalCode, CountryCode, Phone, Email)>
61
+ <!-- ==== Order Contact ===================================================== -->
62
+ <!ELEMENT OrderContact (FirstName, LastName, Phone, Email)>
63
+ <!-- Entity Type -->
64
+ <!ELEMENT EntityType EMPTY>
65
+ <!ATTLIST EntityType
66
+ Selection (Individual | OrganizationCompany | EducationalInstitution | GovernmentOrganization) #REQUIRED
67
+ >
68
+ <!ELEMENT ContactFirstName (#PCDATA)>
69
+ <!ELEMENT ContactLastName (#PCDATA)>
70
+ <!ELEMENT ContactPhone (#PCDATA)>
71
+ <!ELEMENT Department (#PCDATA)>
72
+ <!-- Company Registration Number (optional) -->
73
+ <!ELEMENT DUNS (#PCDATA)>
74
+ <!-- ===================================================================== -->
75
+ <!ELEMENT RevokeReason EMPTY>
76
+ <!ATTLIST RevokeReason
77
+ Selection (PrivateKeyCompromised | AffiliationChanged | Superseded | CessationOfOperations) #REQUIRED
78
+ >
79
+ <!ELEMENT OtherReason (#PCDATA)>
80
+ <!ELEMENT EVSubscriber (FirstName, LastName)>
81
+ <!ELEMENT JurisdictionOfIncorporation (City?, State?, CountryCode)>
82
+ <!ELEMENT AssumedName (#PCDATA)>
83
+ <!ELEMENT Title (#PCDATA)>
84
+ <!ELEMENT RelationshipToApplicant (#PCDATA)>
85
+ <!ELEMENT IncorporatingAgency (#PCDATA)>
86
+ <!ELEMENT MainPhoneNumber (#PCDATA)>
87
+ <!ELEMENT RegistrationNumber (#PCDATA)>
88
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
89
+ <!--none -->
90
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,39 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Security Request Message and Body Declaration. ================ -->
3
+ <!-- ===================================================================== -->
4
+
5
+ <!ELEMENT SecurityRequest (RequestHeader, Body)>
6
+ <!ELEMENT Body (
7
+ (AuthenticatePartner |
8
+ AuthenticatePartnerAndGetPartnerInfo |
9
+ AuthenticateCustomer |
10
+ AuthenticateCustomerAndGetCustomerInfo |
11
+ AuthorizePartner |
12
+ AuthorizeCustomer ) ) >
13
+
14
+
15
+ <!-- ===================================================================== -->
16
+ <!-- ==== Base element declarations ====================================== -->
17
+ <!-- ===================================================================== -->
18
+
19
+ <!ELEMENT AuthenticatePartner (Partner)>
20
+ <!ELEMENT AuthenticatePartnerAndGetPartnerInfo (Partner)>
21
+ <!ELEMENT AuthenticateCustomer (Customer)>
22
+ <!ELEMENT AuthenticateCustomerAndGetCustomerInfo (Customer)>
23
+
24
+ <!ELEMENT AuthorizePartner (Partner, CustomerData)>
25
+ <!ELEMENT AuthorizeCustomer (Customer, ProductID)>
26
+
27
+ <!ELEMENT Partner ((UserID | NicHandle), Password)>
28
+ <!ELEMENT Customer ((UserID | NicHandle | LoginName), Password)>
29
+ <!ELEMENT CustomerData (CustomerID, ProductID?)>
30
+
31
+
32
+ <!-- ===================================================================== -->
33
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
34
+ <!-- ===================================================================== -->
35
+
36
+ <!ENTITY % RequestHeader SYSTEM "RequestHeader.dtd">
37
+ %RequestHeader;
38
+
39
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,21 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== Security Response Message and Body Declaration. =============== -->
3
+ <!-- ===================================================================== -->
4
+
5
+ <!ELEMENT SecurityResponse (ResponseHeader, Body) >
6
+ <!ELEMENT Body (Status, UserData?) >
7
+
8
+ <!ELEMENT UserData (
9
+ OrgName?,
10
+ FirstName?,
11
+ MiddleName?,
12
+ LastName? ) >
13
+
14
+ <!-- ===================================================================== -->
15
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
16
+ <!-- ===================================================================== -->
17
+
18
+ <!ENTITY % ReponseHeader SYSTEM "ResponseHeader.dtd">
19
+ %ReponseHeader;
20
+
21
+ <!-- sccsID "%TC-INFO%" -->
@@ -0,0 +1,39 @@
1
+ <!-- ===================================================================== -->
2
+ <!-- ==== User Lookup Request Message and Body Declaration. ============= -->
3
+ <!-- ===================================================================== -->
4
+
5
+ <!ELEMENT UserLookupRequest (RequestHeader, Body)>
6
+
7
+ <!ELEMENT Body (
8
+ AuthorizedAgent,
9
+ CustomerID?,
10
+ (LookupUser | CheckLoginNameAvailability | GetCALogin ) ) >
11
+
12
+ <!ELEMENT LookupUser (
13
+ UserID+ |
14
+ NicHandle+ |
15
+ DomainName |
16
+ ProductID |
17
+ LoginName+ ) >
18
+
19
+ <!ELEMENT CheckLoginNameAvailability ( LoginName ) >
20
+
21
+ <!-- ========= returns CIRA login and temporary password given user id === -->
22
+ <!ELEMENT GetCALogin ( UserID ) >
23
+
24
+ <!-- ===================================================================== -->
25
+ <!-- ==== Base element declarations ====================================== -->
26
+ <!-- ===================================================================== -->
27
+
28
+ <!-- For backward compatibility DomainName is defined here -->
29
+ <!ELEMENT DomainName (#PCDATA)>
30
+
31
+
32
+ <!-- ===================================================================== -->
33
+ <!-- ==== Inclusion of externally defined elements. ====================== -->
34
+ <!-- ===================================================================== -->
35
+
36
+ <!ENTITY % RequestHeader SYSTEM "RequestHeader.dtd">
37
+ %RequestHeader;
38
+
39
+ <!-- sccsID "%TC-INFO%" -->