1 13 14 package org.ejbca.core.protocol.xkms.common; 15 16 import javax.xml.namespace.QName ; 17 18 26 27 public class XKMSConstants { 28 29 private static final String DEFAULT_ANYURI = "http://www.w3.org/2002/03/xkms#"; 30 31 32 33 public static final String RESULTMAJOR_SUCCESS = DEFAULT_ANYURI + "Success"; 34 public static final String RESULTMAJOR_VERSIONMISMATCH = DEFAULT_ANYURI + "VersionMismatch"; 35 public static final String RESULTMAJOR_SENDER = DEFAULT_ANYURI + "Sender"; 36 public static final String RESULTMAJOR_RECIEVER = DEFAULT_ANYURI + "Receiver"; 37 public static final String RESULTMAJOR_REPRESENT = DEFAULT_ANYURI + "Represent"; 38 public static final String RESULTMAJOR_PENDING = DEFAULT_ANYURI + "Pending"; 39 40 public static final String RESULTMINOR_NOMATCH = DEFAULT_ANYURI + "NoMatch"; 41 public static final String RESULTMINOR_TOOMANYRESPONSES = DEFAULT_ANYURI + "TooManyResponses"; 42 public static final String RESULTMINOR_INCOMPLETE = DEFAULT_ANYURI + "Incomplete"; 43 public static final String RESULTMINOR_FAILURE = DEFAULT_ANYURI + "Failure"; 44 public static final String RESULTMINOR_REFUSED = DEFAULT_ANYURI + "Refused"; 45 public static final String RESULTMINOR_NOAUTHENTICATION = DEFAULT_ANYURI + "NoAuthentication"; 46 public static final String RESULTMINOR_MESSAGENOTSUPPORTED = DEFAULT_ANYURI + "MessageNotSupported"; 47 public static final String RESULTMINOR_UNKNOWNREPONSEID = DEFAULT_ANYURI + "UnknownResponseId"; 48 public static final String RESULTMINOR_REPRESENTREQUIRED = DEFAULT_ANYURI + "RepresentRequired"; 49 public static final String RESULTMINOR_NOTSYNCHRONOUS = DEFAULT_ANYURI + "NotSynchronous"; 50 public static final String RESULTMINOR_OPTIONALELEMENTNOTSUPPORTED = DEFAULT_ANYURI + "OptionalElementNotSupported"; 51 public static final String RESULTMINOR_POPREQUIRED = DEFAULT_ANYURI + "ProofOfPossessionRequired"; 52 public static final String RESULTMINOR_TIMEINSTANTNOTSUPPORTED = DEFAULT_ANYURI + "TimeInstantNotSupported"; 53 public static final String RESULTMINOR_TIMEINSTANTOUTOFRANGE = DEFAULT_ANYURI + "TimeInstantOutOfRange"; 54 55 public static final String RESPONSMEC_PENDING = DEFAULT_ANYURI + "Pending"; 56 public static final String RESPONSMEC_REPRESENT = DEFAULT_ANYURI + "Represent"; 57 public static final String RESPONSMEC_REQUESTSIGNATUREVALUE = DEFAULT_ANYURI + "RequestSignatureValue"; 58 59 public static final String RESPONDWITH_KEYNAME = DEFAULT_ANYURI + "KeyName"; 60 public static final String RESPONDWITH_KEYVALUE = DEFAULT_ANYURI + "KeyValue"; 61 public static final String RESPONDWITH_X509CERT = DEFAULT_ANYURI + "X509Cert"; 62 public static final String RESPONDWITH_X509CHAIN = DEFAULT_ANYURI + "X509Chain"; 63 public static final String RESPONDWITH_X509CRL = DEFAULT_ANYURI + "X509CRL"; 64 public static final String RESPONDWITH_RETRIEVALMETHOD = DEFAULT_ANYURI + "RetrievalMethod"; 65 public static final String RESPONDWITH_PGP = DEFAULT_ANYURI + "PGP"; 66 public static final String RESPONDWITH_PGPWEB = DEFAULT_ANYURI + "PGPWeb"; 67 public static final String RESPONDWITH_SPKI = DEFAULT_ANYURI + "SPKI"; 68 public static final String RESPONDWITH_PRIVATEKEY = DEFAULT_ANYURI + "PrivateKey"; 69 70 public static final String KEYUSAGE_ENCRYPTION = DEFAULT_ANYURI + "Encryption"; 71 public static final String KEYUSAGE_SIGNATURE = DEFAULT_ANYURI + "Signature"; 72 public static final String KEYUSAGE_EXCHANGE = DEFAULT_ANYURI + "Exchange"; 73 74 public static final String USEKEYWITH_XKMS = DEFAULT_ANYURI; 75 public static final String USEKEYWITH_XKMSPROFILE = DEFAULT_ANYURI + "/profile"; 76 public static final String USEKEYWITH_SMIME = "urn:ietf:rfc:2633"; 77 public static final String USEKEYWITH_PGP = "urn:ietf:rfc:2440"; 78 public static final String USEKEYWITH_TLS = "urn:ietf:rfc:2246"; 79 public static final String USEKEYWITH_TLSHTTP = "urn:ietf:rfc:2818"; 80 public static final String USEKEYWITH_TLSSMTP = "urn:ietf:rfc:2487"; 81 public static final String USEKEYWITH_IPSEC = "urn:ietf:rfc:2401"; 82 public static final String USEKEYWITH_PKIX = "urn:ietf:rfc:2459"; 83 84 public static final String STATUSVALUE_VALID = DEFAULT_ANYURI + "Valid"; 85 public static final String STATUSVALUE_INVALID = DEFAULT_ANYURI + "Invalid"; 86 public static final String STATUSVALUE_INDETERMINATE = DEFAULT_ANYURI + "Indeterminate"; 87 88 public static final String STATUSREASON_ISSUERTRUST = DEFAULT_ANYURI + "IssuerTrust"; 89 public static final String STATUSREASON_REVOCATIONSTATUS = DEFAULT_ANYURI + "RevocationStatus"; 90 public static final String STATUSREASON_VALIDITYINTERVAL = DEFAULT_ANYURI + "ValidityInterval"; 91 public static final String STATUSREASON_SIGNATURE = DEFAULT_ANYURI + "Signature"; 92 93 public static final String PENDNOTIFICATION_MECHANISM_SMTP = "urn:ietf:rfc:822"; 94 public static final String PENDNOTIFICATION_MECHANISM_HTTP = "urn:ietf:rfc:2616"; 95 96 public static final String PENDNOTIFICATION_IDENTIFIER_SMTP = "mailto:"; 97 public static final String PENDNOTIFICATION_IDENTIFIER_HTTP = "http://"; 98 99 public final static QName _X509DataTypeX509Certificate_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); 100 } 101 | Popular Tags |