Export (0) Print
Expand All

PasswordProtectedPackage Class

Provides metadata about the encryption algorithm and parameters used to protect some data with a password.

Namespace: Microsoft.Health.ItemTypes
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

public class PasswordProtectedPackage : HealthRecordItem

The PasswordProtectedPackage item type defines the metadata for the encryption algorithm used to protect data with a password. The application should generate a password (or take it from the user) and encrypt the desired data. This data should be set in a Blob created off the BlobStore retrieved from the GetBlobStore(HealthRecordAccessor). The properties of the Blob should be set with the parameters required to decrypt the data. These parameters are application dependant but should adhere to standard practices in dealing with PKCS5v2 data.

© 2015 Microsoft