Package com._1c.g5.v8.dt.mdnative.common
Interface IMdNativeMobileClientSignProvider
-
- All Known Implementing Classes:
MdNativeMobileClientSignProvider
public interface IMdNativeMobileClientSignProviderSpecial 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 StringgeneratePrivateKey(long scomDataAddress)Generates new private key for creating mobile application signatureStringgenerateSignature(long scomDataAddress, String privateKey, String mcdEnumsData, String mcdRefsData, String mcdRegKeysData, String mcdInfoRegKeysData)Gets mobile application signatureStringgetPublicKeyByPrivate(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 benullmcdEnumsData- data for sign corresponding toMobileClientDigestTypes#getMcdEnums(), cannot benullmcdRefsData- data for sign corresponding toMobileClientDigestTypes#getMcdRefs(), cannot benullmcdRegKeysData- data for sign corresponding toMobileClientDigestTypes#getMcdRegKeys(), cannot benullmcdInfoRegKeysData- data for sign corresponding toMobileClientDigestTypes#getMcdInfoRegKeys(), cannot benull- Returns:
- mobile application signature, never
null
-
-