PTX501AttributeTypeAndValue

@interface PTX501AttributeTypeAndValue : NSObject

This class represents an AttributeTypeAndValue as mentioned in RFC 5280 in the context of DistinguishedNames and as defined in ITU X.501.

  • Retrieves the OID (i.e. one of the object identifiers from the X.500 attribute types) in the form of integer components in a container.

    Declaration

    Objective-C

    - (PTObjectIdentifier *)GetAttributeTypeOID;

    Swift

    func getAttributeTypeOID() -> PTObjectIdentifier!

    Return Value

    an ObjectIdentifier object.

  • Retrieves the value associated with the contained OID (object identifier) as a string, if the value is defined by the OID to be of a string type.

    Declaration

    Objective-C

    - (NSString *)GetStringValue;

    Swift

    func getStringValue() -> String!

    Return Value

    a string containing the string value.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()