Odil
A C++11 library for the DICOM standard
UserIdentityRQ.h
Go to the documentation of this file.
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _b935542d_12c9_4c81_963c_32b7996af777
10 #define _b935542d_12c9_4c81_963c_32b7996af777
11 
12 #include <cstdint>
13 #include <istream>
14 #include <string>
15 
16 #include "odil/odil.h"
17 #include "odil/pdu/Object.h"
18 
19 namespace odil
20 {
21 
22 namespace pdu
23 {
24 
26 class ODIL_API UserIdentityRQ: public Object
27 {
28 public:
30  static uint8_t const type=0x58;
31 
33  UserIdentityRQ();
34 
36  UserIdentityRQ(std::istream & stream);
37 
39  uint8_t get_type() const;
40 
42  void set_type(uint8_t type);
43 
45  bool get_positive_response_requested() const;
46 
48  void set_positive_response_requested(bool value);
49 
51  std::string const & get_primary_field() const;
52 
54  void set_primary_field(std::string const & value);
55 
57  std::string const & get_secondary_field() const;
58 
60  void set_secondary_field(std::string const & value);
61 
62  void set_username(std::string const & username);
63 
64  void set_username_and_passcode(
65  std::string const & username, std::string const & passcode);
66 
67  void set_kerberos_service_ticket(std::string const & ticket);
68 
69  void set_saml_assertion(std::string const & assertion);
70 };
71 
72 }
73 
74 }
75 
76 #endif // _b935542d_12c9_4c81_963c_32b7996af777
odil
Definition: Association.h:23
ODIL_API
#define ODIL_API
Definition: odil.h:27
odil.h
Object.h