Lines Matching defs:standard
171 * standard or an OID String from the keywordMap is improperly formatted
1059 // with non-standard keyword attributes may be represented
1199 private boolean isCompliant(int standard) {
1200 switch (standard) {
1209 throw new IllegalArgumentException("Invalid standard " + standard);
1215 * string encoded object identifier) in the given standard.
1217 * @throws IOException If the keyword is not valid in the specified standard
1219 static ObjectIdentifier getOID(String keyword, int standard)
1222 (keyword, standard, Collections.<String, String>emptyMap());
1227 * string encoded object identifier) in the given standard.
1233 * @throws IOException If the keyword is not valid in the specified standard
1237 (String keyword, int standard, Map<String, String> extraKeywordMap)
1241 if (standard == AVA.RFC2253) {
1255 if ((ak != null) && ak.isCompliant(standard)) {
1262 // no keyword found or not standard compliant, check if OID string
1265 if (standard == AVA.RFC1779) {
1270 } else if (standard == AVA.DEFAULT) {
1289 * Get a keyword for the given ObjectIdentifier according to standard.
1293 static String getKeyword(ObjectIdentifier oid, int standard) {
1295 (oid, standard, Collections.<String, String>emptyMap());
1299 * Get a keyword for the given ObjectIdentifier according to standard.
1305 (ObjectIdentifier oid, int standard, Map<String, String> extraOidMap) {
1312 if ((ak != null) && ak.isCompliant(standard)) {
1336 if (standard == AVA.RFC2253) {
1344 * Test if oid has an associated keyword in standard.
1346 static boolean hasKeyword(ObjectIdentifier oid, int standard) {
1351 return ak.isCompliant(standard);