items2003服务器系统下载

2003服务器系统下载  时间:2021-04-14  阅读:()
WindowsServer2003EnhancedCryptographicProvider(RSAENH)(WindowsServer2003SP2)FIPS140-2Documentation:SecurityPolicySeptember20,2007AbstractThisdocumentspecifiesthenon-proprietarysecuritypolicyforWindowsServer2003(SP2)EnhancedCryptographicProvider(RSAENH)asdescribedinFIPSPUB140-2.
2TheinformationcontainedinthisdocumentrepresentsthecurrentviewofMicrosoftCorporationontheissuesdiscussedasofthedateofpublication.
BecauseMicrosoftmustrespondtochangingmarketconditions,itshouldnotbeinterpretedtobeacommitmentonthepartofMicrosoft,andMicrosoftcannotguaranteetheaccuracyofanyinformationpresentedafterthedateofpublication.
Thisdocumentisforinformationalpurposesonly.
MICROSOFTMAKESNOWARRANTIES,EXPRESSORIMPLIED,ASTOTHEINFORMATIONINTHISDOCUMENT.
Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.
ThisworkislicensedundertheCreativeCommonsAttribution-NoDerivs-NonCommercialLicense(whichallowsredistributionofthework).
Toviewacopyofthislicense,visithttp://creativecommons.
org/licenses/by-nd-nc/1.
0/orsendalettertoCreativeCommons,559NathanAbbottWay,Stanford,California94305,USA.
Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.
ExceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.
Theexamplecompanies,organizations,products,peopleandeventsdepictedhereinarefictitious.
Noassociationwithanyrealcompany,organization,product,personoreventisintendedorshouldbeinferred.
2003MicrosoftCorporation.
Allrightsreserved.
Microsoft,ActiveDirectory,VisualBasic,VisualStudio,Windows,theWindowslogo,WindowsNT,andWindowsServerareeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesand/orothercountries.
Thenamesofactualcompaniesandproductsmentionedhereinmaybethetrademarksoftheirrespectiveowners.
3CONTENTSINTRODUCTION4SECURITYPOLICY.
5SPECIFICATIONOFROLES.
6SPECIFICATIONOFSERVICES.
7CRYPTOGRAPHICKEYMANAGEMENT13SELF-TESTS15MISCELLANEOUS.
17FORMOREINFORMATION.
204INTRODUCTIONTheMicrosoftCorporation'sWindowsServer2003EnhancedCryptographicProvider(RSAENH)isaFIPS140-2Level1compliant,software-based,cryptographicserviceprovider.
LikeothercryptographicprovidersthatshipwithMicrosoftWindowsServer2003,WindowsServer2003ServicePack1andServicePack2,RSAENHencapsulatesseveraldifferentcryptographicalgorithmsinaneasy-to-usecryptographicmoduleaccessibleviatheMicrosoftCryptoAPI.
SoftwaredeveloperscandynamicallylinktheMicrosoftRSAENHmoduleintotheirapplicationstoprovideFIPS140-2compliantcryptographicsupport.
WindowsServer2003doesnotshipthepreviouslyFIPS-140-1validatedMicrosoftBaseCryptographicProvider(RSABASE)anymore.
ThereisnolossoffunctionalityastheRSABASEfunctionalityhasalwaysbeenasubsetoftheRSAENHfunctionality.
CryptographicBoundaryTheMicrosoftEnhancedCryptographicProvider(RSAENH)consistsofasingledynamically-linkedlibrary(DLL)namedRSAENH.
DLL(Softwareversion5.
2.
3790.
3959[ServicePack2])testedonanx86,x64,andia64processors,whichcomprisesthemoduleslogicalboundary.
ThecryptographicboundaryforRSAENHisdefinedastheenclosureofthecomputersystemonwhichthecryptographicmoduleistobeexecuted.
Thephysicalconfigurationofthemodule,asdefinedinFIPSPUB140-2,isMulti-ChipStandalone.
ItshouldbenotedthattheDataProtectionAPIandCryptographicAPIofMicrosoftWindowsServer2003isnotpartofthemoduleandshouldbeconsideredtobeoutsidetheboundary.
5SECURITYPOLICYRSAENHoperatesunderseveralrulesthatencapsulateitssecuritypolicy.
RSAENHissupportedonWindowsServer2003,WindowsServer2003SP1andSP2.
RSAENHprovidesnouserauthentication;however,itreliesonMicrosoftWindowsServer2003fortheauthenticationofusers.
AlltheservicesprovidedbytheRSAENHDLLareavailabletotheUserandCrypto-officerroles.
KeyscreatedwithinRSAENHbyoneuserarenotaccessibletoanyotheruserviaRSAENH.
RSAENHstoreskeysinthefilesystem,butreliesuponMicrosoftWindowsServer2003fortheencryptionofthekeyspriortostorage.
WhenoperatingthismoduleunderWindowsServer2003SP2,thefollowingalgorithmsareApprovedsecurityfunctionsandcanbeusedinFIPSmode:oFIPS-approvedalgorithms:Triple-DES,AES,SHA-1,SHA-256,SHA-384,SHA-512,HMAC,RSAandFIPS186-2GeneralPurposerandomgenerator.
RSAENHalsoprovidestherequiredself-testsfortheseFIPS-approvedalgorithms.
RSAENHsupportsthefollowingnon-FIPSapprovedalgorithms:X9.
31RSAkey-pairgeneration,DES,RC4,RC2,MD2,MD4,andMD51;andthoughthesealgorithmsmaynotbeusedwhenoperatingthemoduleinFIPSmode,themoduleprovidespower-upself-teststoprovideextrasecurityfornonFIPSusers.
OperatingthemoduleinFIPSApprovedmoderequirestheuseofApprovedalgorithmslistedaboveaswellasApprovedserviceswhichhavenotbeenexcludedbythissecuritypolicy.
1Applicationsmaynotuseanyofthesenon-FIPSalgorithmsiftheyneedtobeFIPSmode.
TooperatethemoduleinaFIPSApprovedmode,applicationsmustonlyuseFIPS-approvedalgorithms.
6SPECIFICATIONOFROLESRSAENHmodulesupportsbothaUserandCryptographicOfficerroles(asdefinedinFIPSPUB140-2).
Bothrolesmayaccessalltheservicesimplementedinthecryptographicmodule.
Whenanapplicationrequeststhecryptomoduletogeneratekeysforauser,thekeysaregenerated,used,anddeletedasrequestedbyapplications.
Therearenoimplicitkeysassociatedwithauser,andeachusermayhavenumerouskeys,bothsignatureandkeyexchange,andthesekeysareseparatefromotherusers'keys.
MaintenanceRolesMaintenancerolesarenotsupportedbyRSAENH.
MultipleConcurrentOperatorsRSAENHisintendedtorunonWindowsServer2003inSingleUserMode.
Whenruninthisconfiguration,multipleconcurrentoperatorsarenotsupported.
BecausethemoduleisaDLL,eachprocessrequestingaccessisprovideditsowninstanceofthemodule.
Assuch,eachprocesshasfullaccesstoallinformationandkeyswithinthemodule.
NotethatnokeysorotherinformationaremaintainedupondetachmentfromtheDLL,thusaninstantiationofthemodulewillonlycontainkeysorinformationthattheprocesshasplacedinthemodule.
DataAccessBecauseanoperatorisprovidedaseparateinstanceofthemodule(aseparateinstantiationoftheDLL),theoperatorhascompleteaccesstoallofthesecuritydataitemswithinthemodule.
7SPECIFICATIONOFSERVICESThefollowinglistcontainsallservicesavailabletoanoperator.
Allservicesareaccessiblebyallroles.
KeyStorageServicesThefollowingfunctionsprovideinterfacestothecryptomodule'skeycontainerfunctions.
PleaseseetheKeyStoragedescriptionundertheCryptographicKeyManagementsectionformoreinformation.
CryptAcquireContextTheCryptAcquireContextfunctionisusedtoacquireaprogrammaticcontexthandletoaparticularkeycontainerviaaparticularcryptographicserviceprovider.
Thisreturnedhandlecanthenbeusedtomakecallstotheselectedcryptographicserviceprovider.
Anysubsequentcallstoacryptographicfunctionneedtoreferencetheacquiredcontexthandle.
Thisfunctionperformstwooperations.
ItfirstattemptstofindacryptographicserviceproviderwiththecharacteristicsdescribedinthedwProvTypeandpszProviderparameters.
Ifthecryptographicserviceproviderisfound,thefunctionattemptstofindakeycontainermatchingthenamespecifiedbythepszContainerparameter.
WiththeappropriatesettingofdwFlags,thisfunctioncanalsocreateanddestroykeycontainers.
IfdwFlagsissettoCRYPT_NEWKEYSET,anewkeycontaineriscreatedwiththenamespecifiedbypszContainer.
IfpszContainerisNULL,akeycontainerwiththedefaultnameiscreated.
IfdwFlagsissettoCRYPT_DELETEKEYSET,ThekeycontainerspecifiedbypszContainerisdeleted.
IfpszContainerisNULL,thekeycontainerwiththedefaultnameisdeleted.
Allkeypairsinthekeycontainerarealsodestroyedandmemoryiszeroized.
Whenthisflagisset,thevaluereturnedinphProvisundefined,andthus,theCryptReleaseContextfunctionneednotbecalledafterwards.
CryptGetProvParamTheCryptGetProvParamfunctionretrievesdatathatgovernstheoperationsoftheprovider.
Thisfunctionmaybeusedtoenumeratekeycontainers,enumeratesupportedalgorithms,andgenerallydeterminecapabilitiesofthecryptographicserviceprovider.
CryptSetProvParamTheCryptSetProvParamfunctioncustomizesvariousaspectsofaprovider'soperations.
Thisfunctionismaybeusedtosetasecuritydescriptoronakeycontainer.
CryptReleaseContextTheCryptReleaseContextfunctionreleasesthehandlereferencedbythehProvparameter.
Afteraproviderhandlehasbeenreleased,itbecomesinvalidandcannotbeusedagain.
Inaddition,keyandhashhandlesassociatedwiththatproviderhandlemaynotbeusedafterCryptReleaseContexthasbeencalled.
8KeyGenerationandExchangeServicesThefollowingfunctionsprovideinterfacestothecryptomodule'skeygenerationandexchangefunctions.
Note:onlyFIPSapprovedPRNGareusedforalltheKeygenerationoperationsCryptDeriveKeyTheCryptDeriveKeyfunctioncreatescryptographicsessionkeysfromahashvalue.
Thisfunctionguaranteesthatwhenthesamecryptographicserviceproviderandalgorithmsareused,thekeyscreatedfromthesamehashvalueareidentical.
Thehashvalueistypicallyacryptographichash(SHA-1mustbeusedwhenoperatinginFIPS-mode)ofapasswordorsimilarsecretuserdata.
ThisfunctionisthesameasCryptGenKey,exceptthatthegeneratedsessionkeysarecreatedfromthehashvalueinsteadofbeingrandomandCryptDeriveKeycanonlybeusedtocreatesessionkeys.
Thisfunctioncannotbeusedtocreatepublic/privatekeypairs.
IfkeysarebeingderivedfromaCALG_SCHANNEL_MASTER_HASH,thentheappropriatekeyderivationprocessisusedtoderivethekey.
InthiscasetheprocessusedisfromeithertheSSL2.
0,SSL3.
0,PCTorTLSspecificationofderivingclientandserversideencryptionandMACkeys.
Thisfunctionwillcausethekeyblocktobederivedfromthemastersecretandtherequestedkeyisthenderivedfromthekeyblock.
Whichprocessisusedisdeterminedbywhichprotocolisassociatedwiththehashobject.
FormoreinformationseetheSSL2.
0,SSL3.
0,PCTandTLSspecifications.
CryptDestroyKeyTheCryptDestroyKeyfunctionreleasesthehandlereferencedbythehKeyparameter.
Afterakeyhandlehasbeenreleased,itbecomesinvalidandcannotbeusedagain.
Ifthehandlereferstoasessionkey,ortoapublickeythathasbeenimportedintothecryptographicserviceproviderthroughCryptImportKey,thisfunctionzeroizesthekeyinmemoryandfreesthememorythatthekeyoccupied.
Theunderlyingpublic/privatekeypair(whichresidesoutsidethecryptomodule)isnotdestroyedbythisfunction.
Onlythehandleisdestroyed.
CryptExportKeyTheCryptExportKeyfunctionexportscryptographickeysfromacryptographicserviceproviderinasecuremannerforkeyarchivalpurposes.
AhandletoaprivateRSAkeytobeexportedmaybepassedtothefunction,andthefunctionreturnsakeyblob.
Thisprivatekeyblobcanbesentoveranonsecuretransportorstoredinanonsecurestoragelocation.
TheprivatekeyblobisuselessuntiltheintendedrecipientusestheCryptImportKeyfunctiononittoimportthekeyintotherecipient'scryptographicserviceprovider.
Keyblobsareexportedeitherinplaintextorencryptedwithasymmetrickey.
IfasymmetrickeyisusedtoencrypttheblobthenahandletotheprivateRSAkeyispassedintothemoduleandthesymmetrickeyreferencedbythehandleisusedtoencrypttheblob.
Anyofthesupportedsymmetriccryptographicalgorithmsmaybeusedtoencrypttheprivatekeyblob(DES,Triple-DES,RC4orRC22).
2NotethatDES,RC2andRC4maynotbeusedwhileoperatingRSAENHinFIPSApprovedmode.
9PublicRSAkeysarealsoexportedusingthisfunction.
AhandletotheRSApublickeyispassedtothefunctionandthepublickeyisexported,alwaysinplaintextasablob.
ThisblobmaythenbeimportedusingtheCryptImportKeyfunction.
SymmetrickeysmayalsobeexportedencryptedwithanRSAkeyusingtheCryptExportKeyfunction.
AhandletothesymmetrickeyandahandletothepublicRSAkeytoencryptwitharepassedtothefunction.
Thefunctionreturnsablob(SIMPLEBLOB)whichistheencryptedsymmetrickey.
Symmetrickeysmayalsobeexportedbywrappingthekeyswithanothersymmetrickey.
ThewrappedkeyisthenexportedasablobandmaybeimportedusingtheCryptImportKeyfunction.
CryptGenKeyTheCryptGenKeyfunctiongeneratesarandomcryptographickey.
AhandletothekeyisreturnedinphKey.
ThishandlecanthenbeusedasneededwithanyCryptoAPIfunctionrequiringakeyhandle.
Thecallingapplicationmustspecifythealgorithmwhencallingthisfunction.
Becausethisalgorithmtypeiskeptbundledwiththekey,theapplicationdoesnotneedtospecifythealgorithmlaterwhentheactualcryptographicoperationsareperformed.
CryptGenRandomTheCryptGenRandomfunctionfillsabufferwithrandombytes.
TherandomnumbergenerationalgorithmistheSHSbasedRNGfromFIPS186.
Duringthefunctioninitialization,aseed,towhichSHA-1isappliedtocreatetheoutputrandom,iscreatedbasedonthecollectionofallthedatalistedintheMiscellaneoussection.
CryptGenRandomacceptscallersupplieddatathroughitsin/outpbBufferparameter.
ThisdataismixedwiththeseedCryptGetKeyParamTheCryptGetKeyParamfunctionretrievesdatathatgovernstheoperationsofakey.
CryptGetUserKeyTheCryptGetUserKeyfunctionretrievesahandleofoneofauser'spublic/privatekeypairs.
CryptImportKeyTheCryptImportKeyfunctiontransfersacryptographickeyfromakeyblobintoacryptographicserviceprovider.
Privatekeysmaybeimportedasblobsandthefunctionwillreturnahandletotheimportedkey.
AsymmetrickeyencryptedwithanRSApublickeyisimportedintotheCryptoImportKeyfunction.
ThefunctionusestheRSAprivatekeyexchangekeytodecrypttheblobandreturnsahandletothesymmetrickey.
10Symmetrickeyswrappedwithothersymmetrickeysmayalsobeimportedusingthisfunction.
Thewrappedkeyblobispassedinalongwithahandletoasymmetrickey,whichthemoduleissupposedtousetounwraptheblob.
Ifthefunctionissuccessfulthenahandletotheunwrappedsymmetrickeyisreturned.
TheCryptImportKeyfunctionrecognizesanewflagCRYPT_IPSEC_HMAC_KEY.
TheflagallowsthecallertosupplytheHMACkeymaterialofsizegreaterthan16bytes.
WithouttheCRYPT_IPSEC_HMAC_KEYflag,theCryptImportKeyfunctionwouldfailwithNTE_BAD_DATAifthecallersuppliestheHMACkeymaterialofsizegreater16bytes.
ForimportingaHMACkey,thecallershouldidentifytheimportedkeyblobasthePLAINTEXTKEYBLOBtypeanduseCALG_RC2asthekeyAlgorithmidentifier.
CryptSetKeyParamTheCryptSetKeyParamfunctioncustomizesvariousaspectsofakey'soperations.
Thisfunctionisusedtosetsession-specificvaluesforsymmetrickeys.
CryptDuplicateKeyTheCryptDuplicateKeyfunctionisusedtoduplicate,makeacopyof,thestateofakeyandreturnsahandletothisnewkey.
TheCryptDestroyKeyfunctionmustbeusedonboththehandletotheoriginalkeyandthenewlyduplicatedkey.
DataEncryptionandDecryptionServicesThefollowingfunctionsprovideinterfacestothecryptomodule'sdataencryptionanddecryptionfunctions.
CryptDecryptTheCryptDecryptfunctiondecryptsdatapreviouslyencryptedusingCryptEncryptfunction.
CryptEncryptTheCryptEncryptfunctionencryptsdata.
ThealgorithmusedtoencryptthedataisdesignatedbythekeyheldbythecryptographicserviceprovidermoduleandisreferencedbythehKeyparameter.
HashingandDigitalSignatureServicesThefollowingfunctionsprovideinterfacestothecryptomodule'shashinganddigitalsignaturefunctions.
11CryptCreateHashTheCryptCreateHashfunctioninitiatesthehashingofastreamofdata.
Itreturnstothecallingapplicationahandletoacryptographicserviceproviderhashobject.
ThishandleisusedinsubsequentcallstoCryptHashDataandCryptHashSessionKeyinordertohashstreamsofdataandsessionkeys.
SHA-1andMD5arethecryptographichashingalgorithmssupported.
Inaddition,aMACusingasymmetrickeyiscreatedwiththiscallandmaybeusedwithanyofthesymmetricblockcipherssupportbythemodule(DES,Triple-DESAES,RC4orRC2).
ForcreatingaHMAChashvalue,thecallerspecifiestheCALG_HMACflagintheAlgidparameter,andtheHMACkeyusingahKeyhandleobtainedfromcallingCryptImportKey.
ACALG_SCHANNEL_MASTER_HASHmaybecreatedwiththiscall.
IfthisisthecasethenahandletooneofthefollowingtypesofkeysmustbepassedinthehKeyparameter,CALG_SSL2_MASTER,CALG_SSL3_MASTER,CALG_PCT1_MASTER,orCALG_TLS1_MASTER.
ThisfunctionwithCALG_SCHANNEL_MASTER_HASHintheALGIDparameterwillcausethederivationofthemastersecretfromthepre-mastersecretassociatedwiththepassedinkeyhandle.
Thiskeyderivationprocessisdoneinthemethodspecifiedintheappropriateprotocolspecification,SSL2.
0,SSL3.
0,PCT1.
0,orTLS.
ThemastersecretisthenassociatedwiththeresultinghashhandleandsessionkeysandMACkeysmaybederivedfromthishashhandle.
Themastersecretmaynotbeexportedorimportedfromthemodule.
ThekeydataassociatedwiththehashhandleiszeroizedwhenCryptDestroyHashiscalled.
CryptDestroyHashTheCryptDestroyHashfunctiondestroysthehashobjectreferencedbythehHashparameter.
Afterahashobjecthasbeendestroyed,itcannolongerbeused.
Whenahashobjectisdestroyed,thecryptomodulezeroizesthememorywithinthemodulewherethehashobjectwasheld.
Thememoryisthenfreed.
IfthehashhandlereferencesaCALG_SCHANNEL_MASTER_HASHkeythen,whenCryptDestroyHashiscalled,theassociatedkeymaterialiszeroizedalso.
AllhashobjectsshouldbedestroyedwiththeCryptDestroyHashfunctionwhentheapplicationisfinishedwiththem.
CryptGetHashParamTheCryptGetHashParamfunctionretrievesdatathatgovernstheoperationsofahashobject.
Theactualhashvaluecanalsoberetrievedbyusingthisfunction.
CryptHashDataTheCryptHashDatafunctionaddsdatatoaspecifiedhashobject.
ThisfunctionandCryptHashSessionKeycanbecalledmultipletimestocomputethehashonlongdatastreamsordiscontinuousdatastreams.
Beforecallingthisfunction,theCryptCreateHashfunctionmustbecalledtocreateahandleofahashobject.
12CryptHashSessionKeyTheCryptHashSessionKeyfunctioncomputesthecryptographichashofakeyobject.
Thisfunctioncanbecalledmultipletimeswiththesamehashhandletocomputethehashofmultiplekeys.
CallstoCryptHashSessionKeycanbeinterspersedwithcallstoCryptHashData.
Beforecallingthisfunction,theCryptCreateHashfunctionmustbecalledtocreatethehandleofahashobject.
CryptSetHashParamTheCryptSetHashParamfunctioncustomizestheoperationsofahashobject.
ForcreatingaHMAChashassociatedwithahashobjectidentifiedthehHashhandle,thecallerusestheCryptSetHashParamfunctionwiththeHP_HMAC_INFOflagtospecifythenecessarySHA-1algorithmusingtheCALG_SHA1flagintheinputHMAC_INFOstructure.
ThereisnoneedforthecallertospecifytheHMACinnerorouterstringsasthecryptographicserviceproviderisusingtheinnerandouterstringvaluesasdocumentedintheDraftFIPSforHMACasitsdefaultvalues.
CryptSignHashTheCryptSignHashfunctionsignsdata.
Becauseallsignaturealgorithmsareasymmetricandthusslow,theCryptoAPIdoesnotallowdatabesigneddirectly.
Instead,dataisfirsthashedandCryptSignHashisusedtosignthehash.
ThecryptomodulesupportssigningwithRSA.
TheX9.
31formatmaybespecifiedbyaflag.
CryptVerifySignatureTheCryptVerifySignaturefunctionverifiesthesignatureofahashobject.
Beforecallingthisfunction,theCryptCreateHashfunctionmustbecalledtocreatethehandleofahashobject.
CryptHashDataorCryptHashSessionKeyisthenusedtoadddataorsessionkeystothehashobject.
ThecryptomodulesupportsverifyingRSAsignatures.
TheX9.
31formatmaybespecifiedbyaflag.
Afterthisfunctionhasbeencompleted,onlyCryptDestroyHashcanbecalledusingthehHashhandle.
CryptDuplicateHashTheCryptDuplicateHashfunctionisusedtoduplicate,makeacopyof,thestateofahashandreturnsahandletothisnewhash.
TheCryptDestroyHashfunctionmustbeusedonboththehandletotheoriginalhashandthenewlyduplicatedhash.
13CRYPTOGRAPHICKEYMANAGEMENTTheRSAENHcryptomodulemanageskeysinthefollowingmanner.
KeyMaterialRSAENHcancreateandusekeysforthefollowingalgorithms:RSASignature,RSAKeyExchange,RC2,RC4,DES,Triple-DES,andAES3.
EachtimeanapplicationlinkswithRSAENH,theDLLisinstantiatedandnokeysexistwithin.
TheuserapplicationisresponsibleforimportingkeysintoRSAENHorusingRSAENH'sfunctionstogeneratekeys.
SeeMSDNLibrary\PlatformSDK\WindowsBaseServices\Security\CryptoAPI2.
0\CryptoAPIReference\CryptoAPIStructures\CryptographyStructuresformoreinformationaboutkeyformatsandstructures.
(MSDNHome>MSDNLibrary>Win32andCOMDevelopment>Security>Cryptography>CryptographyReference>GeneralCryptographyStructures)KeyGenerationRandomkeyscanbegeneratedbycallingtheCryptGenKey()function.
KeyscanalsobecreatedfromknownvaluesviatheCryptDeriveKey()function.
DES,Triple-DES,andAESkeys3aregeneratedfollowingthetechniquesgiveninFIPSPUB186-2,Appendix3,RandomNumberGenerationandinFIPS140-2RNGVSrequirements.
SeeMSDNLibrary\PlatformSDK\WindowsBaseServices\Security\CryptoAPI2.
0\CryptoAPIReference\CryptoAPIFunctions\BaseCryptographyFunctions\KeyGenerationandExchangeFunctionsformoreinformation.
(MSDNHome>MSDNLibrary>Win32andCOMDevelopment>Security>Cryptography>CryptographyReference>KeyGenerationandExchangeFunctions)KeyEntryandOutputKeyscanbebothexportedandimportedoutofandintoRSAENHviaCryptExportKey()andCryptImportKey().
ExportedprivatekeysmaybeencryptedwithasymmetrickeypassedintotheCryptExportKeyfunction.
Anyofthesymmetricalgorithmssupportedbythecryptomodulemaybeusedtoencryptprivatekeysforexport(AES,DES,Triple-DES,RC4orRC23).
Whenprivatekeysaregeneratedorimportedfromarchival,theyarecoveredwiththeMicrosoftWindowsServer2003DataProtectionAPI(DPAPI)andthenoutputtedtothefilesysteminthecoveredform.
Symmetrickeyentryandoutputisdonebyexchangingkeysusingtherecipient'sasymmetricpublickey.
Symmetrickeyentryandoutputmayalsobedonebyexportingasymmetrickeywrappedwithanothersymmetrickey.
SeeMSDNLibrary\PlatformSDK\WindowsBaseServices\Security\CryptoAPI2.
0\CryptoAPIReference\CryptoAPIFunctions\BaseCryptographyFunctions\KeyGenerationandExchangeFunctionsformoreinformation.
(MSDNHome>MSDNLibrary>Win32andCOMDevelopment>Security>Cryptography>Cryptography3NotethatDES,RC2andRC4maynotbeusedwhileoperatingRSAENHinFIPSApprovdemode.
14Reference>KeyGenerationandExchangeFunctions)KeyStorageRSAENHdoesnotprovidepersistentstorageofkeys.
While,itispossibletostorekeysinthefilesystem,thisfunctionalityisoutsidethescopeofthisvalidation.
Thetaskofprotecting(orencrypting)thekeyspriortostorageinthefilesystemisdelegatedtotheDataProtectionAPI(DPAPI)ofMicrosoftWindowsServer2003.
TheDPAPIisaseparatecomponentoftheoperatingsystemthatisoutsidetheboundariesofthecryptomodulebutreliesuponRSAENHforallcryptographicfunctionality.
Thissectiondescribesthisfunctionalityforinformationpurposesonly.
Whenakeycontainerisdeleted,thefileiszeroizedbeforebeingdeleted.
RSAENHoffloadsthekeystorageoperationstotheMicrosoftWindowsServer2003operatingsystem,whichisoutsidethecryptographicboundary.
Becausekeysarenotpersistentlystoredinsidethecryptographicmodule,privatekeysareinsteadencryptedbytheMicrosoftDataProtectionAPI(DPAPI)serviceandstoredintheMicrosoftWindowsServer2003filesystem.
Keysarezeroizedfrommemoryafteruse.
Asanexception,thekeyusedforpowerupself-testingisstoredinthecryptographicmodule.
WhenanoperatorrequestsakeyedcryptographicoperationfromRSAENH,his/herkeysareretrievedfromthefilesystembyRSAENHwiththesupportofDPAPI.
Thereadersmayrefertothetechnicalpaper"WindowsDataProtection"(http://msdn.
microsoft.
com/library/en-us/dnsecure/html/windataprotection-dpapi.
asp)forfurtherdetailofDPAPI.
KeyArchivalRSAENHdoesnotdirectlyarchivecryptographickeys.
Theoperatormaychoosetoexportacryptographickeylabeledasexportable(cf.
"KeyInputandOutput"above),butmanagementofthesecurearchivalofthatkeyistheresponsibilityoftheuser.
KeyDestructionAllkeysaredestroyedandtheirmemorylocationzeroizedwhentheoperatorcallsCryptDestroyKeyonthatkeyhandle.
Privatekeysthatresideoutsidethecryptographicboundary(onesstoredbytheoperatingsysteminencryptedformatintheWindowsServer2003DPAPIsystemportionoftheOS)aredestroyedwhentheoperatorcallsCryptAcquireContextwiththeCRYPT_DELETE_KEYSETflag.
15SELF-TESTSRSAENHprovidesalloftheFIPS140-2requiredself-tests.
Asrequired,themoduleperformssomeofitsself-testsuponpowerupandotherself-testsuponencounteringaspecificcondition(keypairorrandomnumbergeneration).
NotethatRSAENHalsoprovidesself-testsfornon-FIPSapprovedalgorithms,andthoughnotrequired,RSAENHprovidesthesetestsforextrasecurity.
Finally,itshouldbenotedthatnon-FIPSapprovedalgorithmsshouldnotbeusedifoperatingRSAENHinFIPSmode.
Power-upThefollowingFIPS-approvedalgorithmtestsareinitiateduponpower-upTriple-DESECBencrypt/decryptKATTriple-DESCBCencrypt/decryptKATTriple-DES112ECBencrypt/decryptKATTriple-DES112CBCencrypt/decryptKATSHA-1hashKATSHA-256KATSHA-384KATSHA-512KATSHA-1HMAChashKATSHA-256HMAChashKATSHA-384HMAChashKATSHA-512HMAChashKATRSAsign/verifypoweruptestSoftwareintegritytestviaaRSAsignatureverificationoftheDLLimageAES128ECBencrypt/decryptKATAES192ECBencrypt/decryptKATAES256ECBencrypt/decryptKATAES128CBCencrypt/decryptKATAES192CBCencrypt/decryptKATAES256CBCencrypt/decryptKATFIPS186-2GeneralPurposerandomgeneratorThefollowingnon-FIPSapprovedalgorithmspower-uptestsinclude(maynotbeusedinFIPS-mode)DESECBencrypt/decryptKATDESCBCencrypt/decryptKATRC4encrypt/decryptKATRC2CBCencrypt/decryptKATRC2ECBencrypt/decryptKATMD5hashKATConditionalThefollowingareinitiatedatkeygenerationandrandomnumbergenerationrespectively:RSApairwiseconsistencytestContinuousrandomnumbergeneratortest1617MISCELLANEOUSThefollowingitemsaddressrequirementsnotaddressedabove.
CryptographicBypassAcryptographicbypassisnotsupportedinRSAENH.
OperatorAuthenticationRSAENHprovidesnoauthenticationofoperators.
However,theMicrosoftWindowsServer2003operatingsystemuponwhichitrunsdoesprovideauthentication,butthisisoutsideofthescopeofRSAENH'sFIPSvalidation.
TheinformationabouttheauthenticationprovidedbyMicrosoftWindowsServer2003isforinformationalpurposesonly.
MicrosoftWindowsServer2003requiresauthenticationfromatrustedcomputerbase(TCB4)beforeauserisabletoaccesssystemservices.
OnceauserisauthenticatedfromtheTCB,aprocessiscreatedbearingtheoperator'ssecuritytoken.
Allsubsequentprocessesandthreadscreatedbythatoperatorareimplicitlyassignedtheparent's(thustheoperator's)securitytoken.
EveryuserthathasbeenauthenticatedbyMicrosoftWindowsServer2003isnaturallyassignedtheoperatorrolewhenhe/sheaccessesRSAENH.
ModularExpOffloadTheModularExpOffloadfunctionoffloadsmodularexponentiationfromacryptographicserviceprovidertoahardwareaccelerator.
ThecryptographicserviceproviderwillcheckintheregistryforthevalueHKLM\Software\Microsoft\Cryptography\ExpoOffloadthatcanbethenameofaDLL.
ThecryptographicserviceproviderusesLoadLibrarytoloadthatDLLandcallsGetProcAddresstogettheOffloadModExpoentrypointintheDLLspecifiedintheregistry.
Thecryptographicserviceproviderusestheentrypointtoperformallmodularexponentiationsforbothpublicandprivatekeyoperations.
Twochecksaremadebeforeaprivatekeyisoffloaded.
NotethattouseRSAENHinFIPSmode,thisfunctionshouldnotbeused.
OperatingSystemSecurityTheRSAENHcryptomoduleisintendedtorunonWindowsServer2003inSingleUserMode.
Whenanoperatingsystemprocessloadsthecryptomoduleintomemory,thecryptomodulerunsaRSAsignatureonthecryptomodule'sdiskimageofRSAENH.
DLL,excludingtheRSAsignature,checksum,andexportsignatureresources.
ThissignatureiscomparedtothevaluestoredintheRSAsignatureresource.
Initializationwillonlysucceedifthetwovaluesareequal.
Eachoperatingsystemprocesscreatesauniqueinstanceofthecryptomodulethatiswhollydedicatedtothatprocess.
Thecryptomoduleisnotsharedbetweenprocesses.
Eachprocessrequestingaccessisprovideditsowninstanceofthemodule.
Assuch,eachprocess4TheTCBisthepartoftheoperatingsystemthatisdesignedtomeetthesecurityfunctionalrequirementsoftheControlledAccessProtectionProfile,whichcanbefoundat.
Atthistime,WindowsServer2003hasnotbeenevaluated.
18hasfullaccesstoallinformationandkeyswithinthemodule.
NotethatnokeysorotherinformationaremaintainedupondetachmentfromtheDLL,thusaninstantiationofthemodulewillonlycontainkeysorinformationthattheprocesshasplacedinthemodule.
TheCollectionofDataUsedtoCreateaSeedforRandomNumberTheRSAEnhmoduleusestheFIPS186-2generalpurposeapprovedPRNGtogeneratetherandomdatarequiredforsymmetric&asymmetrickeygeneration.
ThePRNGconcatenatesmanydifferentsourcesofinformation(detailedbelow)andtheresultingbytestreamishashedwithSHA-1toproducea20-byteseedvalue.
User-supplieddataTheprocessIDofthecurrentprocessrequestingrandomdataThethreadIDofthecurrentthreadwithintheprocessrequestingrandomdataA32bittickcountsincethesystembootThecurrentlocaldateandtimeThecurrentsystemtimeofdayinformationconsistingoftheboottime,currenttime,timezonebias,timezoneID,boottimebias,andsleeptimebiasThecurrenthardware-platform-dependenthigh-resolutionperformance-countervalueTheinformationaboutthesystem'scurrentusageofbothphysicalandvirtualmemory,andpagefileThelocaldiskinformationincludingthenumbersofsectorspercluster,bytespersector,freeclusters,andclustersthatareavailabletotheuserassociatedwiththecallingthreadAhashoftheenvironmentblockforthecurrentprocessSomehardwareCPU-specificcyclecountersThesystemprocessorperformanceinformationconsistingofIdleProcessTime,IoReadTransferCount,IoWriteTransferCount,IoOtherTransferCount,IoReadOperationCount,IoWriteOperationCount,IoOtherOperationCount,AvailablePages,CommittedPages,CommitLimit,PeakCommitment,PageFaultCount,CopyOnWriteCount,TransitionCount,CacheTransitionCount,DemandZeroCount,PageReadCount,PageReadIoCount,CacheReadCount,CacheIoCount,DirtyPagesWriteCount,DirtyWriteIoCount,MappedPagesWriteCount,MappedWriteIoCount,PagedPoolPages,NonPagedPoolPages,PagedPoolAllocatedspace,PagedPoolFreespace,NonPagedPoolAllocatedspace,NonPagedPoolFreespace,FreeSystempagetableentry,ResidentSystemCodePage,TotalSystemDriverPages,TotalSystemCodePages,NonPagedPoolLookasideHits,PagedPoolLookasideHits,AvailablePagedPoolPages,ResidentSystemCachePage,ResidentPagedPoolPage,ResidentSystemDriverPage,CachemanagerFastReadwithNoWait,CachemanagerFastReadwithWait,CachemanagerFastReadResourceMissed,CachemanagerFastReadNotPossible,CachemanagerFastMemoryDescriptorListReadwithNoWait,CachemanagerFastMemoryDescriptorListReadwithWait,CachemanagerFastMemoryDescriptorListReadResourceMissed,CachemanagerFastMemoryDescriptorListReadNotPossible,CachemanagerMapDatawithNoWait,CachemanagerMapDatawithWait,CachemanagerMapDatawithNoWaitMiss,CachemanagerMapDataWaitMiss,CachemanagerPin-MappedDataCount,CachemanagerPin-ReadwithNoWait,CachemanagerPinReadwithWait,CachemanagerPin-ReadwithNoWaitMiss,CachemanagerPin-ReadWaitMiss,CachemanagerCopy-ReadwithNoWait,CachemanagerCopy-19ReadwithWait,CachemanagerCopy-ReadwithNoWaitMiss,CachemanagerCopy-ReadwithWaitMiss,CachemanagerMemoryDescriptorListReadwithNoWait,CachemanagerMemoryDescriptorListReadwithWait,CachemanagerMemoryDescriptorListReadwithNoWaitMiss,CachemanagerMemoryDescriptorListReadwithWaitMiss,CachemanagerReadAheadIOs,CachemanagerLazy-WriteIOs,CachemanagerLazy-WritePages,CachemanagerDataFlushes,CachemanagerDataPages,ContextSwitches,FirstLevelTranslationbufferFills,SecondLevelTranslationbufferFills,andSystemCallsThesystemexceptioninformationconsistingofAlignmentFixupCount,ExceptionDispatchCount,FloatingEmulationCount,andByteWordEmulationCountThesystemlookasideinformationconsistingofCurrentDepth,MaximumDepth,TotalAllocates,AllocateMisses,TotalFrees,FreeMisses,Type,Tag,andSizeThesysteminterruptinformationconsistingofcontextswitches,deferredprocedurecallcount,deferredprocedurecallrate,timeincrement,deferredprocedurecallbypasscount,andasynchronousprocedurecallbypasscountThesystemprocessinformationconsistingofNextEntryOffset,NumberOfThreads,CreateTime,UserTime,KernelTime,ImageName,BasePriority,UniqueProcessID,InheritedfromUniqueProcessID,HandleCount,SessionID,PageDirectoryBase,PeakVirtualSize,VirtualSize,PageFaultCount,PeakWorkingSetSize,WorkingSetSize,QuotaPeakPagedPoolUsage,QuotaPagedPoolUsage,QuotaPeakNonPagedPoolUsage,QuotaNonPagedPoolUsage,PagefileUsage,PeakPagefileUsage,PrivatePageCount,ReadOperationCount,WriteOperationCount,OtherOperationCount,ReadTransferCount,WriteTransferCount,andOtherTransferCount20FORMOREINFORMATIONForthelatestinformationonWindowsServer2003,checkoutourWorldWideWebsiteathttp://www.
microsoft.
com/windows.
InformationregardingFIPS140-2andFIPS186-2canbefoundontheCMVPwebsiteathttp://csrc.
nist.
gov/cryptval/.

