VirtualBox

Changeset 59669 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Feb 15, 2016 12:36:48 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105526
Message:

ApplianceImplImport.cpp: started on certificate validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImplPrivate.h

    r59621 r59669  
    6969      , hMemFileTheirManifest(NIL_RTVFSFILE)
    7070      , fSignerCertLoaded(false)
     71      , fCertificateValid(false)
    7172      , fSignatureValid(false)
    7273      , pbSignedDigest(NULL)
     
    127128        enmSignedDigestType    = RTDIGESTTYPE_INVALID;
    128129        fSignatureValid        = false;
     130        fCertificateValid      = false;
    129131        fDeterminedDigestTypes = false;
    130         fDigestTypes           = RTMANIFEST_ATTR_SHA1 | RTMANIFEST_ATTR_SHA256;
     132        fDigestTypes           = RTMANIFEST_ATTR_SHA1 | RTMANIFEST_ATTR_SHA256 | RTMANIFEST_ATTR_SHA512;
    131133    }
    132134
     
    165167    /** Set if the SignerCert member contains usable data. */
    166168    bool                fSignerCertLoaded;
    167     /** Set by read() if it found a certificate and the signature is fine. */
     169    /** Set by read() when the SignerCert checked out fine. */
     170    bool                fCertificateValid;
     171    /** Set by read() if pbSignedDigest verified correctly against SignerCert. */
    168172    bool                fSignatureValid;
    169173    /** The signed digest of the manifest. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette