summaryrefslogtreecommitdiffstats
path: root/doc/core.c.texi
blob: 6f7b4705a05d53d369626f89542a0344f452ce25 (plain)
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
@c Automatically generated, do not edit.

@c snarfed from ../guile/src/core.c:3498
@deffn {Scheme Procedure} set-log-level! level
Enable GnuTLS logging up to @var{level} (an integer).
@end deffn

@c snarfed from ../guile/src/core.c:3478
@deffn {Scheme Procedure} set-log-procedure! proc
Use @var{proc} (a two-argument procedure) as the global GnuTLS log procedure.
@end deffn

@c snarfed from ../guile/src/core.c:3438
@deffn {Scheme Procedure} %set-certificate-credentials-openpgp-keys! cred pub sec
Use certificate @var{pub} and secret key @var{sec} in certificate credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:3400
@deffn {Scheme Procedure} %openpgp-keyring-contains-key-id? keyring id
Return @code{#f} if key ID @var{id} is in @var{keyring}, @code{#f} otherwise.
@end deffn

@c snarfed from ../guile/src/core.c:3355
@deffn {Scheme Procedure} import-openpgp-keyring data format
Import @var{data} (a u8vector) according to @var{format} and return the imported keyring.
@end deffn

@c snarfed from ../guile/src/core.c:3330
@deffn {Scheme Procedure} %openpgp-certificate-usage key
Return a list of values denoting the key usage of @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3311
@deffn {Scheme Procedure} %openpgp-certificate-version key
Return the version of the OpenPGP message format (RFC2440) honored by @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3290
@deffn {Scheme Procedure} %openpgp-certificate-algorithm key
Return two values: the certificate algorithm used by @var{key} and the number of bits used.
@end deffn

@c snarfed from ../guile/src/core.c:3258
@deffn {Scheme Procedure} %openpgp-certificate-names key
Return the list of names for @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3233
@deffn {Scheme Procedure} %openpgp-certificate-name key index
Return the @var{index}th name of @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3174
@deffn {Scheme Procedure} %openpgp-certificate-fingerprint key
Return a new u8vector denoting the fingerprint of @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3143
@deffn {Scheme Procedure} %openpgp-certificate-fingerprint! key fpr
Store in @var{fpr} (a u8vector) the fingerprint of @var{key}.  Return the number of bytes stored in @var{fpr}.
@end deffn

@c snarfed from ../guile/src/core.c:3109
@deffn {Scheme Procedure} %openpgp-certificate-id! key id
Store the ID (an 8 byte sequence) of certificate @var{key} in @var{id} (a u8vector).
@end deffn

@c snarfed from ../guile/src/core.c:3083
@deffn {Scheme Procedure} %openpgp-certificate-id key
Return the ID (an 8-element u8vector) of certificate @var{key}.
@end deffn

@c snarfed from ../guile/src/core.c:3027
@deffn {Scheme Procedure} %import-openpgp-private-key data format [pass]
Return a new OpenPGP private key object resulting from the import of @var{data} (a uniform array) according to @var{format}.  Optionally, a passphrase may be provided.
@end deffn

@c snarfed from ../guile/src/core.c:2983
@deffn {Scheme Procedure} %import-openpgp-certificate data format
Return a new OpenPGP certificate object resulting from the import of @var{data} (a uniform array) according to @var{format}.
@end deffn

@c snarfed from ../guile/src/core.c:2942
@deffn {Scheme Procedure} x509-certificate-fingerprint cert algo
Return the fingerprint (a u8vector) of the certificate @var{cert}, computed using the digest algorithm @var{algo}.
@end deffn

@c snarfed from ../guile/src/core.c:2881
@deffn {Scheme Procedure} x509-certificate-subject-alternative-name cert index
Return two values: the alternative name type for @var{cert} (i.e., one of the @code{x509-subject-alternative-name/} values) and the actual subject alternative name (a string) at @var{index}. Both values are @code{#f} if no alternative name is available at @var{index}.
@end deffn

@c snarfed from ../guile/src/core.c:2850
@deffn {Scheme Procedure} x509-certificate-subject-key-id cert
Return the subject key ID (a u8vector) for @var{cert}.
@end deffn

@c snarfed from ../guile/src/core.c:2818
@deffn {Scheme Procedure} x509-certificate-authority-key-id cert
Return the key ID (a u8vector) of the X.509 certificate authority of @var{cert}.
@end deffn

@c snarfed from ../guile/src/core.c:2786
@deffn {Scheme Procedure} x509-certificate-key-id cert
Return a statistically unique ID (a u8vector) for @var{cert} that depends on its public key parameters.  This is normally a 20-byte SHA-1 hash.
@end deffn

@c snarfed from ../guile/src/core.c:2768
@deffn {Scheme Procedure} x509-certificate-version cert
Return the version of @var{cert}.
@end deffn

@c snarfed from ../guile/src/core.c:2736
@deffn {Scheme Procedure} x509-certificate-key-usage cert
Return the key usage of @var{cert} (i.e., a list of @code{key-usage/} values), or the empty list if @var{cert} does not contain such information.
@end deffn

@c snarfed from ../guile/src/core.c:2713
@deffn {Scheme Procedure} x509-certificate-public-key-algorithm cert
Return two values: the public key algorithm (i.e., one of the @code{pk-algorithm/} values) of @var{cert} and the number of bits used.
@end deffn

@c snarfed from ../guile/src/core.c:2691
@deffn {Scheme Procedure} x509-certificate-signature-algorithm cert
Return the signature algorithm used by @var{cert} (i.e., one of the @code{sign-algorithm/} values).
@end deffn

@c snarfed from ../guile/src/core.c:2657
@deffn {Scheme Procedure} x509-certificate-matches-hostname? cert hostname
Return true if @var{cert} matches @var{hostname}, a string denoting a DNS host name.  This is the basic implementation of @uref{https://tools.ietf.org/html/rfc2818, RFC 2818} (aka. HTTPS).
@end deffn

@c snarfed from ../guile/src/core.c:2640
@deffn {Scheme Procedure} x509-certificate-issuer-dn-oid cert index
Return the OID (a string) at @var{index} from @var{cert}'s issuer DN.  Return @code{#f} if no OID is available at @var{index}.
@end deffn

@c snarfed from ../guile/src/core.c:2628
@deffn {Scheme Procedure} x509-certificate-dn-oid cert index
Return OID (a string) at @var{index} from @var{cert}.  Return @code{#f} if no OID is available at @var{index}.
@end deffn

@c snarfed from ../guile/src/core.c:2565
@deffn {Scheme Procedure} x509-certificate-issuer-dn cert
Return the distinguished name (DN) of X.509 certificate @var{cert}.
@end deffn

@c snarfed from ../guile/src/core.c:2552
@deffn {Scheme Procedure} x509-certificate-dn cert
Return the distinguished name (DN) of X.509 certificate @var{cert}.  The form of the DN is as described in @uref{https://tools.ietf.org/html/rfc2253, RFC 2253}.
@end deffn

@c snarfed from ../guile/src/core.c:2458
@deffn {Scheme Procedure} pkcs8-import-x509-private-key data format [pass [encrypted]]
Return a new X.509 private key object resulting from the import of @var{data} (a uniform array) according to @var{format}.  Optionally, if @var{pass} is not @code{#f}, it should be a string denoting a passphrase.  @var{encrypted} tells whether the private key is encrypted (@code{#t} by default).
@end deffn

@c snarfed from ../guile/src/core.c:2413
@deffn {Scheme Procedure} import-x509-private-key data format
Return a new X.509 private key object resulting from the import of @var{data} (a uniform array) according to @var{format}.
@end deffn

@c snarfed from ../guile/src/core.c:2368
@deffn {Scheme Procedure} import-x509-certificate data format
Return a new X.509 certificate object resulting from the import of @var{data} (a uniform array) according to @var{format}.
@end deffn

@c snarfed from ../guile/src/core.c:2340
@deffn {Scheme Procedure} server-session-psk-username session
Return the username associated with PSK server session @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:2296
@deffn {Scheme Procedure} set-psk-client-credentials! cred username key key-format
Set the client credentials for @var{cred}, a PSK client credentials object.
@end deffn

@c snarfed from ../guile/src/core.c:2279
@deffn {Scheme Procedure} make-psk-client-credentials 
Return a new PSK client credentials object.
@end deffn

@c snarfed from ../guile/src/core.c:2248
@deffn {Scheme Procedure} set-psk-server-credentials-file! cred file
Use @var{file} as the password file for PSK server credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:2231
@deffn {Scheme Procedure} make-psk-server-credentials 
Return new PSK server credentials.
@end deffn

@c snarfed from ../guile/src/core.c:1927
@deffn {Scheme Procedure} peer-certificate-status session
Verify the peer certificate for @var{session} and return a list of @code{certificate-status} values (such as @code{certificate-status/revoked}), or the empty list if the certificate is valid.
@end deffn

@c snarfed from ../guile/src/core.c:1900
@deffn {Scheme Procedure} set-certificate-credentials-verify-flags! cred [flags...]
Set the certificate verification flags to @var{flags}, a series of @code{certificate-verify} values.
@end deffn

@c snarfed from ../guile/src/core.c:1876
@deffn {Scheme Procedure} set-certificate-credentials-verify-limits! cred max-bits max-depth
Set the verification limits of @code{peer-certificate-status} for certificate credentials @var{cred} to @var{max_bits} bits for an acceptable certificate and @var{max_depth} as the maximum depth of a certificate chain.
@end deffn

@c snarfed from ../guile/src/core.c:1835
@deffn {Scheme Procedure} set-certificate-credentials-x509-keys! cred certs privkey
Have certificate credentials @var{cred} use the X.509 certificates listed in @var{certs} and X.509 private key @var{privkey}.
@end deffn

@c snarfed from ../guile/src/core.c:1788
@deffn {Scheme Procedure} set-certificate-credentials-x509-key-data! cred cert key format
Use X.509 certificate @var{cert} and private key @var{key}, both uniform arrays containing the X.509 certificate and key in format @var{format}, for certificate credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:1769
@deffn {Scheme Procedure} set-certificate-credentials-x509-crl-data! cred data format
Use @var{data} (a uniform array) as the X.509 CRL (certificate revocation list) database for @var{cred}.  On success, return the number of CRLs processed.
@end deffn

@c snarfed from ../guile/src/core.c:1750
@deffn {Scheme Procedure} set-certificate-credentials-x509-trust-data! cred data format
Use @var{data} (a uniform array) as the X.509 trust database for @var{cred}.  On success, return the number of certificates processed.
@end deffn

@c snarfed from ../guile/src/core.c:1731
@deffn {Scheme Procedure} set-certificate-credentials-x509-crl-file! cred file format
Use @var{file} as the X.509 CRL (certificate revocation list) file for certificate credentials @var{cred}.  On success, return the number of CRLs processed.
@end deffn

@c snarfed from ../guile/src/core.c:1712
@deffn {Scheme Procedure} set-certificate-credentials-x509-trust-file! cred file format
Use @var{file} as the X.509 trust file for certificate credentials @var{cred}.  On success, return the number of certificates processed.
@end deffn

@c snarfed from ../guile/src/core.c:1671
@deffn {Scheme Procedure} set-certificate-credentials-x509-key-files! cred cert-file key-file format
Use @var{file} as the password file for PSK server credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:1649
@deffn {Scheme Procedure} set-certificate-credentials-dh-parameters! cred dh-params
Use Diffie-Hellman parameters @var{dh_params} for certificate credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:1629
@deffn {Scheme Procedure} make-certificate-credentials 
Return new certificate credentials (i.e., for use with either X.509 or OpenPGP certificates.
@end deffn

@c snarfed from ../guile/src/core.c:1526
@deffn {Scheme Procedure} set-anonymous-server-dh-parameters! cred dh-params
Set the Diffie-Hellman parameters of anonymous server credentials @var{cred}.
@end deffn

@c snarfed from ../guile/src/core.c:1508
@deffn {Scheme Procedure} make-anonymous-client-credentials 
Return anonymous client credentials.
@end deffn

@c snarfed from ../guile/src/core.c:1490
@deffn {Scheme Procedure} make-anonymous-server-credentials 
Return anonymous server credentials.
@end deffn

@c snarfed from ../guile/src/core.c:1468
@deffn {Scheme Procedure} set-session-dh-prime-bits! session bits
Use @var{bits} DH prime bits for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:1442
@deffn {Scheme Procedure} pkcs3-export-dh-parameters dh-params format
Export Diffie-Hellman parameters @var{dh_params} in PKCS3 format according for @var{format} (an @code{x509-certificate-format} value).  Return a @code{u8vector} containing the result.
@end deffn

@c snarfed from ../guile/src/core.c:1397
@deffn {Scheme Procedure} pkcs3-import-dh-parameters array format
Import Diffie-Hellman parameters in PKCS3 format (further specified by @var{format}, an @code{x509-certificate-format} value) from @var{array} (a homogeneous array) and return a new @code{dh-params} object.
@end deffn

@c snarfed from ../guile/src/core.c:1371
@deffn {Scheme Procedure} make-dh-parameters bits
Return new Diffie-Hellman parameters.
@end deffn

@c snarfed from ../guile/src/core.c:1287
@deffn {Scheme Procedure} set-session-transport-port! session port
Use @var{port} as the input/output port for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:1237
@deffn {Scheme Procedure} set-session-transport-fd! session fd
Use file descriptor @var{fd} as the underlying transport for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:1188
@deffn {Scheme Procedure} set-session-record-port-close! port close
Set @var{close}, a one-argument procedure, as the procedure called when @var{port} is closed.  @var{close} will be passed @var{port}.  It may be called when @code{close-port} is called on @var{port}, or when @var{port} is garbage-collected.  It is a useful way to free resources associated with @var{port} such as the session's transport file descriptor or port.
@end deffn

@c snarfed from ../guile/src/core.c:1155
@deffn {Scheme Procedure} session-record-port session [close]
Return a read-write port that may be used to communicate over @var{session}.  All invocations of @code{session-port} on a given session return the same object (in the sense of @code{eq?}).

If @var{close} is provided, it must be a one-argument procedure, and it will be called when the returned port is closed.  This is equivalent to setting it by calling @code{set-session-record-port-close!}.
@end deffn

@c snarfed from ../guile/src/core.c:791
@deffn {Scheme Procedure} record-receive! session array
Receive data from @var{session} into @var{array}, a uniform homogeneous array.  Return the number of bytes actually received.
@end deffn

@c snarfed from ../guile/src/core.c:759
@deffn {Scheme Procedure} record-send session array
Send the record constituted by @var{array} through @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:724
@deffn {Scheme Procedure} set-session-server-name! session type name
For a client, this procedure provides a way to inform the server that it is known under @var{name}, @i{via} the @code{SERVER NAME} TLS extension.  @var{type} must be a @code{server-name-type} value, @var{server-name-type/dns} for DNS names.
@end deffn

@c snarfed from ../guile/src/core.c:643
@deffn {Scheme Procedure} set-session-credentials! session cred
Use @var{cred} as @var{session}'s credentials.
@end deffn

@c snarfed from ../guile/src/core.c:621
@deffn {Scheme Procedure} cipher-suite->string kx cipher mac
Return the name of the given cipher suite.
@end deffn

@c snarfed from ../guile/src/core.c:575
@deffn {Scheme Procedure} set-session-priorities! session priorities
Have @var{session} use the given @var{priorities} for the ciphers, key exchange methods, MACs and compression methods.  @var{priorities} must be a string (@pxref{Priority Strings,,, gnutls, GnuTLS@comma{} Transport Layer Security Library for the GNU system}).  When @var{priorities} cannot be parsed, an @code{error/invalid-request} error is raised, with an extra argument indication the position of the error.

@end deffn

@c snarfed from ../guile/src/core.c:560
@deffn {Scheme Procedure} set-session-default-priority! session
Have @var{session} use the default priorities.
@end deffn

@c snarfed from ../guile/src/core.c:534
@deffn {Scheme Procedure} set-server-session-certificate-request! session request
Tell how @var{session}, a server-side session, should deal with certificate requests.  @var{request} should be either @code{certificate-request/request} or @code{certificate-request/require}.
@end deffn

@c snarfed from ../guile/src/core.c:494
@deffn {Scheme Procedure} session-our-certificate-chain session
Return our certificate chain for @var{session} (as sent to the peer) in raw format (a u8vector).  In the case of OpenPGP there is exactly one certificate.  Return the empty list if no certificate was used.
@end deffn

@c snarfed from ../guile/src/core.c:445
@deffn {Scheme Procedure} session-peer-certificate-chain session
Return the a list of certificates in raw format (u8vectors) where the first one is the peer's certificate.  In the case of OpenPGP, there is always exactly one certificate.  In the case of X.509, subsequent certificates indicate form a certificate chain.  Return the empty list if no certificate was sent.
@end deffn

@c snarfed from ../guile/src/core.c:425
@deffn {Scheme Procedure} session-client-authentication-type session
Return the client authentication type (a @code{credential-type} value) used in @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:405
@deffn {Scheme Procedure} session-server-authentication-type session
Return the server authentication type (a @code{credential-type} value) used in @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:385
@deffn {Scheme Procedure} session-authentication-type session
Return the authentication type (a @code{credential-type} value) used by @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:369
@deffn {Scheme Procedure} session-protocol session
Return the protocol used by @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:352
@deffn {Scheme Procedure} session-certificate-type session
Return @var{session}'s certificate type.
@end deffn

@c snarfed from ../guile/src/core.c:335
@deffn {Scheme Procedure} session-compression-method session
Return @var{session}'s compression method.
@end deffn

@c snarfed from ../guile/src/core.c:319
@deffn {Scheme Procedure} session-mac session
Return @var{session}'s MAC.
@end deffn

@c snarfed from ../guile/src/core.c:303
@deffn {Scheme Procedure} session-kx session
Return @var{session}'s kx.
@end deffn

@c snarfed from ../guile/src/core.c:287
@deffn {Scheme Procedure} session-cipher session
Return @var{session}'s cipher.
@end deffn

@c snarfed from ../guile/src/core.c:259
@deffn {Scheme Procedure} alert-send session level alert
Send @var{alert} via @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:243
@deffn {Scheme Procedure} alert-get session
Get an aleter from @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:225
@deffn {Scheme Procedure} reauthenticate session
Perform a re-authentication step for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:208
@deffn {Scheme Procedure} rehandshake session
Perform a re-handshaking for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:190
@deffn {Scheme Procedure} handshake session
Perform a handshake for @var{session}.
@end deffn

@c snarfed from ../guile/src/core.c:169
@deffn {Scheme Procedure} bye session how
Close @var{session} according to @var{how}.
@end deffn

@c snarfed from ../guile/src/core.c:137
@deffn {Scheme Procedure} make-session end [flags...]
Return a new session for connection end @var{end}, either @code{connection-end/server} or @code{connection-end/client}.  The optional @var{flags} arguments are @code{connection-flag} values such as @code{connection-flag/auto-reauth}.
@end deffn

@c snarfed from ../guile/src/core.c:126
@deffn {Scheme Procedure} gnutls-version 
Return a string denoting the version number of the underlying GnuTLS library, e.g., @code{"1.7.2"}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:217
@deffn {Scheme Procedure} openpgp-keyring? obj
Return true if @var{obj} is of type @code{openpgp-keyring}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:201
@deffn {Scheme Procedure} openpgp-private-key? obj
Return true if @var{obj} is of type @code{openpgp-private-key}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:185
@deffn {Scheme Procedure} openpgp-certificate? obj
Return true if @var{obj} is of type @code{openpgp-certificate}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:169
@deffn {Scheme Procedure} x509-private-key? obj
Return true if @var{obj} is of type @code{x509-private-key}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:153
@deffn {Scheme Procedure} x509-certificate? obj
Return true if @var{obj} is of type @code{x509-certificate}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:137
@deffn {Scheme Procedure} psk-client-credentials? obj
Return true if @var{obj} is of type @code{psk-client-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:121
@deffn {Scheme Procedure} psk-server-credentials? obj
Return true if @var{obj} is of type @code{psk-server-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:105
@deffn {Scheme Procedure} srp-client-credentials? obj
Return true if @var{obj} is of type @code{srp-client-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:89
@deffn {Scheme Procedure} srp-server-credentials? obj
Return true if @var{obj} is of type @code{srp-server-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:73
@deffn {Scheme Procedure} certificate-credentials? obj
Return true if @var{obj} is of type @code{certificate-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:57
@deffn {Scheme Procedure} dh-parameters? obj
Return true if @var{obj} is of type @code{dh-parameters}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:41
@deffn {Scheme Procedure} anonymous-server-credentials? obj
Return true if @var{obj} is of type @code{anonymous-server-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:25
@deffn {Scheme Procedure} anonymous-client-credentials? obj
Return true if @var{obj} is of type @code{anonymous-client-credentials}.
@end deffn

@c snarfed from ../guile/src/smob-types.i.c:9
@deffn {Scheme Procedure} session? obj
Return true if @var{obj} is of type @code{session}.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:1024
@deffn {Scheme Procedure} openpgp-certificate-format->string enumval
Return a string describing @var{enumval}, a @code{openpgp-certificate-format} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:983
@deffn {Scheme Procedure} error->string enumval
Return a string describing @var{enumval}, a @code{error} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:962
@deffn {Scheme Procedure} certificate-verify->string enumval
Return a string describing @var{enumval}, a @code{certificate-verify} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:917
@deffn {Scheme Procedure} key-usage->string enumval
Return a string describing @var{enumval}, a @code{key-usage} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:869
@deffn {Scheme Procedure} psk-key-format->string enumval
Return a string describing @var{enumval}, a @code{psk-key-format} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:828
@deffn {Scheme Procedure} server-name-type->string enumval
Return a string describing @var{enumval}, a @code{server-name-type} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:788
@deffn {Scheme Procedure} sign-algorithm->string enumval
Return a string describing @var{enumval}, a @code{sign-algorithm} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:767
@deffn {Scheme Procedure} pk-algorithm->string enumval
Return a string describing @var{enumval}, a @code{pk-algorithm} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:746
@deffn {Scheme Procedure} x509-subject-alternative-name->string enumval
Return a string describing @var{enumval}, a @code{x509-subject-alternative-name} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:703
@deffn {Scheme Procedure} x509-certificate-format->string enumval
Return a string describing @var{enumval}, a @code{x509-certificate-format} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:662
@deffn {Scheme Procedure} certificate-type->string enumval
Return a string describing @var{enumval}, a @code{certificate-type} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:641
@deffn {Scheme Procedure} protocol->string enumval
Return a string describing @var{enumval}, a @code{protocol} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:598
@deffn {Scheme Procedure} close-request->string enumval
Return a string describing @var{enumval}, a @code{close-request} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:557
@deffn {Scheme Procedure} certificate-request->string enumval
Return a string describing @var{enumval}, a @code{certificate-request} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:515
@deffn {Scheme Procedure} certificate-status->string enumval
Return a string describing @var{enumval}, a @code{certificate-status} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:459
@deffn {Scheme Procedure} handshake-description->string enumval
Return a string describing @var{enumval}, a @code{handshake-description} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:410
@deffn {Scheme Procedure} alert-description->string enumval
Return a string describing @var{enumval}, a @code{alert-description} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:343
@deffn {Scheme Procedure} alert-level->string enumval
Return a string describing @var{enumval}, a @code{alert-level} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:302
@deffn {Scheme Procedure} connection-flag->string enumval
Return a string describing @var{enumval}, a @code{connection-flag} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:244
@deffn {Scheme Procedure} connection-end->string enumval
Return a string describing @var{enumval}, a @code{connection-end} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:203
@deffn {Scheme Procedure} compression-method->string enumval
Return a string describing @var{enumval}, a @code{compression-method} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:182
@deffn {Scheme Procedure} digest->string enumval
Return a string describing @var{enumval}, a @code{digest} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:137
@deffn {Scheme Procedure} mac->string enumval
Return a string describing @var{enumval}, a @code{mac} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:116
@deffn {Scheme Procedure} credentials->string enumval
Return a string describing @var{enumval}, a @code{credentials} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:72
@deffn {Scheme Procedure} params->string enumval
Return a string describing @var{enumval}, a @code{params} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:31
@deffn {Scheme Procedure} kx->string enumval
Return a string describing @var{enumval}, a @code{kx} value.
@end deffn

@c snarfed from ../guile/src/enum-map.i.c:10
@deffn {Scheme Procedure} cipher->string enumval
Return a string describing @var{enumval}, a @code{cipher} value.
@end deffn