forked from FMXExpress/ios-object-pascal-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiOSapi.GSS.pas
1082 lines (933 loc) · 39.8 KB
/
iOSapi.GSS.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{ *********************************************************** }
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 2012-2014 Embarcadero Technologies, Inc. }
{ }
{ *********************************************************** }
//
// Delphi-Objective-C Bridge
// Interfaces for Cocoa framework GSS
//
unit iOSapi.GSS;
interface
uses
Macapi.CoreFoundation,
Macapi.CoreServices,
Macapi.Dispatch,
Macapi.Foundation,
Macapi.Mach,
Macapi.ObjCRuntime,
Macapi.ObjectiveC,
Macapi.QuartzCore,
iOSapi.CocoaTypes,
iOSapi.Foundation;
type
// ===== Framework typedefs =====
{$M+}
OM_uint32 = LongWord;
OM_uint64 = UInt64;
gss_uint32 = LongWord;
gss_name_t = Pointer;
gss_const_name_t = Pointer;
gss_ctx_id_t = Pointer;
gss_ctx_id_t_desc_struct = record
end;
Pgss_ctx_id_t_desc_struct = ^gss_ctx_id_t_desc_struct;
gss_const_ctx_id_t = gss_ctx_id_t_desc_struct;
gss_OID_desc_struct = record
length: OM_uint32;
elements: Pointer;
end;
Pgss_OID_desc_struct = ^gss_OID_desc_struct;
gss_OID_desc = gss_OID_desc_struct;
gss_OID = Pointer;
gss_const_OID = Pointer;
__darwin_size_t = LongWord;
gss_OID_set_desc_struct = record
count: LongWord;
elements: gss_OID;
end;
Pgss_OID_set_desc_struct = ^gss_OID_set_desc_struct;
gss_OID_set_desc = gss_OID_set_desc_struct;
gss_OID_set = Pointer;
gss_const_OID_set = Pointer;
gss_cred_usage_t = Integer;
Pgss_cred_usage_t = ^gss_cred_usage_t;
gss_cred_id_t = Pointer;
gss_const_cred_id_t = Pointer;
gss_buffer_desc_struct = record
length: LongWord;
value: Pointer;
end;
Pgss_buffer_desc_struct = ^gss_buffer_desc_struct;
gss_buffer_desc = gss_buffer_desc_struct;
gss_buffer_t = Pointer;
gss_const_buffer_t = Pointer;
gss_channel_bindings_t = Pointer;
gss_const_channel_bindings_t = Pointer;
gss_buffer_set_desc_struct = record
count: LongWord;
elements: Pointer;
end;
Pgss_buffer_set_desc_struct = ^gss_buffer_set_desc_struct;
gss_buffer_set_desc = gss_buffer_set_desc_struct;
gss_buffer_set_t = Pointer;
gss_iov_buffer_desc_struct = record
&type: OM_uint32;
buffer: gss_buffer_desc;
end;
Pgss_iov_buffer_desc_struct = ^gss_iov_buffer_desc_struct;
gss_iov_buffer_desc = gss_iov_buffer_desc_struct;
gss_iov_buffer_t = Pointer;
gss_qop_t = OM_uint32;
gss_status_id_t = PLongWord;
gss_auth_identity_t = Pointer;
TGSSUseriter = procedure(param1: gss_OID; param2: gss_cred_id_t) of object;
TGSSUseriter1 = procedure(param1: Pointer; param2: gss_OID;
param3: gss_cred_id_t); cdecl;
__darwin_ssize_t = LongInt;
CFUUIDRef = Pointer;
CFErrorRef = Pointer;
CFTypeRef = Pointer;
CFStringRef = Pointer;
CFDictionaryRef = Pointer;
gss_krb5_lucid_key = record
&type: OM_uint32;
length: OM_uint32;
data: Pointer;
end;
Pgss_krb5_lucid_key = ^gss_krb5_lucid_key;
gss_krb5_lucid_key_t = gss_krb5_lucid_key;
gss_krb5_rfc1964_keydata = record
sign_alg: OM_uint32;
seal_alg: OM_uint32;
ctx_key: gss_krb5_lucid_key_t;
end;
Pgss_krb5_rfc1964_keydata = ^gss_krb5_rfc1964_keydata;
gss_krb5_rfc1964_keydata_t = gss_krb5_rfc1964_keydata;
gss_krb5_cfx_keydata = record
have_acceptor_subkey: OM_uint32;
ctx_key: gss_krb5_lucid_key_t;
acceptor_subkey: gss_krb5_lucid_key_t;
end;
Pgss_krb5_cfx_keydata = ^gss_krb5_cfx_keydata;
gss_krb5_cfx_keydata_t = gss_krb5_cfx_keydata;
gss_krb5_lucid_context_v1 = record
version: OM_uint32;
initiate: OM_uint32;
endtime: OM_uint32;
send_seq: OM_uint64;
recv_seq: OM_uint64;
protocol: OM_uint32;
rfc1964_kd: gss_krb5_rfc1964_keydata_t;
cfx_kd: gss_krb5_cfx_keydata_t;
end;
Pgss_krb5_lucid_context_v1 = ^gss_krb5_lucid_context_v1;
gss_krb5_lucid_context_v1_t = gss_krb5_lucid_context_v1;
gss_krb5_lucid_context_version = record
version: OM_uint32;
end;
Pgss_krb5_lucid_context_version = ^gss_krb5_lucid_context_version;
gss_krb5_lucid_context_version_t = gss_krb5_lucid_context_version;
// ===== Exported string consts =====
function __gss_krb5_copy_ccache_x_oid_desc: Pointer;
function __gss_krb5_get_tkt_flags_x_oid_desc: Pointer;
function __gss_krb5_extract_authz_data_from_sec_context_x_oid_desc: Pointer;
function __gss_krb5_compat_des3_mic_x_oid_desc: Pointer;
function __gss_krb5_register_acceptor_identity_x_oid_desc: Pointer;
function __gss_krb5_export_lucid_context_x_oid_desc: Pointer;
function __gss_krb5_export_lucid_context_v1_x_oid_desc: Pointer;
function __gss_krb5_set_dns_canonicalize_x_oid_desc: Pointer;
function __gss_krb5_get_subkey_x_oid_desc: Pointer;
function __gss_krb5_get_initiator_subkey_x_oid_desc: Pointer;
function __gss_krb5_get_acceptor_subkey_x_oid_desc: Pointer;
function __gss_krb5_send_to_kdc_x_oid_desc: Pointer;
function __gss_krb5_get_authtime_x_oid_desc: Pointer;
function __gss_krb5_get_service_keyblock_x_oid_desc: Pointer;
function __gss_krb5_set_allowable_enctypes_x_oid_desc: Pointer;
function __gss_krb5_set_default_realm_x_oid_desc: Pointer;
function __gss_krb5_ccache_name_x_oid_desc: Pointer;
function __gss_krb5_set_time_offset_x_oid_desc: Pointer;
function __gss_krb5_get_time_offset_x_oid_desc: Pointer;
function __gss_krb5_plugin_register_x_oid_desc: Pointer;
function __gss_ntlm_get_session_key_x_oid_desc: Pointer;
function __gss_c_nt_ntlm_oid_desc: Pointer;
function __gss_c_nt_dn_oid_desc: Pointer;
function __gss_krb5_nt_principal_name_referral_oid_desc: Pointer;
function __gss_c_ntlm_guest_oid_desc: Pointer;
function __gss_c_ntlm_v1_oid_desc: Pointer;
function __gss_c_ntlm_v2_oid_desc: Pointer;
function __gss_c_ntlm_session_key_oid_desc: Pointer;
function __gss_c_ntlm_force_v1_oid_desc: Pointer;
function __gss_krb5_cred_no_ci_flags_x_oid_desc: Pointer;
function __gss_c_nt_uuid_oid_desc: Pointer;
function __gss_c_ntlm_support_channelbindings_oid_desc: Pointer;
function __gss_c_ntlm_support_lm2_oid_desc: Pointer;
function __gss_krb5_import_cred_x_oid_desc: Pointer;
function __gss_c_ntlm_reset_keys_oid_desc: Pointer;
function __gss_c_cred_diag_oid_desc: Pointer;
function __gss_c_cred_validate_oid_desc: Pointer;
function __gss_c_cred_set_default_oid_desc: Pointer;
function __gss_c_cred_get_default_oid_desc: Pointer;
function __gss_c_cred_renew_oid_desc: Pointer;
function __gss_c_ctx_pfs_x_oid_desc: Pointer;
function __gss_c_ma_sasl_mech_name_oid_desc: Pointer;
function __gss_c_ma_mech_name_oid_desc: Pointer;
function __gss_c_ma_mech_description_oid_desc: Pointer;
function __gss_c_cred_password_oid_desc: Pointer;
function __gss_c_cred_certificate_oid_desc: Pointer;
function __gss_c_cred_secidentity_oid_desc: Pointer;
function __gss_c_cred_heimbase_oid_desc: Pointer;
function __gss_sasl_digest_md5_mechanism_oid_desc: Pointer;
function __gss_netlogon_mechanism_oid_desc: Pointer;
function __gss_appl_lkdc_supported_oid_desc: Pointer;
function __gss_netlogon_set_session_key_x_oid_desc: Pointer;
function __gss_netlogon_set_sign_algorithm_x_oid_desc: Pointer;
function __gss_netlogon_nt_netbios_dns_name_oid_desc: Pointer;
function __gss_c_inq_win2k_pac_x_oid_desc: Pointer;
function __gss_c_inq_sspi_session_key_oid_desc: Pointer;
function __gss_krb5_mechanism_oid_desc: Pointer;
function __gss_ntlm_mechanism_oid_desc: Pointer;
function __gss_iakerb_mechanism_oid_desc: Pointer;
function __gss_pku2u_mechanism_oid_desc: Pointer;
function __gss_spnego_mechanism_oid_desc: Pointer;
function __gss_scram_mechanism_oid_desc: Pointer;
function __gss_c_nt_user_name_oid_desc: Pointer;
function __gss_c_nt_machine_uid_name_oid_desc: Pointer;
function __gss_c_nt_string_uid_name_oid_desc: Pointer;
function __gss_c_nt_hostbased_service_x_oid_desc: Pointer;
function __gss_c_nt_hostbased_service_oid_desc: Pointer;
function __gss_c_nt_anonymous_oid_desc: Pointer;
function __gss_c_nt_export_name_oid_desc: Pointer;
function __gss_krb5_nt_principal_name_oid_desc: Pointer;
function __gss_krb5_nt_principal_oid_desc: Pointer;
function __gss_c_peer_has_updated_spnego_oid_desc: Pointer;
function __gss_c_ma_mech_concrete_oid_desc: Pointer;
function __gss_c_ma_mech_pseudo_oid_desc: Pointer;
function __gss_c_ma_mech_composite_oid_desc: Pointer;
function __gss_c_ma_mech_nego_oid_desc: Pointer;
function __gss_c_ma_mech_glue_oid_desc: Pointer;
function __gss_c_ma_not_mech_oid_desc: Pointer;
function __gss_c_ma_deprecated_oid_desc: Pointer;
function __gss_c_ma_not_dflt_mech_oid_desc: Pointer;
function __gss_c_ma_itok_framed_oid_desc: Pointer;
function __gss_c_ma_auth_init_oid_desc: Pointer;
function __gss_c_ma_auth_targ_oid_desc: Pointer;
function __gss_c_ma_auth_init_init_oid_desc: Pointer;
function __gss_c_ma_auth_targ_init_oid_desc: Pointer;
function __gss_c_ma_auth_init_anon_oid_desc: Pointer;
function __gss_c_ma_auth_targ_anon_oid_desc: Pointer;
function __gss_c_ma_deleg_cred_oid_desc: Pointer;
function __gss_c_ma_integ_prot_oid_desc: Pointer;
function __gss_c_ma_conf_prot_oid_desc: Pointer;
function __gss_c_ma_mic_oid_desc: Pointer;
function __gss_c_ma_wrap_oid_desc: Pointer;
function __gss_c_ma_prot_ready_oid_desc: Pointer;
function __gss_c_ma_replay_det_oid_desc: Pointer;
function __gss_c_ma_oos_det_oid_desc: Pointer;
function __gss_c_ma_cbindings_oid_desc: Pointer;
function __gss_c_ma_pfs_oid_desc: Pointer;
function __gss_c_ma_compress_oid_desc: Pointer;
function __gss_c_ma_ctx_trans_oid_desc: Pointer;
function __gss_c_attr_local_login_user: Pointer;
// ===== External functions =====
const
libGSS = '/System/Library/Frameworks/GSS.framework/GSS';
function gss_accept_sec_context(minor_status: PLongWord;
context_handle: Pointer; acceptor_cred_handle: gss_cred_id_t;
input_token: gss_buffer_t; input_chan_bindings: gss_channel_bindings_t;
src_name: Pointer; mech_type: Pointer; output_token: gss_buffer_t;
ret_flags: PLongWord; time_rec: PLongWord; delegated_cred_handle: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_accept_sec_context';
function gss_acquire_cred(minor_status: PLongWord; desired_name: gss_name_t;
time_req: OM_uint32; desired_mechs: gss_OID_set; cred_usage: gss_cred_usage_t;
output_cred_handle: Pointer; actual_mechs: Pointer; time_rec: PLongWord)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_acquire_cred';
function gss_acquire_cred_with_password(minor_status: PLongWord;
desired_name: gss_name_t; password: gss_buffer_t; time_req: OM_uint32;
desired_mechs: gss_OID_set; cred_usage: gss_cred_usage_t;
output_cred_handle: Pointer; actual_mechs: Pointer; time_rec: PLongWord)
: OM_uint32; cdecl; external libGSS name _PU +
'gss_acquire_cred_with_password';
function gss_add_buffer_set_member(minor_status: PLongWord;
member_buffer: gss_buffer_t; buffer_set: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_add_buffer_set_member';
function gss_add_cred(minor_status: PLongWord; input_cred_handle: gss_cred_id_t;
desired_name: gss_name_t; desired_mech: gss_OID; cred_usage: gss_cred_usage_t;
initiator_time_req: OM_uint32; acceptor_time_req: OM_uint32;
output_cred_handle: Pointer; actual_mechs: Pointer;
initiator_time_rec: PLongWord; acceptor_time_rec: PLongWord): OM_uint32;
cdecl; external libGSS name _PU + 'gss_add_cred';
function gss_add_oid_set_member(minor_status: PLongWord;
member_oid: gss_const_OID; oid_set: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_add_oid_set_member';
function gss_canonicalize_name(minor_status: PLongWord; input_name: gss_name_t;
mech_type: gss_OID; output_name: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_canonicalize_name';
function gss_compare_name(minor_status: PLongWord; name1_arg: gss_name_t;
name2_arg: gss_name_t; name_equal: PInteger): OM_uint32; cdecl;
external libGSS name _PU + 'gss_compare_name';
function gss_context_time(minor_status: PLongWord; context_handle: gss_ctx_id_t;
time_rec: PLongWord): OM_uint32; cdecl;
external libGSS name _PU + 'gss_context_time';
function gss_create_empty_buffer_set(minor_status: PLongWord;
buffer_set: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_create_empty_buffer_set';
function gss_create_empty_oid_set(minor_status: PLongWord; oid_set: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_create_empty_oid_set';
function gss_decapsulate_token(input_token: gss_const_buffer_t;
oid: gss_const_OID; output_token: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_decapsulate_token';
function gss_delete_sec_context(minor_status: PLongWord;
context_handle: Pointer; output_token: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_delete_sec_context';
function gss_destroy_cred(min_stat: PLongWord; cred_handle: Pointer): OM_uint32;
cdecl; external libGSS name _PU + 'gss_destroy_cred';
function gss_display_mech_attr(minor_status: PLongWord;
mech_attr: gss_const_OID; name: gss_buffer_t; short_desc: gss_buffer_t;
long_desc: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_display_mech_attr';
function gss_display_name(minor_status: PLongWord; input_name: gss_name_t;
output_name_buffer: gss_buffer_t; output_name_type: Pointer): OM_uint32;
cdecl; external libGSS name _PU + 'gss_display_name';
function gss_display_status(minor_status: PLongWord; status_value: OM_uint32;
status_type: Integer; mech_type: gss_OID; message_content: PLongWord;
status_string: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_display_status';
function gss_duplicate_name(minor_status: PLongWord; src_name: gss_name_t;
dest_name: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_duplicate_name';
function gss_duplicate_oid(minor_status: PLongWord; src_oid: gss_OID;
dest_oid: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_duplicate_oid';
function gss_encapsulate_token(input_token: gss_const_buffer_t;
oid: gss_const_OID; output_token: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_encapsulate_token';
function gss_export_cred(minor_status: PLongWord; cred_handle: gss_cred_id_t;
token: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_export_cred';
function gss_export_name(minor_status: PLongWord; input_name: gss_name_t;
exported_name: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_export_name';
function gss_export_sec_context(minor_status: PLongWord;
context_handle: Pointer; interprocess_token: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_export_sec_context';
function gss_get_mic(minor_status: PLongWord; context_handle: gss_ctx_id_t;
qop_req: gss_qop_t; message_buffer: gss_buffer_t; message_token: gss_buffer_t)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_get_mic';
function gss_import_cred(minor_status: PLongWord; token: gss_buffer_t;
cred_handle: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_import_cred';
function gss_import_name(minor_status: PLongWord;
input_name_buffer: gss_buffer_t; input_name_type: gss_const_OID;
output_name: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_import_name';
function gss_import_sec_context(minor_status: PLongWord;
interprocess_token: gss_buffer_t; context_handle: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_import_sec_context';
function gss_indicate_mechs(minor_status: PLongWord; mech_set: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_indicate_mechs';
function gss_indicate_mechs_by_attrs(minor_status: PLongWord;
desired_mech_attrs: gss_const_OID_set; except_mech_attrs: gss_const_OID_set;
critical_mech_attrs: gss_const_OID_set; mechs: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_indicate_mechs_by_attrs';
function gss_init_sec_context(minor_status: PLongWord;
initiator_cred_handle: gss_cred_id_t; context_handle: Pointer;
target_name: gss_name_t; input_mech_type: gss_OID; req_flags: OM_uint32;
time_req: OM_uint32; input_chan_bindings: gss_channel_bindings_t;
input_token: gss_buffer_t; actual_mech_type: Pointer;
output_token: gss_buffer_t; ret_flags: PLongWord; time_rec: PLongWord)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_init_sec_context';
function gss_inquire_attrs_for_mech(minor_status: PLongWord;
mech: gss_const_OID; mech_attr: Pointer; known_mech_attrs: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_inquire_attrs_for_mech';
function gss_inquire_context(minor_status: PLongWord;
context_handle: gss_ctx_id_t; src_name: Pointer; targ_name: Pointer;
lifetime_rec: PLongWord; mech_type: Pointer; ctx_flags: PLongWord;
locally_initiated: PInteger; xopen: PInteger): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_context';
function gss_inquire_cred(minor_status: PLongWord; cred_handle: gss_cred_id_t;
name_ret: Pointer; lifetime: PLongWord; cred_usage: PInteger;
mechanisms: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_cred';
function gss_inquire_cred_by_mech(minor_status: PLongWord;
cred_handle: gss_cred_id_t; mech_type: gss_OID; cred_name: Pointer;
initiator_lifetime: PLongWord; acceptor_lifetime: PLongWord;
cred_usage: PInteger): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_cred_by_mech';
function gss_inquire_cred_by_oid(minor_status: PLongWord;
cred_handle: gss_cred_id_t; desired_object: gss_OID; data_set: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_inquire_cred_by_oid';
function gss_inquire_mech_for_saslname(minor_status: PLongWord;
sasl_mech_name: gss_buffer_t; mech_type: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_mech_for_saslname';
function gss_inquire_mechs_for_name(minor_status: PLongWord;
input_name: gss_name_t; mech_types: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_mechs_for_name';
function gss_inquire_name(minor_status: PLongWord; input_name: gss_name_t;
name_is_MN: PInteger; MN_mech: Pointer; attrs: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_name';
function gss_inquire_names_for_mech(minor_status: PLongWord;
mechanism: gss_const_OID; name_types: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_names_for_mech';
function gss_inquire_saslname_for_mech(minor_status: PLongWord;
desired_mech: gss_OID; sasl_mech_name: gss_buffer_t; mech_name: gss_buffer_t;
mech_description: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_inquire_saslname_for_mech';
function gss_inquire_sec_context_by_oid(minor_status: PLongWord;
context_handle: gss_ctx_id_t; desired_object: gss_OID; data_set: Pointer)
: OM_uint32; cdecl; external libGSS name _PU +
'gss_inquire_sec_context_by_oid';
function gss_iter_creds(min_stat: PLongWord; flags: OM_uint32;
mech: gss_const_OID; useriter: TGSSUseriter): OM_uint32; cdecl;
external libGSS name _PU + 'gss_iter_creds';
function gss_iter_creds_f(min_stat: PLongWord; flags: OM_uint32;
mech: gss_const_OID; userctx: Pointer; useriter: TGSSUseriter1): OM_uint32;
cdecl; external libGSS name _PU + 'gss_iter_creds_f';
function gss_krb5_ccache_name(minor_status: PLongWord; name: MarshaledAString;
out_name: MarshaledAString): OM_uint32; cdecl;
external libGSS name _PU + 'gss_krb5_ccache_name';
function gss_krb5_copy_ccache(minor_status: PLongWord; cred: gss_cred_id_t;
out : Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_krb5_copy_ccache';
function gss_krb5_export_lucid_sec_context(minor_status: PLongWord;
context_handle: Pointer; version: OM_uint32; rctx: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_krb5_export_lucid_sec_context';
function gss_krb5_free_lucid_sec_context(minor_status: PLongWord; c: Pointer)
: OM_uint32; cdecl; external libGSS name _PU +
'gss_krb5_free_lucid_sec_context';
function gss_krb5_set_allowable_enctypes(minor_status: PLongWord;
cred: gss_cred_id_t; num_enctypes: OM_uint32; enctypes: PInt32): OM_uint32;
cdecl; external libGSS name _PU + 'gss_krb5_set_allowable_enctypes';
function gss_oid_equal(a: gss_const_OID; b: gss_const_OID): Integer; cdecl;
external libGSS name _PU + 'gss_oid_equal';
function gss_oid_to_str(minor_status: PLongWord; oid: gss_OID;
oid_str: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_oid_to_str';
function gss_process_context_token(minor_status: PLongWord;
context_handle: gss_ctx_id_t; token_buffer: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_process_context_token';
function gss_pseudo_random(minor_status: PLongWord; context: gss_ctx_id_t;
prf_key: Integer; prf_in: gss_buffer_t; desired_output_len: Integer;
prf_out: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_pseudo_random';
function gss_release_buffer(minor_status: PLongWord; buffer: gss_buffer_t)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_release_buffer';
function gss_release_buffer_set(minor_status: PLongWord; buffer_set: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_release_buffer_set';
function gss_release_cred(minor_status: PLongWord; cred_handle: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_release_cred';
function gss_release_name(minor_status: PLongWord; input_name: Pointer)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_release_name';
function gss_release_oid(minor_status: PLongWord; oid: Pointer): OM_uint32;
cdecl; external libGSS name _PU + 'gss_release_oid';
function gss_release_oid_set(minor_status: PLongWord; &set: Pointer): OM_uint32;
cdecl; external libGSS name _PU + 'gss_release_oid_set';
function gss_seal(minor_status: PLongWord; context_handle: gss_ctx_id_t;
conf_req_flag: Integer; qop_req: Integer; input_message_buffer: gss_buffer_t;
conf_state: PInteger; output_message_buffer: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_seal';
function gss_set_cred_option(minor_status: PLongWord; cred_handle: Pointer;
&object: gss_OID; value: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_set_cred_option';
function gss_set_sec_context_option(minor_status: PLongWord;
context_handle: Pointer; &object: gss_OID; value: gss_buffer_t): OM_uint32;
cdecl; external libGSS name _PU + 'gss_set_sec_context_option';
function gss_sign(minor_status: PLongWord; context_handle: gss_ctx_id_t;
qop_req: Integer; message_buffer: gss_buffer_t; message_token: gss_buffer_t)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_sign';
function gss_test_oid_set_member(minor_status: PLongWord; member: gss_const_OID;
&set: gss_OID_set; present: PInteger): OM_uint32; cdecl;
external libGSS name _PU + 'gss_test_oid_set_member';
function gss_unseal(minor_status: PLongWord; context_handle: gss_ctx_id_t;
input_message_buffer: gss_buffer_t; output_message_buffer: gss_buffer_t;
conf_state: PInteger; qop_state: PInteger): OM_uint32; cdecl;
external libGSS name _PU + 'gss_unseal';
function gss_unwrap(minor_status: PLongWord; context_handle: gss_ctx_id_t;
input_message_buffer: gss_buffer_t; output_message_buffer: gss_buffer_t;
conf_state: PInteger; qop_state: PLongWord): OM_uint32; cdecl;
external libGSS name _PU + 'gss_unwrap';
function gss_userok(name: gss_name_t; user: MarshaledAString): Integer; cdecl;
external libGSS name _PU + 'gss_userok';
function gss_verify(minor_status: PLongWord; context_handle: gss_ctx_id_t;
message_buffer: gss_buffer_t; token_buffer: gss_buffer_t; qop_state: PInteger)
: OM_uint32; cdecl; external libGSS name _PU + 'gss_verify';
function gss_verify_mic(minor_status: PLongWord; context_handle: gss_ctx_id_t;
message_buffer: gss_buffer_t; token_buffer: gss_buffer_t;
qop_state: PLongWord): OM_uint32; cdecl;
external libGSS name _PU + 'gss_verify_mic';
function gss_wrap(minor_status: PLongWord; context_handle: gss_ctx_id_t;
conf_req_flag: Integer; qop_req: gss_qop_t;
input_message_buffer: gss_buffer_t; conf_state: PInteger;
output_message_buffer: gss_buffer_t): OM_uint32; cdecl;
external libGSS name _PU + 'gss_wrap';
function gss_wrap_size_limit(minor_status: PLongWord;
context_handle: gss_ctx_id_t; conf_req_flag: Integer; qop_req: gss_qop_t;
req_output_size: OM_uint32; max_input_size: PLongWord): OM_uint32; cdecl;
external libGSS name _PU + 'gss_wrap_size_limit';
function gsskrb5_extract_authz_data_from_sec_context(minor_status: PLongWord;
context_handle: gss_ctx_id_t; ad_type: Integer; ad_data: gss_buffer_t)
: OM_uint32; cdecl; external libGSS name _PU +
'gsskrb5_extract_authz_data_from_sec_context';
function gsskrb5_register_acceptor_identity(identity: MarshaledAString)
: OM_uint32; cdecl; external libGSS name _PU +
'gsskrb5_register_acceptor_identity';
function krb5_gss_register_acceptor_identity(identity: MarshaledAString)
: OM_uint32; cdecl; external libGSS name _PU +
'krb5_gss_register_acceptor_identity';
function GSSCreateCredentialFromUUID(uuid: CFUUIDRef): gss_cred_id_t; cdecl;
external libGSS name _PU + 'GSSCreateCredentialFromUUID';
function GSSCreateError(mech: gss_const_OID; major_status: OM_uint32;
minor_status: OM_uint32): CFErrorRef; cdecl;
external libGSS name _PU + 'GSSCreateError';
function GSSCreateName(name: CFTypeRef; name_type: gss_const_OID;
error: Pointer): gss_name_t; cdecl;
external libGSS name _PU + 'GSSCreateName';
function GSSCredentialCopyName(cred: gss_cred_id_t): gss_name_t; cdecl;
external libGSS name _PU + 'GSSCredentialCopyName';
function GSSCredentialCopyUUID(credential: gss_cred_id_t): CFUUIDRef; cdecl;
external libGSS name _PU + 'GSSCredentialCopyUUID';
function GSSCredentialGetLifetime(cred: gss_cred_id_t): OM_uint32; cdecl;
external libGSS name _PU + 'GSSCredentialGetLifetime';
function GSSNameCreateDisplayString(name: gss_name_t): CFStringRef; cdecl;
external libGSS name _PU + 'GSSNameCreateDisplayString';
function gss_aapl_change_password(name: gss_name_t; mech: gss_const_OID;
attributes: CFDictionaryRef; error: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_aapl_change_password';
function gss_aapl_initial_cred(desired_name: gss_name_t;
desired_mech: gss_const_OID; attributes: CFDictionaryRef;
output_cred_handle: Pointer; error: Pointer): OM_uint32; cdecl;
external libGSS name _PU + 'gss_aapl_initial_cred';
implementation
{$IF defined(IOS) and NOT defined(CPUARM)}
uses
Posix.Dlfcn;
var
GSSModule: THandle;
{$ENDIF IOS}
function __gss_krb5_copy_ccache_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_copy_ccache_x_oid_desc');
end;
function __gss_krb5_get_tkt_flags_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_get_tkt_flags_x_oid_desc');
end;
function __gss_krb5_extract_authz_data_from_sec_context_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_extract_authz_data_from_sec_context_x_oid_desc');
end;
function __gss_krb5_compat_des3_mic_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_compat_des3_mic_x_oid_desc');
end;
function __gss_krb5_register_acceptor_identity_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_register_acceptor_identity_x_oid_desc');
end;
function __gss_krb5_export_lucid_context_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_export_lucid_context_x_oid_desc');
end;
function __gss_krb5_export_lucid_context_v1_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_export_lucid_context_v1_x_oid_desc');
end;
function __gss_krb5_set_dns_canonicalize_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_set_dns_canonicalize_x_oid_desc');
end;
function __gss_krb5_get_subkey_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_get_subkey_x_oid_desc');
end;
function __gss_krb5_get_initiator_subkey_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_get_initiator_subkey_x_oid_desc');
end;
function __gss_krb5_get_acceptor_subkey_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_get_acceptor_subkey_x_oid_desc');
end;
function __gss_krb5_send_to_kdc_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_send_to_kdc_x_oid_desc');
end;
function __gss_krb5_get_authtime_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_get_authtime_x_oid_desc');
end;
function __gss_krb5_get_service_keyblock_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_get_service_keyblock_x_oid_desc');
end;
function __gss_krb5_set_allowable_enctypes_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_set_allowable_enctypes_x_oid_desc');
end;
function __gss_krb5_set_default_realm_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_set_default_realm_x_oid_desc');
end;
function __gss_krb5_ccache_name_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_ccache_name_x_oid_desc');
end;
function __gss_krb5_set_time_offset_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_set_time_offset_x_oid_desc');
end;
function __gss_krb5_get_time_offset_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_get_time_offset_x_oid_desc');
end;
function __gss_krb5_plugin_register_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_plugin_register_x_oid_desc');
end;
function __gss_ntlm_get_session_key_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_ntlm_get_session_key_x_oid_desc');
end;
function __gss_c_nt_ntlm_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_ntlm_oid_desc');
end;
function __gss_c_nt_dn_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_dn_oid_desc');
end;
function __gss_krb5_nt_principal_name_referral_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_krb5_nt_principal_name_referral_oid_desc');
end;
function __gss_c_ntlm_guest_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_guest_oid_desc');
end;
function __gss_c_ntlm_v1_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_v1_oid_desc');
end;
function __gss_c_ntlm_v2_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_v2_oid_desc');
end;
function __gss_c_ntlm_session_key_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_session_key_oid_desc');
end;
function __gss_c_ntlm_force_v1_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_force_v1_oid_desc');
end;
function __gss_krb5_cred_no_ci_flags_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_cred_no_ci_flags_x_oid_desc');
end;
function __gss_c_nt_uuid_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_uuid_oid_desc');
end;
function __gss_c_ntlm_support_channelbindings_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_c_ntlm_support_channelbindings_oid_desc');
end;
function __gss_c_ntlm_support_lm2_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_support_lm2_oid_desc');
end;
function __gss_krb5_import_cred_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_import_cred_x_oid_desc');
end;
function __gss_c_ntlm_reset_keys_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ntlm_reset_keys_oid_desc');
end;
function __gss_c_cred_diag_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_diag_oid_desc');
end;
function __gss_c_cred_validate_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_validate_oid_desc');
end;
function __gss_c_cred_set_default_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_set_default_oid_desc');
end;
function __gss_c_cred_get_default_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_get_default_oid_desc');
end;
function __gss_c_cred_renew_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_renew_oid_desc');
end;
function __gss_c_ctx_pfs_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ctx_pfs_x_oid_desc');
end;
function __gss_c_ma_sasl_mech_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_sasl_mech_name_oid_desc');
end;
function __gss_c_ma_mech_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_name_oid_desc');
end;
function __gss_c_ma_mech_description_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_description_oid_desc');
end;
function __gss_c_cred_password_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_password_oid_desc');
end;
function __gss_c_cred_certificate_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_certificate_oid_desc');
end;
function __gss_c_cred_secidentity_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_secidentity_oid_desc');
end;
function __gss_c_cred_heimbase_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_cred_heimbase_oid_desc');
end;
function __gss_sasl_digest_md5_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_sasl_digest_md5_mechanism_oid_desc');
end;
function __gss_netlogon_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_netlogon_mechanism_oid_desc');
end;
function __gss_appl_lkdc_supported_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_appl_lkdc_supported_oid_desc');
end;
function __gss_netlogon_set_session_key_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_netlogon_set_session_key_x_oid_desc');
end;
function __gss_netlogon_set_sign_algorithm_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_netlogon_set_sign_algorithm_x_oid_desc');
end;
function __gss_netlogon_nt_netbios_dns_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_netlogon_nt_netbios_dns_name_oid_desc');
end;
function __gss_c_inq_win2k_pac_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_inq_win2k_pac_x_oid_desc');
end;
function __gss_c_inq_sspi_session_key_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_inq_sspi_session_key_oid_desc');
end;
function __gss_krb5_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_mechanism_oid_desc');
end;
function __gss_ntlm_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_ntlm_mechanism_oid_desc');
end;
function __gss_iakerb_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_iakerb_mechanism_oid_desc');
end;
function __gss_pku2u_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_pku2u_mechanism_oid_desc');
end;
function __gss_spnego_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_spnego_mechanism_oid_desc');
end;
function __gss_scram_mechanism_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_scram_mechanism_oid_desc');
end;
function __gss_c_nt_user_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_user_name_oid_desc');
end;
function __gss_c_nt_machine_uid_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_machine_uid_name_oid_desc');
end;
function __gss_c_nt_string_uid_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_string_uid_name_oid_desc');
end;
function __gss_c_nt_hostbased_service_x_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_c_nt_hostbased_service_x_oid_desc');
end;
function __gss_c_nt_hostbased_service_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_hostbased_service_oid_desc');
end;
function __gss_c_nt_anonymous_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_anonymous_oid_desc');
end;
function __gss_c_nt_export_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_nt_export_name_oid_desc');
end;
function __gss_krb5_nt_principal_name_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_nt_principal_name_oid_desc');
end;
function __gss_krb5_nt_principal_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_krb5_nt_principal_oid_desc');
end;
function __gss_c_peer_has_updated_spnego_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS,
'__gss_c_peer_has_updated_spnego_oid_desc');
end;
function __gss_c_ma_mech_concrete_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_concrete_oid_desc');
end;
function __gss_c_ma_mech_pseudo_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_pseudo_oid_desc');
end;
function __gss_c_ma_mech_composite_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_composite_oid_desc');
end;
function __gss_c_ma_mech_nego_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_nego_oid_desc');
end;
function __gss_c_ma_mech_glue_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_mech_glue_oid_desc');
end;
function __gss_c_ma_not_mech_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_not_mech_oid_desc');
end;
function __gss_c_ma_deprecated_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_deprecated_oid_desc');
end;
function __gss_c_ma_not_dflt_mech_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_not_dflt_mech_oid_desc');
end;
function __gss_c_ma_itok_framed_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_itok_framed_oid_desc');
end;
function __gss_c_ma_auth_init_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_auth_init_oid_desc');
end;
function __gss_c_ma_auth_targ_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_auth_targ_oid_desc');
end;
function __gss_c_ma_auth_init_init_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_auth_init_init_oid_desc');
end;
function __gss_c_ma_auth_targ_init_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_auth_targ_init_oid_desc');
end;
function __gss_c_ma_auth_init_anon_oid_desc: Pointer;
begin
Result := CocoaPointerConst(libGSS, '__gss_c_ma_auth_init_anon_oid_desc');
end;