PTObjectIdentifier

@interface PTObjectIdentifier : NSObject

This class represents an object identifier (OID), as defined by ITU and used in X.509.

  • Constructs an ObjectIdentifier from an enum.

    Note

    Not all possible OID values are available as enum values.

    Declaration

    Objective-C

    - (instancetype)initWithIn_oid_enum:(PTPredefined)in_oid_enum;

    Swift

    init!(in_oid_enum: PTPredefined)

    Parameters

    in_oid_enum

    the enumerated value to use

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithIn_digest_algorithm_type: (PTDigestAlgorithmType)in_digest_algorithm_type;

    Swift

    init!(in_digest_algorithm_type: PTDigestAlgorithmType)
  • Retrieves the value of the object identifier.

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)GetRawValue;

    Swift

    func getRawValue() -> [NSNumber]!

    Return Value

    the value of the object identifier, as a container of integer components.