Package org.robovm.apple.security
Class SecPolicy
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.security.SecPolicy
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class SecPolicy extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecPolicy.SecPolicyPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SecPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecPolicy
create(SecPolicyIdentifier policyIdentifier, SecPolicyProperties properties)
static SecPolicy
createBasicX509()
static SecPolicy
createRevocation(SecRevocationPolicyFlags revocationFlags)
static SecPolicy
createSSL(boolean server, java.lang.String hostname)
static long
getClassTypeID()
SecPolicyProperties
getProperties()
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
getProperties
public SecPolicyProperties getProperties()
- Since:
- Available in iOS 7.0 and later.
-
createBasicX509
public static SecPolicy createBasicX509()
- Since:
- Available in iOS 2.0 and later.
-
createSSL
public static SecPolicy createSSL(boolean server, java.lang.String hostname)
- Since:
- Available in iOS 2.0 and later.
-
createRevocation
public static SecPolicy createRevocation(SecRevocationPolicyFlags revocationFlags)
- Since:
- Available in iOS 7.0 and later.
-
create
public static SecPolicy create(SecPolicyIdentifier policyIdentifier, SecPolicyProperties properties)
- Since:
- Available in iOS 7.0 and later.
-
-