9 #ifndef _061fafd4_982e_4a7e_9eb0_29e06443ebf3 10 #define _061fafd4_982e_4a7e_9eb0_29e06443ebf3 16 #include "odil/odil.h" 17 #include "odil/pdu/AAssociateAC.h" 18 #include "odil/pdu/AAssociateRQ.h" 19 #include "odil/pdu/SOPClassCommonExtendedNegotiation.h" 20 #include "odil/pdu/SOPClassExtendedNegotiation.h" 41 AbstractSyntaxNotSupported = 3,
42 TransferSyntaxesNotSupported = 4,
47 std::string
const & abstract_syntax,
48 std::vector<std::string>
const & transfer_syntaxes,
49 bool scu_role_support,
bool scp_role_support,
50 Result result=Result::NoReason);
82 UsernameAndPassword = 2,
90 Type type, std::string
const & primary_field,
91 std::string
const & secondary_field);
117 std::string
const & get_called_ae_title()
const;
128 std::string
const & get_calling_ae_title()
const;
139 std::vector<PresentationContext>
const & get_presentation_contexts()
const;
143 set_presentation_contexts(std::vector<PresentationContext>
const & value);
153 set_user_identity_to_username(std::string
const & username);
157 set_user_identity_to_username_and_password(
158 std::string
const & username, std::string
const & password);
162 set_user_identity_to_kerberos(std::string
const & ticket);
166 set_user_identity_to_saml(std::string
const & assertion);
169 uint32_t get_maximum_length()
const;
178 uint16_t get_maximum_number_operations_invoked()
const;
187 uint16_t get_maximum_number_operations_performed()
const;
196 std::vector<pdu::SOPClassExtendedNegotiation>
197 get_sop_class_extended_negotiation()
const;
203 void set_sop_class_extended_negotiation(
204 std::vector<pdu::SOPClassExtendedNegotiation>
const & value);
207 std::vector<pdu::SOPClassCommonExtendedNegotiation>
208 get_sop_class_common_extended_negotiation()
const;
214 void set_sop_class_common_extended_negotiation(
215 std::vector<pdu::SOPClassCommonExtendedNegotiation>
const & value);
218 pdu::AAssociateRQ as_a_associate_rq()
const;
221 pdu::AAssociateAC as_a_associate_ac()
const;
227 std::string _called_ae_title;
228 std::string _calling_ae_title;
229 std::vector<PresentationContext> _presentation_contexts;
231 uint32_t _maximum_length;
232 uint16_t _maximum_number_operations_invoked;
233 uint16_t _maximum_number_operations_performed;
234 std::vector<pdu::SOPClassExtendedNegotiation>
235 _sop_class_extended_negotiation;
236 std::vector<pdu::SOPClassCommonExtendedNegotiation>
237 _sop_class_common_extended_negotiation;
245 #endif // _061fafd4_982e_4a7e_9eb0_29e06443ebf3 std::string abstract_syntax
Proposed abstract syntax.
Definition: AssociationParameters.h:56
uint8_t id
Identifier of the presentation context, must be odd.
Definition: AssociationParameters.h:53
bool scu_role_support
Support for SCU role.
Definition: AssociationParameters.h:62
bool scp_role_support
Support for SCP role.
Definition: AssociationParameters.h:65
Definition: Association.cpp:39
Encapsulate association parameters.
Definition: AssociationParameters.h:26
Result
Result of the presentation context negotiation.
Definition: AssociationParameters.h:36
Type
User identity type.
Definition: AssociationParameters.h:78
Presentation Context, cf. PS 3.8, 9.3.2.2, PS 3.8, 9.3.3.2, PS 3.7, D.3.3.4.1 and PS 3...
Definition: AssociationParameters.h:33
std::string secondary_field
Secondary identity field.
Definition: AssociationParameters.h:100
Type type
Identity type.
Definition: AssociationParameters.h:94
Result result
Result of the negotiation.
Definition: AssociationParameters.h:68
std::string primary_field
Primary identity field.
Definition: AssociationParameters.h:97
User Identity, cf. PS3.8 D.3.3.7.
Definition: AssociationParameters.h:75
std::vector< std::string > transfer_syntaxes
Proposed transfer syntaxes or accepted transfer syntax.
Definition: AssociationParameters.h:59