Adding documentation for AFSSLPinningModeNone

This commit is contained in:
Mattt Thompson 2013-03-24 02:09:39 -04:00
parent 45c05caaa9
commit e8d55c8896

View file

@ -320,10 +320,14 @@ NSCoding, NSCopying>
The following constants are provided by `AFURLConnectionOperation` as possible SSL Pinning options. The following constants are provided by `AFURLConnectionOperation` as possible SSL Pinning options.
enum { enum {
AFSSLPinningModeNone,
AFSSLPinningModePublicKey, AFSSLPinningModePublicKey,
AFSSLPinningModeCertificate, AFSSLPinningModeCertificate,
} }
`AFSSLPinningModeNone`
Do not pin SSL connections
`AFSSLPinningModePublicKey` `AFSSLPinningModePublicKey`
Pin SSL connections to certificate public key (SPKI). Pin SSL connections to certificate public key (SPKI).