Changeset 3

Show
Ignore:
Timestamp:
06/26/06 23:02:36 (4 years ago)
Author:
martin
Message:

typos, and @return comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tpm4java/trunk/src/de/datenzone/tpm4java/PCRSelection.java

    r2 r3  
    9898     *  
    9999     * @param pcrId 
    100      * @return 
     100     * @return the state of the PCR 
    101101     */ 
    102102    public boolean getReg(int pcrId) { 
     
    110110     * Read the number of selectable PCR by this PCRSelection 
    111111     *  
    112      * @return 
     112     * @return the PCR count 
    113113     */ 
    114114    public int getMaxPCR() { 
     
    119119     * Read the number of selected PCR in this PCRSelection 
    120120     *  
    121      * @return 
     121     * @return the selected PCR count 
    122122     */ 
    123123    public int getSetPCRCount() { 
     
    133133     * Convert to a native TPM_PCR_SELECTION data structure 
    134134     *  
    135      * @return 
     135     * @return TPM_PCR_SELECTION blob 
    136136     */ 
    137137    public byte[] getTPM_PCR_SELECTION() { 
     
    148148     *  
    149149     * @param pcrSrc 
    150      * @return 
     150     * @return TPM_PCR_COMPOSITE blob 
    151151     * @throws IOException 
    152152     * @throws TPMException 
     
    171171     *  
    172172     * @param pcrSrc 
    173      * @return 
     173     * @return TPM_COMPOSITE hash 
    174174     * @throws NoSuchAlgorithmException 
    175175     * @throws IOException 
     
    189189     *            the same nounce that has been given to TPM_Qoute 
    190190     * @param pcrSrc 
    191      * @return 
     191     * @return TPM_QUOTE_INFO blob 
    192192     * @throws IOException 
    193193     * @throws TPMException 
     
    202202 
    203203    /** 
    204      * Create a TPM_QOUTE_INFO with a <b>different</b> version number - 
     204     * Create a TPM_QUOTE_INFO with a <b>different</b> version number - 
    205205     * allthough the version should be fixed to 1.1.0.0, at least one TPM does 
    206206     * not follow the spec in this case. 
     
    211211     * @param version 
    212212     *            the version in a byte[4] array 
    213      * @return 
     213     * @return TPM_QUOTE_INFO blob 
    214214     * @throws IOException 
    215215     * @throws TPMException 
     
    240240     *            when releasing some data. May be <b>null</b> 
    241241     * @param pcrSrc 
    242      * @return 
     242     * @return TPM_PCR_INFO blob 
    243243     * @throws NoSuchAlgorithmException 
    244244     * @throws IOException 
     
    268268     *  
    269269     * @param b 
    270      * @return 
     270     * @return the newly created PCRSelection 
    271271     */ 
    272272    public static PCRSelection fromComposite(ByteBuffer b) { 
     
    291291     * Get the raw parsed blob. 
    292292     *  
    293      * @return 
     293     * @return the raw blob 
    294294     */ 
    295295    public byte[] getRaw() {