Add constants to support separate namespaces for RFC3161 and RCF3339.

This commit is contained in:
chubtub 2022-09-13 10:24:38 -04:00
parent 106e1fef76
commit 233171893b

View File

@ -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";
}