17 #import "OFASN1DERRepresentation.h"
20 OF_ASSUME_NONNULL_BEGIN
27 OF_SUBCLASSING_RESTRICTED
31 size_t _bitStringLength;
37 @property (readonly, nonatomic)
OFData *bitStringValue;
42 @property (readonly, nonatomic)
size_t bitStringLength;
52 + (instancetype)bitStringWithBitStringValue: (
OFData *)bitStringValue
53 bitStringLength: (
size_t)bitStringLength;
55 - (instancetype)init OF_UNAVAILABLE;
65 - (instancetype)initWithBitStringValue: (
OFData *)bitStringValue
66 bitStringLength: (
size_t)bitStringLength
67 OF_DESIGNATED_INITIALIZER;
81 constructed: (
bool)constructed
82 DEREncodedContents: (
OFData *)DEREncodedContents;
of_asn1_tag_class_t
ASN.1 tag class.
Definition: OFASN1Value.h:27
of_asn1_tag_number_t
ASN.1 tag number.
Definition: OFASN1Value.h:41
An ASN.1 BitString.
Definition: OFASN1BitString.h:30
A class for storing arbitrary data in an array.
Definition: OFData.h:40
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
A protocol implemented by classes that support encoding to ASN.1 DER representation.
Definition: OFASN1DERRepresentation.h:29