Changeset 3
- Timestamp:
- 06/26/06 23:02:36 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tpm4java/trunk/src/de/datenzone/tpm4java/PCRSelection.java
r2 r3 98 98 * 99 99 * @param pcrId 100 * @return 100 * @return the state of the PCR 101 101 */ 102 102 public boolean getReg(int pcrId) { … … 110 110 * Read the number of selectable PCR by this PCRSelection 111 111 * 112 * @return 112 * @return the PCR count 113 113 */ 114 114 public int getMaxPCR() { … … 119 119 * Read the number of selected PCR in this PCRSelection 120 120 * 121 * @return 121 * @return the selected PCR count 122 122 */ 123 123 public int getSetPCRCount() { … … 133 133 * Convert to a native TPM_PCR_SELECTION data structure 134 134 * 135 * @return 135 * @return TPM_PCR_SELECTION blob 136 136 */ 137 137 public byte[] getTPM_PCR_SELECTION() { … … 148 148 * 149 149 * @param pcrSrc 150 * @return 150 * @return TPM_PCR_COMPOSITE blob 151 151 * @throws IOException 152 152 * @throws TPMException … … 171 171 * 172 172 * @param pcrSrc 173 * @return 173 * @return TPM_COMPOSITE hash 174 174 * @throws NoSuchAlgorithmException 175 175 * @throws IOException … … 189 189 * the same nounce that has been given to TPM_Qoute 190 190 * @param pcrSrc 191 * @return 191 * @return TPM_QUOTE_INFO blob 192 192 * @throws IOException 193 193 * @throws TPMException … … 202 202 203 203 /** 204 * Create a TPM_Q OUTE_INFO with a <b>different</b> version number -204 * Create a TPM_QUOTE_INFO with a <b>different</b> version number - 205 205 * allthough the version should be fixed to 1.1.0.0, at least one TPM does 206 206 * not follow the spec in this case. … … 211 211 * @param version 212 212 * the version in a byte[4] array 213 * @return 213 * @return TPM_QUOTE_INFO blob 214 214 * @throws IOException 215 215 * @throws TPMException … … 240 240 * when releasing some data. May be <b>null</b> 241 241 * @param pcrSrc 242 * @return 242 * @return TPM_PCR_INFO blob 243 243 * @throws NoSuchAlgorithmException 244 244 * @throws IOException … … 268 268 * 269 269 * @param b 270 * @return 270 * @return the newly created PCRSelection 271 271 */ 272 272 public static PCRSelection fromComposite(ByteBuffer b) { … … 291 291 * Get the raw parsed blob. 292 292 * 293 * @return 293 * @return the raw blob 294 294 */ 295 295 public byte[] getRaw() {
