14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "OFData+ASN1DERValue.h"
#import "OFASN1Boolean.h"
#import "OFASN1IA5String.h"
#import "OFASN1Integer.h"
#import "OFASN1Null.h"
#import "OFASN1OctetString.h"
#import "OFASN1UTF8String.h"
#import "OFASN1Value.h"
|
>
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "OFData+ASN1DERValue.h"
#import "OFASN1BitString.h"
#import "OFASN1Boolean.h"
#import "OFASN1IA5String.h"
#import "OFASN1Integer.h"
#import "OFASN1Null.h"
#import "OFASN1OctetString.h"
#import "OFASN1UTF8String.h"
#import "OFASN1Value.h"
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
switch (tag) {
case OF_ASN1_TAG_NUMBER_BOOLEAN:
valueClass = [OFASN1Boolean class];
break;
case OF_ASN1_TAG_NUMBER_INTEGER:
valueClass = [OFASN1Integer class];
break;
case OF_ASN1_TAG_NUMBER_OCTET_STRING:
valueClass = [OFASN1OctetString class];
break;
case OF_ASN1_TAG_NUMBER_NULL:
valueClass = [OFASN1Null class];
break;
case OF_ASN1_TAG_NUMBER_UTF8_STRING:
|
>
>
>
|
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
switch (tag) {
case OF_ASN1_TAG_NUMBER_BOOLEAN:
valueClass = [OFASN1Boolean class];
break;
case OF_ASN1_TAG_NUMBER_INTEGER:
valueClass = [OFASN1Integer class];
break;
case OF_ASN1_TAG_NUMBER_BIT_STRING:
valueClass = [OFASN1BitString class];
break;
case OF_ASN1_TAG_NUMBER_OCTET_STRING:
valueClass = [OFASN1OctetString class];
break;
case OF_ASN1_TAG_NUMBER_NULL:
valueClass = [OFASN1Null class];
break;
case OF_ASN1_TAG_NUMBER_UTF8_STRING:
|