Revocation​And​Renewal​Item Revocation​And​Renewal​Item Revocation​And​Renewal​Item Class

Definition

Represents a component that is being revoked and renewed with a trusted component.

public : sealed class RevocationAndRenewalItem : IRevocationAndRenewalItempublic sealed class RevocationAndRenewalItem : IRevocationAndRenewalItemPublic NotInheritable Class RevocationAndRenewalItem Implements IRevocationAndRenewalItem
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

This example shows a ComponentLoadFailedEventHandler. A loop iterates through the failed components. And RenewSystemComponentsAsync is invoked. Note that the RevocationAndRenewalInformation is passed in through the ComponentLoadFailedEventArgs.

function ComponentLoadFailed(e) {

    for (var i = 0; i < e.information.items.size; i++) {
        LogMessage('Component Name=' + 
                    e.information.items[i].name + 
                    '<BR/>');
        LogMessage('Failure Reason=' + 
                    e.information.items[i].reasons.toString(16) + 
                    '<BR/>');
        LogMessage('Renewal GUID=' + 
                    e.information.items[i].renewalId + 
                    '<BR/>');
    }

    //  Invoke the revocation               
    ComponentRenewal.renewSystemComponentsAsync(e.information).then(
        function (r) {
            LogMessage("RenewSystemComponentsAsync: " + 
                        r.toString() + 
                        '<BR/>');

            e.completion.complete(false);
        }
    );
};

Remarks

An instance of this object is returned by the RevocationAndRenewalInformation.Items property. This information can be passed to ComponentRenewal.RenewSystemComponentsAsync for system processing.

Properties

HeaderHash HeaderHash HeaderHash

Returns the header hash for the component being revoked.

public : PlatForm::String HeaderHash { get; }public string HeaderHash { get; }Public ReadOnly Property HeaderHash As string
Value
PlatForm::String string string

The string for the header hash.

Attributes

Name Name Name

Returns the name for the component being revoked.

public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string
Value
PlatForm::String string string

The name of the component.

Attributes

PublicKeyHash PublicKeyHash PublicKeyHash

Returns the public key hash for the component.

public : PlatForm::String PublicKeyHash { get; }public string PublicKeyHash { get; }Public ReadOnly Property PublicKeyHash As string
Value
PlatForm::String string string

The public key hash.

Attributes

Reasons Reasons Reasons

Returns the reason for revocation of component.

public : RevocationAndRenewalReasons Reasons { get; }public RevocationAndRenewalReasons Reasons { get; }Public ReadOnly Property Reasons As RevocationAndRenewalReasons
Value
RevocationAndRenewalReasons RevocationAndRenewalReasons RevocationAndRenewalReasons

Defines reasons for the revocation and renewal of a certificate for a media component.

Attributes

RenewalId RenewalId RenewalId

Returns the GUID for the renewal object.

public : PlatForm::String RenewalId { get; }public string RenewalId { get; }Public ReadOnly Property RenewalId As string
Value
PlatForm::String string string

The renewal object GUID.

Attributes