Class DCAppAttestService

  • All Implemented Interfaces:
    NSObject

    public class DCAppAttestService
    extends NSObject
    • Constructor Detail

      • DCAppAttestService

        protected DCAppAttestService​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attestKeyClientDataHashCompletionHandler

        public void attestKeyClientDataHashCompletionHandler​(java.lang.String keyId,
                                                             NSData clientDataHash,
                                                             DCAppAttestService.Block_attestKeyClientDataHashCompletionHandler completionHandler)
        Attest the key by keyId. The same key may be attested more than once, provided that the key has not been used for generating assertions.
        Parameters:
        keyId - The key identifier to be attested
        clientDataHash - An arbitrary byte (up to 32 bytes) to be supplied by caller. It will be used to compute a nonce to be embedded into the certificate that certifies the key.
        completionHandler - The completion callback, returning the attestationObject upon success, or an error
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • generateAssertionClientDataHashCompletionHandler

        public void generateAssertionClientDataHashCompletionHandler​(java.lang.String keyId,
                                                                     NSData clientDataHash,
                                                                     DCAppAttestService.Block_generateAssertionClientDataHashCompletionHandler completionHandler)
        Attest the key by keyId. The same key may be attested more than once, provided that the key has not been used for generating assertions.
        Parameters:
        keyId - The key identifier to the key to generate assertions with
        clientDataHash - An arbitrary byte (up to 32 bytes) to be supplied by caller. It will be used to compute a nonce to be embedded into the certificate that certifies the key.
        completionHandler - The completion callback, returning the assertionObject upon success, or an error
      • generateKeyWithCompletionHandler

        public void generateKeyWithCompletionHandler​(DCAppAttestService.Block_generateKeyWithCompletionHandler completionHandler)
        Generate a new unattested key. This call generates a new key every time. the key identifier keyId is returned.
        Parameters:
        completionHandler - The key identifier (KeyId) for the newly generated unattested key upon success, or an error
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • isSupported

        public boolean isSupported()
        Check if this API is supported on the current device for this application instance
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • sharedService

        public static DCAppAttestService sharedService()
        The shared service instance
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()