Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
com.vipera.de.foundation.connector / src / ios / DEMotifConnector.framework / Headers / DECertificatePinningConfiguration.h
Size: Mime:
//
//  DECertificatePinningConfiguration.h
//  DynamicEngine
//
//  Created by Mobile3D on 19/02/16.
//  Copyright © 2016 Vipera. All rights reserved.
//

#ifndef DECertificatePinningConfiguration_h
#define DECertificatePinningConfiguration_h

#import <Foundation/Foundation.h>

@class NSString;

@protocol DECertificatePinningConfiguration <NSObject>

/**
 *  When pinning is enabled, if this method returns YES, when making a server request the certificate data will be logged.
 *  This is useful for the first configuration off the pinning system. The logged data can be used to pupulate the other fields of the configuration.
 *
 *
 *  @return YES to log the certificate data.
 */
- (BOOL) logCertificateData;

/**
 *  The subject info that the certificate must contain to be considered valid.
 *
 *  @return A string describing the subject or nil to skip this check.
 */
- (NSString *) subject;

/**
 *  The issuer info that the certificate must contain to be considered valid.
 *
 *  @return A string describing the subject or nil to skip this check.
 */
- (NSString *) issuer;

/**
 *  The public key info that the certificate must contain to be considered valid.
 *
 *  @return A string describing the public key, nil to skip this check.
 */
- (NSString *) publicKey;

/**
 *  The serial number info that the certificate must contain to be considered valid.
 *
 *  @return A string describing the serial number or nil to skip this check.
 */
- (NSString *) serialNumber;

@end


#endif /* DECertificatePinningConfiguration_h */