Package org.robovm.apple.foundation
Class NSURLCredential
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLCredential
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSURLCredential extends NSObject implements NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSURLCredential.NSURLCredentialPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSURLCredential()
NSURLCredential(java.lang.String user, java.lang.String password, NSURLCredentialPersistence persistence)
NSURLCredential(NSCoder decoder)
protected
NSURLCredential(NSObject.Handle h, long handle)
protected
NSURLCredential(NSObject.SkipInit skipInit)
NSURLCredential(SecIdentity identity, java.util.List<SecCertificate> certArray, NSURLCredentialPersistence persistence)
NSURLCredential(SecTrust trust)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
java.util.List<SecCertificate>
getCertificates()
SecIdentity
getIdentity()
java.lang.String
getPassword()
NSURLCredentialPersistence
getPersistence()
java.lang.String
getUser()
boolean
hasPassword()
protected long
init(java.lang.String user, java.lang.String password, NSURLCredentialPersistence persistence)
protected long
init(NSCoder decoder)
protected long
init(SecIdentity identity, java.util.List<SecCertificate> certArray, NSURLCredentialPersistence persistence)
protected long
init(SecTrust trust)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSURLCredential
public NSURLCredential()
-
NSURLCredential
protected NSURLCredential(NSObject.Handle h, long handle)
-
NSURLCredential
protected NSURLCredential(NSObject.SkipInit skipInit)
-
NSURLCredential
public NSURLCredential(java.lang.String user, java.lang.String password, NSURLCredentialPersistence persistence)
-
NSURLCredential
public NSURLCredential(SecIdentity identity, java.util.List<SecCertificate> certArray, NSURLCredentialPersistence persistence)
- Since:
- Available in iOS 3.0 and later.
-
NSURLCredential
public NSURLCredential(SecTrust trust)
- Since:
- Available in iOS 3.0 and later.
-
NSURLCredential
public NSURLCredential(NSCoder decoder)
-
-
Method Detail
-
getPersistence
public NSURLCredentialPersistence getPersistence()
-
getUser
public java.lang.String getUser()
-
getPassword
public java.lang.String getPassword()
-
hasPassword
public boolean hasPassword()
-
getIdentity
public SecIdentity getIdentity()
-
getCertificates
public java.util.List<SecCertificate> getCertificates()
- Since:
- Available in iOS 3.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(java.lang.String user, java.lang.String password, NSURLCredentialPersistence persistence)
-
init
protected long init(SecIdentity identity, java.util.List<SecCertificate> certArray, NSURLCredentialPersistence persistence)
- Since:
- Available in iOS 3.0 and later.
-
init
protected long init(SecTrust trust)
- Since:
- Available in iOS 3.0 and later.
-
init
protected long init(NSCoder decoder)
-
-