Commit Graph

963 Commits

Author SHA1 Message Date
chubtub
f98edb9371 Add xpath filter to select SoftwareIdentity element 2023-05-08 15:37:58 -04:00
chubtub
fc802bce6e Detached signature references its signed data by URI. Modified the validator class to distinguish between enveloped and detached signatures. 2023-05-08 12:24:09 -04:00
chubtub
b237309ec9 Clean up code following rebase with master. 2023-05-08 07:03:04 -04:00
chubtub
9d35b3c17a Modify gateway class to generate a detached signature for a signed swidtag. Created new unit test and updated test resource files. 2023-05-08 07:02:51 -04:00
chubtub
7f840e9a35 Restructure try/catch blocks for readability 2023-04-17 23:59:06 -04:00
chubtub
114443ff14 Revert "WIP: Add xpath filter to select SoftwareIdentity element"
This reverts commit de594103090862570c1517f78fe3944de1f2d7e5.
2023-04-17 23:59:05 -04:00
chubtub
edf9f6afa0 WIP: register id attribute for SoftwareIdentity 2023-04-17 23:59:05 -04:00
chubtub
76d99fa765 WIP: Add xpath filter to select SoftwareIdentity element 2023-04-17 23:59:05 -04:00
chubtub
2e4accde0b WIP: attach detached signature as a sibling element to a signed base RIM 2023-04-17 23:59:05 -04:00
chubtub
379e1e1ce5 Add support to commandline interface for secondary signatures 2023-04-17 23:59:01 -04:00
chubtub
63a240c2ec Merge branch 'master' of github.com:nsacyber/HIRS 2023-04-17 12:16:16 -04:00
chubtub
610e1f316c Merge branch 'issue-504' 2023-04-17 12:16:03 -04:00
chubtub
8ed23d2ae5
Merge pull request from nsacyber/issue-504
[] Rimtool processes JKS and PEM truststores for base RIM operations
2023-04-17 12:15:14 -04:00
iadgovuser26
e7b0f5396d
Removed travis status 2023-03-28 17:26:53 -04:00
chubtub
4620fa33c7 Add KeyName to all signed swidtags without embedded signing certs. Specify keystore.jks as the signing credential used by --default-key. 2023-03-28 12:34:59 -04:00
chubtub
611d2a37d7 Fix unit tests 2023-03-01 23:48:06 -05:00
chubtub
401fb404f0 Modify validator class to handle JKS and PEM truststores appropriately. 2023-03-01 20:03:20 -05:00
chubtub
53a4816dec Add a validator class for credential argument input 2023-02-17 00:13:39 -05:00
chubtub
12338e40c2 Overload CredentialParser method to handle parsing correct signing cert from a PEM truststore. 2023-02-13 23:23:57 -05:00
chubtub
4b80a32129 Merge branch 'master' into issue-504 2023-01-09 15:30:48 -05:00
chubtub
d18dc60adb
Merge pull request from nsacyber/issue-493
[] Consolidated timestamp parameter
2023-01-09 15:24:39 -05:00
chubtub
7fdd4b1e44 Added unit tests for timestamps 2023-01-09 11:47:30 -05:00
chubtub
b53c4fa123 Modify gateway class to detect JKS or PEM truststore for creating base RIMs 2023-01-09 10:38:22 -05:00
chubtub
b7f9c52fcb Consolidate timestamp parameters into --timestamp RFC3(339|852). Added a validator class for the parameter arguments. 2022-12-29 01:55:19 -05:00
chubtub
6a84bb50c5 Merge branch 'java_xml_timestamp' into issue-493 2022-12-19 18:32:40 -05:00
chubtub
f74bc49120 Suppoort user input for RFC3339 timestamps 2022-12-19 10:39:10 -05:00
chubtub
307d0b3fe4 Read in counter signature file contents, encode in base64, and place in Timestamp element 2022-12-08 08:15:55 -05:00
chubtub
054699d14d Add commandline support for passing in a countersignature file for RFC3852 timestamps 2022-12-08 08:15:55 -05:00
chubtub
2252270d94 Modify help text 2022-12-08 08:15:55 -05:00
chubtub
b5681411c0 Updated references of RFC3161 to RFC3852 2022-12-08 08:15:55 -05:00
chubtub
075d68664f If no timestamp format is given a timestamp is not included in the resulting XML. Updated unit tests. 2022-12-08 08:15:55 -05:00
chubtub
fcf59290fe Modify gateway class to insert a timestamp according to user selected format 2022-12-08 08:15:55 -05:00
chubtub
464abbf156 Modify Main and Commander classes to support options for RFC3161 and RFC3339 2022-12-08 08:15:55 -05:00
chubtub
233171893b Add constants to support separate namespaces for RFC3161 and RCF3339. 2022-12-08 08:15:55 -05:00
chubtub
106e1fef76 Clean up SwidTagConstants class values 2022-12-08 08:15:55 -05:00
chubtub
dffcbf59bd Add support for timestamping a signature 2022-12-08 08:15:50 -05:00
chubtub
59ef355326 Modify help text 2022-12-06 06:50:53 -05:00
iadgovuser26
224c14d943
Merge pull request from nsacyber/issue-499
[] Modify whitespace for proper report formatting
2022-12-05 17:00:58 -05:00
chubtub
a1e7b0f7e4 Merge branch 'java_xml_timestamp' of github.com:nsacyber/HIRS into java_xml_timestamp 2022-11-21 14:26:35 -05:00
chubtub
88a350335a Merge branch 'master' into java_xml_timestamp 2022-11-21 14:19:12 -05:00
chubtub
180eebd16b Merge branch 'master' into java_xml_timestamp 2022-11-21 14:18:04 -05:00
chubtub
fbcaadee31 Updated references of RFC3161 to RFC3852 2022-11-21 14:04:11 -05:00
chubtub
6538daa4b3 Modify whitespace for proper report formatting 2022-11-17 12:58:59 -05:00
iadgovuser26
a70dae4a27
Merge pull request from nsacyber/issue-495
Added a Dockerfile for Rocky Linux
2022-11-09 15:35:32 -05:00
iadgovuser26
98ef3126ad Added a Dockerfile for Rocky Linux 2022-11-02 09:51:47 -04:00
iadgovuser26
ba1c154a16
Added discussion link 2022-10-28 09:43:18 -04:00
chubtub
8b54023b5c
Merge branch 'master' into java_xml_timestamp 2022-10-26 10:25:19 -04:00
chubtub
d01b5de478 If no timestamp format is given a timestamp is not included in the resulting XML. Updated unit tests. 2022-10-26 07:51:25 -04:00
chubtub
ed2797735e Modify gateway class to insert a timestamp according to user selected format 2022-09-21 10:52:32 -04:00
chubtub
97ccab0473 Modify Main and Commander classes to support options for RFC3161 and RFC3339 2022-09-20 00:19:01 -04:00