189. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/25/2018 2:13:11 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

189.1 Files compared

# Location File Last Modified
1 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\crypto SecretKeyFactorySpi.java Mon Jan 22 14:46:52 2018 UTC
2 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\crypto SecretKeyFactorySpi.java Wed Sep 12 17:18:40 2018 UTC

189.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 10 196
Changed 9 20
Inserted 0 0
Removed 0 0

189.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

189.4 Active regular expressions

No regular expressions were active.

189.5 Comparison detail

  1   /*
  2    * Copyrig ht (c) 199 7, 2011, O racle and/ or its aff iliates. A ll rights  reserved.
  3    * DO NOT  ALTER OR R EMOVE COPY RIGHT NOTI CES OR THI S FILE HEA DER.
  4    *
  5    * This co de is free  software;  you can r edistribut e it and/o r modify i t
  6    * under t he terms o f the GNU  General Pu blic Licen se version  2 only, a s
  7    * publish ed by the  Free Softw are Founda tion.  Ora cle design ates this
  8    * particu lar file a s subject  to the "Cl asspath" e xception a s provided
  9    * by Orac le in the  LICENSE fi le that ac companied  this code.
  10    *
  11    * This co de is dist ributed in  the hope  that it wi ll be usef ul, but WI THOUT
  12    * ANY WAR RANTY; wit hout even  the implie d warranty  of MERCHA NTABILITY  or
  13    * FITNESS  FOR A PAR TICULAR PU RPOSE.  Se e the GNU  General Pu blic Licen se
  14    * version  2 for mor e details  (a copy is  included  in the LIC ENSE file  that
  15    * accompa nied this  code).
  16    *
  17    * You sho uld have r eceived a  copy of th e GNU Gene ral Public  License v ersion
  18    * 2 along  with this  work; if  not, write  to the Fr ee Softwar e Foundati on,
  19    * Inc., 5 1 Franklin  St, Fifth  Floor, Bo ston, MA 0 2110-1301  USA.
  20    *
  21    * Please  contact Or acle, 500  Oracle Par kway, Redw ood Shores , CA 94065  USA
  22    * or visi t www.orac le.com if  you need a dditional  informatio n or have  any
  23    * questio ns.
  24    */
  25  
  26   package ja vax.crypto ;
  27  
  28   import jav a.security .*;
  29   import jav a.security .spec.*;
  30  
  31   /**
  32    * This cl ass define s the <i>S ervice Pro vider Inte rface</i>  (<b>SPI</b >)
  33    * for the  <code>Sec retKeyFact ory</code>  class.
  34    * All the  abstract  methods in  this clas s must be  implemente d by each
  35    * cryptog raphic ser vice provi der who wi shes to su pply the i mplementat ion
  36    * of a  PW      -key facto ry for a p articular  algorithm.
  37    *
  38    * <P> A p rovider sh ould docum ent all th e key spec ifications  supported  by its
  39    *  PW        key factor y.
  40    * For exa mple, the  DES  PW      -key facto ry supplie d by the " SunJCE" pr ovider
  41    * support s <code>DE SKeySpec</ code> as a  transpare nt represe ntation of  DES
  42    * keys, a nd that pr ovider's  PW      -key facto ry for Tri ple DES ke ys support s
  43    * <code>D ESedeKeySp ec</code>  as a trans parent rep resentatio n of Tripl e DES
  44    * keys.
  45    *
  46    * @author  Jan Luehe
  47    *
  48    * @see Se cretKey
  49    * @see ja vax.crypto .spec.DESK eySpec
  50    * @see ja vax.crypto .spec.DESe deKeySpec
  51    * @since  1.4
  52    */
  53  
  54   public abs tract clas s SecretKe yFactorySp i {
  55  
  56       /**
  57        * Gen erates a < code>Secre tKey</code > object f rom the
  58        * pro vided key  specificat ion (key m aterial).
  59        *
  60          * @param k eySpec the  specifica tion (key  material)  of the  PW        key
  61        *
  62          * @return  the  PW        key
  63        *
  64        * @ex ception In validKeySp ecExceptio n if the g iven key s pecificati on
  65          * is inapp ropriate f or this  PW      -key facto ry to prod uce a  PW        key.
  66        */
  67       protec ted abstra ct SecretK ey engineG enerateSec ret(KeySpe c keySpec)
  68           th rows Inval idKeySpecE xception;
  69  
  70       /**
  71        * Ret urns a spe cification  (key mate rial) of t he given k ey
  72        * obj ect in the  requested  format.
  73        *
  74        * @pa ram key th e key
  75        *
  76        * @pa ram keySpe c the requ ested form at in whic h the key  material s hall be
  77        * ret urned
  78        *
  79        * @re turn the u nderlying  key specif ication (k ey materia l) in the
  80        * req uested for mat
  81        *
  82        * @ex ception In validKeySp ecExceptio n if the r equested k ey specifi cation is
  83        * ina ppropriate  for the g iven key ( e.g., the  algorithms  associate d with
  84        * <co de>key</co de> and <c ode>keySpe c</code> d o not matc h, or
  85        * <co de>key</co de> refere nces a key  on a cryp tographic  hardware d evice
  86        * whe reas <code >keySpec</ code> is t he specifi cation of  a software -based
  87        * key ), or the  given key  cannot be  dealt with
  88        * (e. g., the gi ven key ha s an algor ithm or fo rmat not s upported b y this
  89          PW      -key facto ry).
  90        */
  91       protec ted abstra ct KeySpec  engineGet KeySpec(Se cretKey ke y, Class<? > keySpec)
  92           th rows Inval idKeySpecE xception;
  93  
  94       /**
  95        * Tra nslates a  key object , whose pr ovider may  be unknow n or
  96        * pot entially u ntrusted,  into a cor responding  key objec t of this
  97          PW      -key facto ry.
  98        *
  99        * @pa ram key th e key whos e provider  is unknow n or untru sted
  100        *
  101        * @re turn the t ranslated  key
  102        *
  103        * @ex ception In validKeyEx ception if  the given  key canno t be proce ssed
  104          * by this  PW      -key facto ry.
  105        */
  106       protec ted abstra ct SecretK ey engineT ranslateKe y(SecretKe y key)
  107           th rows Inval idKeyExcep tion;
  108   }