69
70
71
72
73
74
75
76
77
78
|
}
- (OFData *)messagePackRepresentation
{
uint8_t type = 0xC0;
return [OFData dataWithItems: &type count: 1];
}
OF_SINGLETON_METHODS
@end
|
>
>
>
>
>
>
|
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
}
- (OFData *)messagePackRepresentation
{
uint8_t type = 0xC0;
return [OFData dataWithItems: &type count: 1];
}
- (OFData *)ASN1DERRepresentation
{
const unsigned char bytes[] = { OFASN1TagNumberNull, 0 };
return [OFData dataWithItems: bytes count: sizeof(bytes)];
}
OF_SINGLETON_METHODS
@end
|