NSString(AWS)

@interface NSString (AWS)

/// A convenience method for calculating an MD5 hash of `data`.
///
/// MD5 is not suited for cryptographically-sensitive operations. Usages of this
/// method in the AWS Mobile SDK are limited to calculating checksums for AWS S3
/// operations that require a `Content-MD5` HTTP header, and do not repesent a
/// security risk. We are exposing this method as a convenience API for
/// applications that need to calculate that value manually.
+ (NSString *)aws_base64md5FromData:(NSData *)data;

- (BOOL)aws_isBase64Data;
- (NSString *)aws_stringWithURLEncoding;
- (NSString *)aws_stringWithURLEncodingPath;
- (NSString *)aws_stringWithURLEncodingPathWithoutPriorDecoding;

- (BOOL)aws_isVirtualHostedStyleCompliant;

- (AWSRegionType)aws_regionTypeValue;

@end

Undocumented

  • A convenience method for calculating an MD5 hash of data.

    MD5 is not suited for cryptographically-sensitive operations. Usages of this method in the AWS Mobile SDK are limited to calculating checksums for AWS S3 operations that require a Content-MD5 HTTP header, and do not repesent a security risk. We are exposing this method as a convenience API for applications that need to calculate that value manually.

    Declaration

    Objective-C

    + (NSString *)aws_base64md5FromData:(NSData *)data;

    Swift

    class func aws_base64md5(from data: Data!) -> String!
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)aws_isBase64Data;

    Swift

    func aws_isBase64Data() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)aws_stringWithURLEncoding;

    Swift

    func aws_stringWithURLEncoding() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)aws_stringWithURLEncodingPath;

    Swift

    func aws_stringWithURLEncodingPath() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)aws_stringWithURLEncodingPathWithoutPriorDecoding;

    Swift

    func aws_stringWithURLEncodingPathWithoutPriorDecoding() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)aws_isVirtualHostedStyleCompliant;

    Swift

    func aws_isVirtualHostedStyleCompliant() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (AWSRegionType)aws_regionTypeValue;

    Swift

    func aws_regionTypeValue() -> AWSRegionType