Binary key support

This commit is contained in:
Jim Norman 2005-12-10 04:47:37 +00:00
parent f0946f22d5
commit 08038f4b7f
5 changed files with 36 additions and 10 deletions

View File

@ -2092,6 +2092,7 @@ int32_t ipc_ReadBinaryKey
retCode = NSSCS_E_SYSTEM_FAILURE;
break;
}
*valLen = dataLen;
}
else

View File

@ -305,7 +305,7 @@
/>
<File
RelPath = "init\ProjectInstaller.cs"
SubType = "Code"
SubType = "Component"
BuildAction = "Compile"
/>
<File
@ -315,7 +315,7 @@
/>
<File
RelPath = "init\WinSecretStoreClientService.cs"
SubType = "Code"
SubType = "Component"
BuildAction = "Compile"
/>
<File
@ -384,6 +384,11 @@
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "verbs\ReadBinaryKey.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "verbs\ReadKey.cs"
SubType = "Code"
@ -419,6 +424,11 @@
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "verbs\WriteBinaryKey.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "verbs\WriteKey.cs"
SubType = "Code"

View File

@ -1603,7 +1603,7 @@ miCASAWriteBinaryKey
SS_UTF8_T * key,
uint32_t keyLen,
uint8_t * val,
uint32_t valLen,
uint32_t * valLen,
SSCS_PASSWORD_T * epPassword,
SSCS_EXT_T * ext
)
@ -1673,7 +1673,7 @@ miCASAWriteBinaryKey
escapedSHSKey,
sscs_Utf8Strlen(escapedSHSKey),
val,
valLen,
*valLen,
epPassword,
ext);
@ -2907,11 +2907,11 @@ miCASASetCredential
context,
ssFlags,
&kc,
sharedSecretID,
appSecretID,
binaryCred->id,
binaryCred->idLen,
binaryCred->data,
*binaryCred->dataLen,
binaryCred->dataLen,
NULL,
ext);
}

View File

@ -453,10 +453,25 @@ miCASAWriteKey
uint32_t ssFlags,
SSCS_KEYCHAIN_ID_T * keyChainID,
SSCS_SECRET_ID_T * sharedSecretID,
SS_UTF8_T *key,
uint32_t keyLen,
uint8_t *val,
uint32_t valLen,
SS_UTF8_T * key,
uint32_t keyLen,
uint8_t * val,
uint32_t valLen,
SSCS_PASSWORD_T * epPassword,
SSCS_EXT_T * ext
);
SSCS_EXTERN_LIBCALL(int32_t)
miCASAWriteBinaryKey
(
void * context,
uint32_t ssFlags,
SSCS_KEYCHAIN_ID_T * keyChainID,
SSCS_SECRET_ID_T * sharedSecretID,
SS_UTF8_T * key,
uint32_t keyLen,
uint8_t * val,
uint32_t * valLen,
SSCS_PASSWORD_T * epPassword,
SSCS_EXT_T * ext
);

Binary file not shown.