Class MdNativeMobileClientSignProvider

    • Constructor Detail

      • MdNativeMobileClientSignProvider

        public MdNativeMobileClientSignProvider()
    • Method Detail

      • generatePrivateKey

        public String generatePrivateKey​(long scomDataAddress)
        Description copied from interface: IMdNativeMobileClientSignProvider
        Generates new private key for creating mobile application signature
        Specified by:
        generatePrivateKey in interface IMdNativeMobileClientSignProvider
        Parameters:
        scomDataAddress - actual data memory address with loading platform SCOM components
        Returns:
        new private key for creating mobile application signature, never null
      • getPublicKeyByPrivate

        public String getPublicKeyByPrivate​(long scomDataAddress,
                                            String privateKey)
        Description copied from interface: IMdNativeMobileClientSignProvider
        Gets public key by private for creating mobile application signature
        Specified by:
        getPublicKeyByPrivate in interface IMdNativeMobileClientSignProvider
        Parameters:
        scomDataAddress - actual data memory address with loading platform SCOM components
        privateKey - actual private key for creating mobile application signature, cannot be null
        Returns:
        public key for creating mobile application signature, never null
      • generateSignature

        public String generateSignature​(long scomDataAddress,
                                        String privateKey,
                                        String mcdEnumsData,
                                        String mcdRefsData,
                                        String mcdRegKeysData,
                                        String mcdInfoRegKeysData)
        Description copied from interface: IMdNativeMobileClientSignProvider
        Gets mobile application signature
        Specified by:
        generateSignature in interface IMdNativeMobileClientSignProvider
        Parameters:
        scomDataAddress - actual data memory address with loading platform SCOM components
        privateKey - actual private key for creating mobile application signature, cannot be null
        mcdEnumsData - data for sign corresponding to MobileClientDigestTypes#getMcdEnums(), cannot be null
        mcdRefsData - data for sign corresponding to MobileClientDigestTypes#getMcdRefs(), cannot be null
        mcdRegKeysData - data for sign corresponding to MobileClientDigestTypes#getMcdRegKeys(), cannot be null
        mcdInfoRegKeysData - data for sign corresponding to MobileClientDigestTypes#getMcdInfoRegKeys(), cannot be null
        Returns:
        mobile application signature, never null