ASConnectPrivateKeys
Objective-C
@interface ASConnectPrivateKeys
Swift
class ASConnectPrivateKeys
Provides easy access to the private key used for transfers against servers configured with the default key used by Aspera Connect
-
The paths to the key file. This property will be nil until the keys have been written to disk
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray *pathsSwift
var paths: UnsafeMutablePointer<Int32>? { get set } -
The passphrase used by the private keys (note that the same passphrase is used for all keys)
Declaration
Objective-C
@property (nonatomic, strong, nonnull, readonly) NSString *passphraseSwift
var passphrase: UnsafeMutablePointer<Int32> { get } -
Returns the shared instance of this key
Declaration
Objective-C
+ (nonnull instancetype)sharedKeys;Swift
class func shared() -> Self -
When called for the first time writes the keys used by servers configured for Aspera Connect to disk. The given file’s path will be used as a base for the keys’ paths, each will be written to that path with a unique suffix. On subsequent calls this method is a noop (the keys are only written to disk the first time it is called).
Declaration
Objective-C
- (id)writeKeysToFolder:(id)path error:(id)error;Swift
func write(toFolder path: Any!, error: Any!) -> Any!
ASConnectPrivateKeys Class Reference