Class AVContentKeyResponse

  • All Implemented Interfaces:
    NSObject

    public class AVContentKeyResponse
    extends NSObject
    AVContentKeyResponse AVContentKeyResponse is used to represent the data returned from the key server when requesting a key for decrypting content.
    • Constructor Detail

      • AVContentKeyResponse

        protected AVContentKeyResponse​(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)
      • 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()
      • contentKeyResponseWithClearKeyDataInitializationVector

        public static AVContentKeyResponse contentKeyResponseWithClearKeyDataInitializationVector​(NSData keyData,
                                                                                                  NSData initializationVector)
        contentKeyResponseWithClearKeyData:initializationVector: Create an AVContentKeyResponse from the key and IV when using AVContentKeySystemClearKey as the key system The object created by this method is typically used with an AVContentKeyRequest created by an AVContentKeySession using keySystem AVContentKeySystemClearKey. It is passed to AVContentKeyRequest -processContentKeyResponse: in order to supply the decryptor with key data.
        Parameters:
        keyData - The key used for decrypting content.
        initializationVector - The initialization vector used for decrypting content, or nil if initialization vector is available in the media to be decrypted
        Returns:
        A new AVContentKeyResponse holding Clear Key data.
      • contentKeyResponseWithFairPlayStreamingKeyResponseData

        public static AVContentKeyResponse contentKeyResponseWithFairPlayStreamingKeyResponseData​(NSData keyResponseData)
        contentKeyResponseWithFairPlayStreamingKeyResponseData: Create an AVContentKeyResponse from the server response to a key request made when using FairPlayStreaming (FPS) as the method of key delivery. The object created by this method is typically used with an AVContentKeyRequest created by an AVContentKeySession using keySystem AVContentKeySystemFairPlayStreaming. It is passed to AVContentKeyRequest -processContentKeyResponse: in order to supply the decryptor with key data
        Parameters:
        keyResponseData - The response from the FairPlayStreaming key server
        Returns:
        A new AVContentKeyResponse holding data from a FairPlayStreaming key server that is used to decrypt the content
      • debugDescription_static

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

        public static java.lang.String description_static()
      • 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)
      • 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)
      • superclass_static

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

        public static long version_static()
      • contentKeyResponseWithAuthorizationTokenData

        public static AVContentKeyResponse contentKeyResponseWithAuthorizationTokenData​(NSData authorizationTokenData)
        contentKeyResponseWithAuthorizationTokenData: Create an AVContentKeyResponse from authorization token data when using AVContentKeySystemAuthorizationToken key system. The object created by this method is typically used with an AVContentKeyRequest created by an AVContentKeySession using keySystem AVContentKeySystemAuthorizationToken. It is passed to AVContentKeyRequest -processContentKeyResponse: in order to supply the authorization token data.
        Parameters:
        authorizationTokenData - Data blob containing the authorization token.
        Returns:
        A new AVContentKeyResponse holding the authorization token data.