BUPinningDescription Class Reference

Inherits from NSObject
Declared in BUPinningDescription.h

– initWithHostname:

A pinning description for a host

After initialization the SSL pins should be manually set

- (instancetype)initWithHostname:(NSString *)hostname

Parameters

hostname

Hostname of the server certificate

Return Value

Pinning Description without pins

Declared In

BUPinningDescription.h

– init

Do not use

- (instancetype)init

Return Value

Not Valid

Declared In

BUPinningDescription.h

  pins

The valid pins for the host

@property (nonatomic, readwrite, strong) NSArray<BUPinningSPKIData*> *pins

Declared In

BUPinningDescription.h

  hostname

The hostname of the server you are connecting to

@property (nonatomic, readwrite, strong) NSString *hostname

Declared In

BUPinningDescription.h

  subdomains

Any subdomains you also want the pin to apply to. A “*” can be used as a wildcard

@property (nonatomic, readwrite, strong) NSArray<NSString*> *subdomains

Declared In

BUPinningDescription.h

+ electricImpDefaults

The default pinning descriptions for electricimp.com

+ (NSArray<BUPinningDescription*> *)electricImpDefaults

Return Value

The default pinnings to use

Declared In

BUPinningDescription.h