Package apple.matter

Class MTROperationalCSRInfo

  • All Implemented Interfaces:
    NSObject

    public class MTROperationalCSRInfo
    extends NSObject
    Represents information relating to a certificate signing request for a Matter operational certificate. API-Since: 16.4
    • Constructor Detail

      • MTROperationalCSRInfo

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static MTROperationalCSRInfo allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attestationSignature

        @NotNull
        public @NotNull NSData attestationSignature()
        A signature, using the device attestation private key of the device that created the CSR, over the concatenation of csrElementsTLV and the attestation challenge from the secure session. The attestation challenge is available in MTRAttestionInfo.
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • csr

        @NotNull
        public @NotNull NSData csr()
        DER-encoded certificate signing request.
      • csrElementsTLV

        @NotNull
        public @NotNull NSData csrElementsTLV()
        TLV-encoded nocsr-elements structure. This includes the "csr" and "csrNonce" fields, and can include additional vendor-specific information.
      • csrNonce

        @NotNull
        public @NotNull NSData csrNonce()
        The nonce associated with this CSR.
      • 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()
      • initWithCSRCsrNonceCsrElementsTLVAttestationSignature

        @Deprecated
        public MTROperationalCSRInfo initWithCSRCsrNonceCsrElementsTLVAttestationSignature​(@NotNull
                                                                                           @NotNull NSData csr,
                                                                                           @NotNull
                                                                                           @NotNull NSData csrNonce,
                                                                                           @NotNull
                                                                                           @NotNull NSData csrElementsTLV,
                                                                                           @NotNull
                                                                                           @NotNull NSData attestationSignature)
        Deprecated.
        Initialize an MTROperationalCSRInfo by providing all the fields. It's the caller's responsibility to ensure that csr and csrNonce match the csrElementsTLV. API-Since: 16.4 Deprecated-Since: 17.0 Deprecated-Message: Please use one of the initializers that validates the input
      • initWithCSRElementsTLVAttestationSignature

        public MTROperationalCSRInfo initWithCSRElementsTLVAttestationSignature​(@NotNull
                                                                                @NotNull NSData csrElementsTLV,
                                                                                @NotNull
                                                                                @NotNull NSData attestationSignature)
        Initialize an MTROperationalCSRInfo by providing just the csrElementsTLV and attestationSignature (which can come from an MTROperationalCredentialsClusterCSRResponseParams). This will extract the csr and csrNonce from the csrElementsTLV, if possible, and return nil if that fails. API-Since: 17.0
      • initWithCSRNonceCsrElementsTLVAttestationSignature

        public MTROperationalCSRInfo initWithCSRNonceCsrElementsTLVAttestationSignature​(@NotNull
                                                                                        @NotNull NSData csrNonce,
                                                                                        @NotNull
                                                                                        @NotNull NSData csrElementsTLV,
                                                                                        @NotNull
                                                                                        @NotNull NSData attestationSignature)
        Initialize an MTROperationalCSRInfo by providing the csrNonce (for example, the nonce the client initially supplied), and the csrElementsTLV and attestationSignature that the server returned. This will ensure that csrNonce matches the data in csrElementsTLV, returning nil if it does not, and extract the csr from csrElementsTLV. API-Since: 17.0
      • initWithCSRResponseParams

        public MTROperationalCSRInfo initWithCSRResponseParams​(@NotNull
                                                               @NotNull MTROperationalCredentialsClusterCSRResponseParams responseParams)
        Initialize an MTROperationalCSRInfo by providing an MTROperationalCredentialsClusterCSRResponseParams. This will extract the relevant fields from the response data. API-Since: 17.0
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()