1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
*
* https://webkeks.org/git/?p=objopenssl.git
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice is present in all copies.
*
|
>
|
1
2
3
4
5
6
7
8
9
10
|
/*
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
* Copyright (c) 2013, Jonathan Schleifer <js@webkeks.org>
*
* https://webkeks.org/git/?p=objopenssl.git
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice is present in all copies.
*
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
*/
#import <ObjFW/OFString.h>
#import <ObjFW/OFException.h>
@interface SSLInvalidCertificateException: OFException
{
OFString *reason;
}
#ifdef OF_HAVE_PROPERTIES
@property (readonly, assign) OFString *reason;
#endif
+ exceptionWithClass: (Class)class
reason: (OFString*)reason;
- initWithClass: (Class)class
reason: (OFString*)reason;
- (OFString*)reason;
@end
|
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
*/
#import <ObjFW/OFString.h>
#import <ObjFW/OFException.h>
@interface SSLInvalidCertificateException: OFException
{
OFString *_reason;
}
#ifdef OF_HAVE_PROPERTIES
@property (readonly, assign) OFString *reason;
#endif
+ exceptionWithClass: (Class)class
reason: (OFString*)reason;
- initWithClass: (Class)class
reason: (OFString*)reason;
- (OFString*)reason;
@end
|