-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address Test Port final TMS fixes for rhel7 to master branch, phase 2…
…, RHCS-5403 This checkin coincides with the final sub task of porting the rhel7 tms to the master branch. Once this code makes it to the testing phase, every feature present in the lastest version of the rhel7 tms system should be present in any releases taken from the master branch. Add some more TPS CS.cfg comments for newer features. Fix tps docker test to include the cfg variable needed to allow tpsclient enrollments to complete. Change-Id: I7c98ddeffafd912debb908c9efc7a6bb591807ee
- Loading branch information
Showing
33 changed files
with
3,903 additions
and
2,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
base/common/src/main/java/org/dogtagpki/tps/apdu/DeleteKeysAPDU.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package org.dogtagpki.tps.apdu; | ||
|
||
/** | ||
* ** G&D 256 Key Rollover Support ** | ||
*/ | ||
|
||
import org.dogtagpki.tps.main.TPSBuffer; | ||
|
||
public class DeleteKeysAPDU extends APDU { | ||
|
||
public DeleteKeysAPDU(TPSBuffer keyVersion) { | ||
setCLA((byte) 0x84); | ||
setINS((byte) 0xE4); | ||
setP1((byte) 0x00); | ||
setP2((byte) 0x00); | ||
|
||
TPSBuffer keyData = new TPSBuffer(); | ||
|
||
keyData.add((byte) 0xD2); // tag for deleting key version | ||
keyData.add((byte) keyVersion.size()); // length of key version | ||
keyData.add(keyVersion); // key version | ||
|
||
//CMS.debug("DeleteKeysAPDU: keyData = " + keyData.toHexString()); | ||
|
||
setData(keyData); | ||
|
||
} | ||
|
||
@Override | ||
public APDU.Type getType() { | ||
return APDU.Type.APDU_DELETE_KEYS; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.