Поделиться через


Enhanced Storage Properties

The following Windows Portable Device Enhanced Storage properties are utilized by the Enhanced Storage Portable Device Commands through the IEnhancedStorageSilo::SendCommand method.

WPD Enhanced Storage Properties Variable Type Description
ENHANCED_STORAGE_PROPERTY_AUTHENTICATION_STATE
VT_UI4 Authentication status of the Enhanced Storage Silo.
ENHANCED_STORAGE_PROPERTY_IS_AUTHENTICATION_SILO
VT_BOOL VARIANT_TRUE if an Authentication Silo; otherwise, VARIANT_FALSE.
Password Silo Properties Variable Types Description
ENHANCED_STORAGE_PROPERTY_MAX_AUTH_FAILURES
VT_UI4 Maximum number of allowed password authentication failures.
ENHANCED_STORAGE_PROPERTY_PASSWORD
VT_VECTOR | VT_UI1 The password to send or set.
ENHANCED_STORAGE_PROPERTY_PASSWORD_INDICATOR
VT_UI4 Non-zero identifies it as a User password; 0 as Admin.
ENHANCED_STORAGE_PROPERTY_NEW_PASSWORD_INDICATOR
VT_UI4 Non-zero identifies it as a User password; 0 as Admin.
ENHANCED_STORAGE_PROPERTY_NEW_PASSWORD
VT_VECTOR | VT_UI1 The new password. This property is used to reset a password.
ENHANCED_STORAGE_PROPERTY_USER_HINT
VT_LPWSTR The User password 'hint'.
ENHANCED_STORAGE_PROPERTY_USER_NAME
VT_LPWSTR The 'friendly' User name.
ENHANCED_STORAGE_PROPERTY_ADMIN_HINT
VT_LPWSTR The Admin password 'hint'.
ENHANCED_STORAGE_PROPERTY_SILO_NAME
VT_LPWSTR The 'friendly' Silo name.
ENHANCED_STORAGE_PROPERTY_SILO_FRIENDLYNAME_SPECIFIED
VT_UI4 Non-zero if a 'friendly' silo name is provided; otherwise, 0.
ENHANCED_STORAGE_PROPERTY_PASSWORD_SILO_INFO
VT_VECTOR | VT_UI1 An ENHANCED_STORAGE_PASSWORD_SILO_INFORMATION structure containing specific requirements and configuration information for the password silo.
ENHANCED_STORAGE_PROPERTY_SECURITY_IDENTIFIER
VT_VECTOR | VT_UI1 The security identifier for the device.
ENHANCED_STORAGE_PROPERTY_QUERY_SILO_TYPE
VT_UI4 The Query Silo type. For possible values, see PDO_TYPE.
ENHANCED_STORAGE_PROPERTY_QUERY_SILO_RESULTS
VT_VECTOR | VT_UI1 Query silo properties result returned as an ENUM_PDO_RESULTS structure.
Certificate Silo Properties Variable Types Description
ENHANCED_STORAGE_PROPERTY_MAX_CERTIFICATE_COUNT
VT_UI4 The maximum number of allowed certificate slots on the device.
ENHANCED_STORAGE_PROPERTY_STORED_CERTIFICATE_COUNT
VT_UI4 The number of certificate slots in use on the device.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_INDEX
VT_UI4 An index of certificate slots on the device.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_TYPE
VT_UI4 The type of certificate. For possible values, see the CERT_TYPE documentation.
ENHANCED_STORAGE_PROPERTY_VALIDATION_POLICY
VT_UI4 The validation policy for the certificate. For possible values, see the CERT_VALIDATION_POLICY documentation.
ENHANCED_STORAGE_PROPERTY_NEXT_CERTIFICATE_INDEX
VT_UI4 The indexed location of the next valid certificate.
ENHANCED_STORAGE_PROPERTY_NEXT_CERTIFICATE_OF_TYPE_INDEX
VT_UI4 The indexed location of the next valid certificate of the same type.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_LENGTH
VT_UI4 Length, in bytes, of the certificate.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE
VT_VECTOR | VT_UI1 The certificate buffer in X.509 format.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_REQUEST
VT_VECTOR | VT_UI1 The certificate request buffer in PKCS 10 format.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_CAPABILITY_TYPE
VT_UI4 Silo capability type. For possible values, see CERT_CAPABILITY.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_SILO_CAPABILITY
VT_VECTOR | VT_UI1 The "raw" capability data returned from the silo.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_SILO_CAPABILITIES
VT_UNKNOWN The certificate silo capabilities returned in a property collection. For possible values, see CERT_CAPABILITY and refer to the Silo Capability properties documented below.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_ACT_FRIENDLY_NAME
VT_LPWSTR The "friendly" name of the ACT associated with the certificate silo.
ENHANCED_STORAGE_PROPERTY_CERTIFICATE_SILO_GUID
VT_LPWSTR The GUID associated with the certificate silo.
ENHANCED_STORAGE_PROPERTY_SIGNER_CERTIFICATE_INDEX
VT_UI4 The index for the signer certificate slot on the device.
Silo Capability Properties Variable Type Description
ENHANCED_STORAGE_CAPABILITY_HASH_ALGS
VT_LPWSTR Semi-colon delimited string of hash algorithm identifiers.
ENHANCED_STORAGE_CAPABILITY_ASYMMETRIC_KEY_CRYPTOGRAPHY
VT_LPWSTR Semi-colon delimited string of asymmetric key cryptography identifiers.
ENHANCED_STORAGE_CAPABILITY_SIGNING_ALGS
VT_LPWSTR Semi-colon delimited string of signing algorithm identifiers.
ENHANCED_STORAGE_CAPABILITY_RENDER_USER_DATA_UNUSABLE
VT_BOOL VARIANT_TRUE if the silo is capable of rendering User data unreadable; otherwise, VARIANT_FALSE.
ENHANCED_STORAGE_CAPABILITY_CERTIFICATE_EXTENSION_PARSING
VT_BOOL VARIANT_TRUE if certificate extension fields are supported; otherwise, VARIANT_FALSE.