极光KVM美国美国洛杉矶元/极光kvmCN7月促销,美国CN2 GIA大带宽vps,洛杉矶联通CUVIP,14元/月起

极光KVM怎么样?极光KVM本月主打产品:美西CN2双向,1H1G100M,189/年!在美西CN2资源“一兆难求”的大环境下,CN2+大带宽 是很多用户的福音,也是商家实力的象征。目前,极光KVM在7月份的促销,7月促销,美国CN2 GIA大带宽vps,洛杉矶联通cuvip,14元/月起;香港CN2+BGP仅19元/月起,这次补货,机会,不要错过了。点击进入:极光KVM官方网站地址极光KVM七月...

€4.99/月Contabo云服务器,美国高性价比VPS/4核8G内存200G SSD存储

Contabo是一家运营了20多年的欧洲老牌主机商,之前主要是运营德国数据中心,Contabo在今年4月份增设新加坡数据中心,近期同时新增了美国纽约和西雅图数据中心。全球布局基本完成,目前可选的数据中心包括:德国本土、美国东部(纽约)、美国西部(西雅图)、美国中部(圣路易斯)和亚洲的新加坡数据中心。Contabo的之前国外主机测评网站有多次介绍,他们家的特点就是性价比高,而且这个高不是一般的高,是...

