From e8d55c8896150fa888257f45eb397f934697b922 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Sun, 24 Mar 2013 02:09:39 -0400 Subject: [PATCH] Adding documentation for AFSSLPinningModeNone --- AFNetworking/AFURLConnectionOperation.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AFNetworking/AFURLConnectionOperation.h b/AFNetworking/AFURLConnectionOperation.h index 1a54a5c..b3a94db 100644 --- a/AFNetworking/AFURLConnectionOperation.h +++ b/AFNetworking/AFURLConnectionOperation.h @@ -320,9 +320,13 @@ NSCoding, NSCopying> The following constants are provided by `AFURLConnectionOperation` as possible SSL Pinning options. enum { + AFSSLPinningModeNone, AFSSLPinningModePublicKey, AFSSLPinningModeCertificate, } + + `AFSSLPinningModeNone` + Do not pin SSL connections `AFSSLPinningModePublicKey` Pin SSL connections to certificate public key (SPKI).