Package apple.matter
Class MTRCertificates
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.matter.MTRCertificates
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMTRCertificates(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static MTRCertificatesalloc()static MTRCertificatesallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static @Nullable NSDataconvertMatterCertificate(@NotNull NSData matterCertificate)Convert the given Matter TLV encoded certificate to the X.509v3 DER encoded format.static @Nullable NSDataconvertX509Certificate(@NotNull NSData x509Certificate)Convert the given X.509v3 DER encoded certificate to the Matter certificate format.static @Nullable NSDatacreateCertificateSigningRequestError(@NotNull MTRKeypair keypair, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Generate a PKCS#10 certificate signing request from a MTRKeypair.static @Nullable NSDatacreateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDError(@NotNull MTRKeypair rootKeypair, @NotNull NSData rootCertificate, @NotNull SecKeyRef intermediatePublicKey, @Nullable NSNumber issuerID, @Nullable NSNumber fabricID, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)As above, but defaults to no expiration time.static @Nullable NSDatacreateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDValidityPeriodError(@NotNull MTRKeypair rootKeypair, @NotNull NSData rootCertificate, @NotNull SecKeyRef intermediatePublicKey, @Nullable NSNumber issuerID, @Nullable NSNumber fabricID, @NotNull NSDateInterval validityPeriod, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Create an intermediate X.509 DER encoded certificate that has the right fields to be a valid Matter intermediate certificate.static @Nullable NSDatacreateOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsError(@NotNull MTRKeypair signingKeypair, @NotNull NSData signingCertificate, @NotNull SecKeyRef operationalPublicKey, @NotNull NSNumber fabricID, @NotNull NSNumber nodeID, @Nullable NSSet<? extends NSNumber> caseAuthenticatedTags, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)As above, but defaults to no expiration time.static @Nullable NSDatacreateOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsValidityPeriodError(@NotNull MTRKeypair signingKeypair, @NotNull NSData signingCertificate, @NotNull SecKeyRef operationalPublicKey, @NotNull NSNumber fabricID, @NotNull NSNumber nodeID, @Nullable NSSet<? extends NSNumber> caseAuthenticatedTags, @NotNull NSDateInterval validityPeriod, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Create an X.509 DER encoded certificate that has the right fields to be a valid Matter operational certificate.static @Nullable NSDatacreateRootCertificateIssuerIDFabricIDError(@NotNull MTRKeypair keypair, @Nullable NSNumber issuerID, @Nullable NSNumber fabricID, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)As above, but defaults to no expiration time.static @Nullable NSDatacreateRootCertificateIssuerIDFabricIDValidityPeriodError(@NotNull MTRKeypair keypair, @Nullable NSNumber issuerID, @Nullable NSNumber fabricID, @NotNull NSDateInterval validityPeriod, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Create a root (self-signed) X.509 DER encoded certificate that has the right fields to be a valid Matter root certificate.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static @Nullable NSDatagenerateCertificateSigningRequestError(@NotNull MTRKeypair keypair, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Deprecated.static @Nullable NSDatagenerateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIdFabricIdError(@NotNull MTRKeypair rootKeypair, @NotNull NSData rootCertificate, @NotNull SecKeyRef intermediatePublicKey, @Nullable NSNumber issuerId, @Nullable NSNumber fabricId, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Deprecated.static @Nullable NSDatagenerateOperationalCertificateSigningCertificateOperationalPublicKeyFabricIdNodeIdCaseAuthenticatedTagsError(@NotNull MTRKeypair signingKeypair, @NotNull NSData signingCertificate, @NotNull SecKeyRef operationalPublicKey, @NotNull NSNumber fabricId, @NotNull NSNumber nodeId, @Nullable NSArray<? extends NSNumber> caseAuthenticatedTags, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Deprecated.static @Nullable NSDatagenerateRootCertificateIssuerIdFabricIdError(@NotNull MTRKeypair keypair, @Nullable NSNumber issuerId, @Nullable NSNumber fabricId, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Deprecated.static longhash_static()MTRCertificatesinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisCertificateEqualTo(@NotNull NSData certificate1, @NotNull NSData certificate2)Check whether two X.509 DER encoded certificates are equivalent, in the sense of having the same public key and the same subject DN.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static booleankeypairMatchesCertificate(@NotNull MTRKeypair keypair, @NotNull NSData certificate)Check whether the given keypair's public key matches the given certificate's public key.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static MTRCertificatesnew_objc()static @Nullable NSDatapublicKeyFromCSRError(@NotNull NSData csr, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Extract the public key from the given PKCS#10 certificate signing request.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MTRCertificates alloc()
-
allocWithZone
public static MTRCertificates allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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()
-
convertMatterCertificate
@Nullable public static @Nullable NSData convertMatterCertificate(@NotNull @NotNull NSData matterCertificate)
Convert the given Matter TLV encoded certificate to the X.509v3 DER encoded format. Returns nil if the conversion fails (e.g. if the input data cannot be parsed as a Matter TLV encoded certificate, or if the certificate cannot be represented in the X.509v3 DER format). API-Since: 16.4
-
convertX509Certificate
@Nullable public static @Nullable NSData convertX509Certificate(@NotNull @NotNull NSData x509Certificate)
Convert the given X.509v3 DER encoded certificate to the Matter certificate format. Returns nil if the conversion fails (e.g. if the input data cannot be parsed as a DER encoded X.509 certificate, or if the certificate cannot be represented in the Matter certificate format).
-
createCertificateSigningRequestError
@Nullable public static @Nullable NSData createCertificateSigningRequestError(@NotNull @NotNull MTRKeypair keypair, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Generate a PKCS#10 certificate signing request from a MTRKeypair. This can then be used to request an operational or ICA certificate from an external certificate authority. The CSR will have the subject OU DN set to 'CSA', because omitting all identifying information altogether often trips up CSR parsing code. The CA being used should expect this and ignore the request subject, producing a subject that matches the rules for Matter certificates. On failure returns nil and if "error" is not null sets *error to the relevant error.
-
createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDError
@Nullable public static @Nullable NSData createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDError(@NotNull @NotNull MTRKeypair rootKeypair, @NotNull @NotNull NSData rootCertificate, @NotNull @NotNull SecKeyRef intermediatePublicKey, @Nullable @Nullable NSNumber issuerID, @Nullable @Nullable NSNumber fabricID, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
As above, but defaults to no expiration time. API-Since: 16.4
-
createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDValidityPeriodError
@Nullable public static @Nullable NSData createIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIDFabricIDValidityPeriodError(@NotNull @NotNull MTRKeypair rootKeypair, @NotNull @NotNull NSData rootCertificate, @NotNull @NotNull SecKeyRef intermediatePublicKey, @Nullable @Nullable NSNumber issuerID, @Nullable @Nullable NSNumber fabricID, @NotNull @NotNull NSDateInterval validityPeriod, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Create an intermediate X.509 DER encoded certificate that has the right fields to be a valid Matter intermediate certificate. If issuerID is not nil, it's unsignedLongLongValue will be used for the matter-icac-id attribute in the subject distinguished name of the resulting certificate. If issuerID is nil, a random value will be generated for matter-icac-id. If fabricID is not nil, it will be included in the subject DN of the certificate. In this case it must be a valid Matter fabric id. validityPeriod specifies when the certificate will be valid. A certificate with no expiration time can be created by specifying [NSDate distantFuture] for the end of the period. On failure returns nil and if "error" is not null sets *error to the relevant error. API-Since: 16.6
-
createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsError
@Nullable public static @Nullable NSData createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsError(@NotNull @NotNull MTRKeypair signingKeypair, @NotNull @NotNull NSData signingCertificate, @NotNull @NotNull SecKeyRef operationalPublicKey, @NotNull @NotNull NSNumber fabricID, @NotNull @NotNull NSNumber nodeID, @Nullable @Nullable NSSet<? extends NSNumber> caseAuthenticatedTags, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
As above, but defaults to no expiration time. API-Since: 16.4
-
createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsValidityPeriodError
@Nullable public static @Nullable NSData createOperationalCertificateSigningCertificateOperationalPublicKeyFabricIDNodeIDCaseAuthenticatedTagsValidityPeriodError(@NotNull @NotNull MTRKeypair signingKeypair, @NotNull @NotNull NSData signingCertificate, @NotNull @NotNull SecKeyRef operationalPublicKey, @NotNull @NotNull NSNumber fabricID, @NotNull @NotNull NSNumber nodeID, @Nullable @Nullable NSSet<? extends NSNumber> caseAuthenticatedTags, @NotNull @NotNull NSDateInterval validityPeriod, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Create an X.509 DER encoded certificate that has the right fields to be a valid Matter operational certificate. signingKeypair and signingCertificate are the root or intermediate that is signing the operational certificate. nodeID and fabricID are expected to be 64-bit unsigned integers. nodeID must be a valid Matter operational node id. fabricID must be a valid Matter fabric id. caseAuthenticatedTags may be nil to indicate no CASE Authenticated Tags should be used. If caseAuthenticatedTags is not nil, it must contain at most 3 numbers, which are expected to be 32-bit unsigned Case Authenticated Tag values. validityPeriod specifies when the certificate will be valid. A certificate with no expiration time can be created by specifying [NSDate distantFuture] for the end of the period. On failure returns nil and if "error" is not null sets *error to the relevant error. API-Since: 16.6
-
createRootCertificateIssuerIDFabricIDError
@Nullable public static @Nullable NSData createRootCertificateIssuerIDFabricIDError(@NotNull @NotNull MTRKeypair keypair, @Nullable @Nullable NSNumber issuerID, @Nullable @Nullable NSNumber fabricID, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
As above, but defaults to no expiration time. API-Since: 16.4
-
createRootCertificateIssuerIDFabricIDValidityPeriodError
@Nullable public static @Nullable NSData createRootCertificateIssuerIDFabricIDValidityPeriodError(@NotNull @NotNull MTRKeypair keypair, @Nullable @Nullable NSNumber issuerID, @Nullable @Nullable NSNumber fabricID, @NotNull @NotNull NSDateInterval validityPeriod, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Create a root (self-signed) X.509 DER encoded certificate that has the right fields to be a valid Matter root certificate. If issuerID is not nil, it's unsignedLongLongValue will be used for the matter-rcac-id attribute in the subject distinguished name of the resulting certificate. If issuerID is nil, a random value will be generated for matter-rcac-id. If fabricID is not nil, it will be included in the subject DN of the certificate. In this case it must be a valid Matter fabric id. validityPeriod specifies when the certificate will be valid. Note that there is currently no mechanism available in Matter to update or rotate the root certificate of a fabric installed on a device. A certificate with no expiration time can be created by specifying [NSDate distantFuture] for the end of the period. On failure returns nil and if "error" is not null sets *error to the relevant error. API-Since: 16.6
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
generateCertificateSigningRequestError
@Deprecated @Nullable public static @Nullable NSData generateCertificateSigningRequestError(@NotNull @NotNull MTRKeypair keypair, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use createCertificateSigningRequest:error:
-
generateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIdFabricIdError
@Deprecated @Nullable public static @Nullable NSData generateIntermediateCertificateRootCertificateIntermediatePublicKeyIssuerIdFabricIdError(@NotNull @NotNull MTRKeypair rootKeypair, @NotNull @NotNull NSData rootCertificate, @NotNull @NotNull SecKeyRef intermediatePublicKey, @Nullable @Nullable NSNumber issuerId, @Nullable @Nullable NSNumber fabricId, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use createIntermediateCertificate:rootCertificate:intermediatePublicKey:issuerID:fabricID:error:
-
generateOperationalCertificateSigningCertificateOperationalPublicKeyFabricIdNodeIdCaseAuthenticatedTagsError
@Deprecated @Nullable public static @Nullable NSData generateOperationalCertificateSigningCertificateOperationalPublicKeyFabricIdNodeIdCaseAuthenticatedTagsError(@NotNull @NotNull MTRKeypair signingKeypair, @NotNull @NotNull NSData signingCertificate, @NotNull @NotNull SecKeyRef operationalPublicKey, @NotNull @NotNull NSNumber fabricId, @NotNull @NotNull NSNumber nodeId, @Nullable @Nullable NSArray<? extends NSNumber> caseAuthenticatedTags, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Plase use createOperationalCertificate:signingCertificate:operationalPublicKey:fabricID:nodeID:caseAuthenticatedTags:error:
-
generateRootCertificateIssuerIdFabricIdError
@Deprecated @Nullable public static @Nullable NSData generateRootCertificateIssuerIdFabricIdError(@NotNull @NotNull MTRKeypair keypair, @Nullable @Nullable NSNumber issuerId, @Nullable @Nullable NSNumber fabricId, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use createRootCertificate:issuerID:fabricID:error:
-
hash_static
public static long hash_static()
-
init
public MTRCertificates init()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isCertificateEqualTo
public static boolean isCertificateEqualTo(@NotNull @NotNull NSData certificate1, @NotNull @NotNull NSData certificate2)Check whether two X.509 DER encoded certificates are equivalent, in the sense of having the same public key and the same subject DN. Returns NO if public keys or subject DNs cannot be extracted from the certificates.
-
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)
-
keypairMatchesCertificate
public static boolean keypairMatchesCertificate(@NotNull @NotNull MTRKeypair keypair, @NotNull @NotNull NSData certificate)Check whether the given keypair's public key matches the given certificate's public key. The certificate is expected to be an X.509 DER encoded certificate. Will return NO on failures to extract public keys from the objects.
-
new_objc
public static MTRCertificates new_objc()
-
publicKeyFromCSRError
@Nullable public static @Nullable NSData publicKeyFromCSRError(@NotNull @NotNull NSData csr, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Extract the public key from the given PKCS#10 certificate signing request. This is the public key that a certificate issued in response to the request would need to have. API-Since: 16.4
-
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()
-
-