From 233171893be623b0b69f7af0702717cbf9c7f6dc Mon Sep 17 00:00:00 2001 From: chubtub <43381989+chubtub@users.noreply.github.com> Date: Tue, 13 Sep 2022 10:24:38 -0400 Subject: [PATCH] Add constants to support separate namespaces for RFC3161 and RCF3339. --- .../src/main/java/hirs/swid/SwidTagConstants.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/tcg_rim_tool/src/main/java/hirs/swid/SwidTagConstants.java b/tools/tcg_rim_tool/src/main/java/hirs/swid/SwidTagConstants.java index 07fdc9e9..218578e8 100644 --- a/tools/tcg_rim_tool/src/main/java/hirs/swid/SwidTagConstants.java +++ b/tools/tcg_rim_tool/src/main/java/hirs/swid/SwidTagConstants.java @@ -74,9 +74,13 @@ public class SwidTagConstants { public static final String NIST_NS = "http://csrc.nist.gov/ns/swid/2015-extensions/1.0"; public static final String TCG_NS = "https://trustedcomputinggroup.org/wp-content/uploads/TCG_RIM_Model"; + public static final String RFC3161_NS = "https://www.ietf.org/rfc/rfc3161.txt"; + public static final String RFC3339_NS = "https://www.ietf.org/rfc/rfc3339.txt"; public static final String N8060_PFX = "n8060"; public static final String RIM_PFX = "rim"; + public static final String RCF3161_PFX = "rcf3161"; + public static final String RCF3339_PFX = "rcf3339"; public static final QName _SHA256_HASH = new QName( "http://www.w3.org/2001/04/xmlenc#sha256", HASH, "SHA256"); @@ -128,6 +132,9 @@ public class SwidTagConstants { NIST_NS, "envVarSuffix", N8060_PFX); public static final QName _N8060_PATHSEPARATOR = new QName( NIST_NS, "pathSeparator", N8060_PFX); - +/* + public static final QName = new QName(); + public static final QName = new QName(); +*/ public static final String CA_ISSUERS = "1.3.6.1.5.5.7.48.2"; }