Package com._1c.g5.v8.dt.mdnative.common
Interface IMdNativeMobileClientSignProvider
-
- All Known Implementing Classes:
MdNativeMobileClientSignProvider
public interface IMdNativeMobileClientSignProvider
Special interface for generating private, public key and mobile signature by native API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generatePrivateKey(long scomDataAddress)
Generates new private key for creating mobile application signatureString
generateSignature(long scomDataAddress, String privateKey, String mcdEnumsData, String mcdRefsData, String mcdRegKeysData, String mcdInfoRegKeysData)
Gets mobile application signatureString
getPublicKeyByPrivate(long scomDataAddress, String privateKey)
Gets public key by private for creating mobile application signature
-
-
-
Method Detail
-
generatePrivateKey
String generatePrivateKey(long scomDataAddress)
Generates new private key for creating mobile application signature- Parameters:
scomDataAddress
- actual data memory address with loading platform SCOM components- Returns:
- new private key for creating mobile application signature, never
null
-
getPublicKeyByPrivate
String getPublicKeyByPrivate(long scomDataAddress, String privateKey)
Gets public key by private for creating mobile application signature- Parameters:
scomDataAddress
- actual data memory address with loading platform SCOM componentsprivateKey
- actual private key for creating mobile application signature, cannot benull
- Returns:
- public key for creating mobile application signature, never
null
-
generateSignature
String generateSignature(long scomDataAddress, String privateKey, String mcdEnumsData, String mcdRefsData, String mcdRegKeysData, String mcdInfoRegKeysData)
Gets mobile application signature- Parameters:
scomDataAddress
- actual data memory address with loading platform SCOM componentsprivateKey
- actual private key for creating mobile application signature, cannot benull
mcdEnumsData
- data for sign corresponding toMobileClientDigestTypes#getMcdEnums()
, cannot benull
mcdRefsData
- data for sign corresponding toMobileClientDigestTypes#getMcdRefs()
, cannot benull
mcdRegKeysData
- data for sign corresponding toMobileClientDigestTypes#getMcdRegKeys()
, cannot benull
mcdInfoRegKeysData
- data for sign corresponding toMobileClientDigestTypes#getMcdInfoRegKeys()
, cannot benull
- Returns:
- mobile application signature, never
null
-
-