/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMinProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMinProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
public static /*<name>*/SSLProtocol/*</name>*/ valueOf(long n) { for (/*<name>*/SSLProtocol/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLProtocol/*</name>*/.class.getName()); } }
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getNegotiatedProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getNegotiatedProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
public static /*<name>*/SSLProtocol/*</name>*/ valueOf(long n) { for (/*<name>*/SSLProtocol/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLProtocol/*</name>*/.class.getName()); } }
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMaxProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMaxProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
public static /*<name>*/SSLProtocol/*</name>*/ valueOf(long n) { for (/*<name>*/SSLProtocol/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLProtocol/*</name>*/.class.getName()); } }
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMinProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMinProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getNegotiatedProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getNegotiatedProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getNegotiatedProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getNegotiatedProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMinProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMinProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMaxProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMaxProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLProtocol getMaxProtocolVersion() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getMaxProtocolVersion0(ptr); OSStatusException.throwIfNecessary(status); return SSLProtocol.valueOf(ptr.get()); } /**