Class SecTrust

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class SecTrust
    extends CFType
    • Constructor Detail

      • SecTrust

        protected SecTrust()
    • Method Detail

      • setNetworkFetchAllowed

        public void setNetworkFetchAllowed​(boolean allowFetch)
                                    throws OSStatusException
        Throws:
        OSStatusException
        Since:
        Available in iOS 7.0 and later.
      • setAnchorCertificatesOnly

        public void setAnchorCertificatesOnly​(boolean anchorCertificatesOnly)
                                       throws OSStatusException
        Throws:
        OSStatusException
        Since:
        Available in iOS 2.0 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 2.0 and later.
      • setPolicies0

        protected OSStatus setPolicies0​(CFType policies)
        Since:
        Available in iOS 6.0 and later.
      • setNetworkFetchAllowed0

        protected OSStatus setNetworkFetchAllowed0​(boolean allowFetch)
        Since:
        Available in iOS 7.0 and later.
      • isNetworkFetchAllowed0

        protected OSStatus isNetworkFetchAllowed0​(org.robovm.rt.bro.ptr.BooleanPtr allowFetch)
        Since:
        Available in iOS 7.0 and later.
      • setAnchorCertificates0

        protected OSStatus setAnchorCertificates0​(java.util.List<SecCertificate> anchorCertificates)
        Since:
        Available in iOS 2.0 and later.
      • setAnchorCertificatesOnly0

        protected OSStatus setAnchorCertificatesOnly0​(boolean anchorCertificatesOnly)
        Since:
        Available in iOS 2.0 and later.
      • getCustomAnchorCertificates0

        protected OSStatus getCustomAnchorCertificates0​(CFArray.CFArrayPtr anchors)
        Since:
        Available in iOS 7.0 and later.
      • setVerifyDate0

        protected OSStatus setVerifyDate0​(NSDate verifyDate)
        Since:
        Available in iOS 2.0 and later.
      • getVerifyTime

        public double getVerifyTime()
        Since:
        Available in iOS 2.0 and later.
      • evaluate0

        @Deprecated
        protected OSStatus evaluate0​(org.robovm.rt.bro.ptr.IntPtr result)
        Deprecated.
        Deprecated in iOS 100000.0.
        Since:
        Available in iOS 2.0 and later.
      • evaluateWithError

        public boolean evaluateWithError​(NSError error)
        Since:
        Available in iOS 12.0 and later.
      • getTrustResult0

        protected OSStatus getTrustResult0​(org.robovm.rt.bro.ptr.IntPtr result)
        Since:
        Available in iOS 7.0 and later.
      • getPublicKey

        public SecKey getPublicKey()
        Since:
        Available in iOS 2.0 and later.
      • getCertificateCount

        public long getCertificateCount()
        Since:
        Available in iOS 2.0 and later.
      • getCertificate

        public SecCertificate getCertificate​(long ix)
        Since:
        Available in iOS 2.0 and later.
      • getExceptions

        public NSData getExceptions()
        Since:
        Available in iOS 4.0 and later.
      • setExceptions

        public boolean setExceptions​(NSData exceptions)
        Since:
        Available in iOS 4.0 and later.
      • getProperties

        public SecTrustProperties getProperties()
        Since:
        Available in iOS 2.0 and later.
      • getResult

        public SecTrustResult getResult()
        Since:
        Available in iOS 7.0 and later.
      • setOCSPResponse0

        protected OSStatus setOCSPResponse0​(CFType responseData)
        Since:
        Available in iOS 7.0 and later.
      • setSignedCertificateTimestamps

        public OSStatus setSignedCertificateTimestamps​(NSArray<?> sctArray)