TMTHosting:夏季优惠,美国西雅图VPS月付7折,年付65折,美国服务器95折AS4837线路

tmthosting怎么样?tmthosting家本站也分享过多次,之前也是不温不火的商家,加上商家的价格略贵,之到斯巴达商家出现,这个商家才被中国用户熟知,原因就是斯巴达家的机器是三网回程AS4837线路,而且也没有多余的加价,斯巴达家断货后,有朋友发现TMTHosting竟然也在同一机房,所以大家就都入手了TMTHosting家的机器。目前,TMTHosting商家放出了夏季优惠,针对VPS推...

2003服务器系统下载为你推荐
toupian粤语有几个拼音字母?access数据库修复Access数据库恢复,有些表被损坏或有些表的部分记录被损坏,求解啊企业信息查询系统查企业信息哪个的软件好?ym.163.com网易163企业邮箱的foxmail怎样设置?cuteftpCuteFTP Pro如何使用?文档下载请问手机版wps如何把云文档下载到手机上的本地文档?科创板首批名单科创板开市后,可以通过哪些基金参与科创板投资和打新股?网络u盘你们谁知道网络硬盘怎么用关闭评论抖音上购物后给卖家的评价怎么删除掉?headersalreadysentPHP中session_start的意思是什么
域名注册服务 域名交易网 瓦工 外贸主机 香港托管 流媒体服务器 512av 网通服务器ip 网通代理服务器 免费ftp站点 卡巴斯基永久免费版 150邮箱 百度云1t 国外视频网站有哪些 英雄联盟台服官网 帽子云排名 全能空间 atom处理器 浙江服务器 域名和主机 更多