Lines Matching defs:AVA

42  * X.500 Attribute-Value-Assertion (AVA):  an attribute, as identified by
61 public class AVA implements DerEncoder {
63 private static final Debug debug = Debug.getInstance("x509", "\t[AVA]");
114 public AVA(ObjectIdentifier type, DerValue val) {
123 * Parse an RFC 1779 or RFC 2253 style AVA string: CN=fee fie foe fum
124 * or perhaps with quotes. Not all defined AVA tags are supported;
127 * This terminates at unescaped AVA separators ("+") or RDN
131 AVA(Reader in) throws IOException {
136 * Parse an RFC 1779 or RFC 2253 style AVA string: CN=fee fie foe fum
140 * This terminates at unescaped AVA separators ("+") or RDN
144 AVA(Reader in, Map<String, String> keywordMap) throws IOException {
149 * Parse an AVA string formatted according to format.
154 AVA(Reader in, int format) throws IOException {
159 * Parse an AVA string formatted according to format.
164 * @param in Reader containing AVA String
167 * OID String. Each AVA keyword will be mapped to the corresponding OID.
170 * @throws IOException if the AVA String is not valid in the specified
173 AVA(Reader in, int format, Map<String, String> keywordMap)
185 c = readChar(in, "Incorrect AVA format");
204 throw new IOException("Incorrect AVA RFC2253 format - " +
229 * Get the ObjectIdentifier of this AVA.
236 * Get the value of this AVA as a DerValue.
243 * Get the value of this AVA as a String.
252 throw new RuntimeException("AVA string is null");
257 throw new RuntimeException("AVA error: " + e, e);
278 throw new IOException("AVA parse, invalid hex " +
293 throw new IOException("AVA parse, zero hex digits");
298 throw new IOException("AVA parse, odd number of hex digits");
337 ("Invalid escaped character in AVA: " +
366 throw new IOException("AVA had characters other than "
423 ("Invalid escaped character in AVA: '" +
432 "in AVA. Only a leading or trailing " +
439 ("Invalid escaped '#' character in AVA. " +
444 ("Invalid escaped character in AVA: '" +
456 "' in AVA appears without escape");
493 throw new IOException("Incorrect AVA RFC2253 format - " +
578 // in practice, AVA was passed a StringReader from X500Name,
605 AVA(DerValue derval) throws IOException {
609 throw new IOException("AVA not a sequence");
615 throw new IOException("AVA, extra bytes = "
620 AVA(DerInputStream in) throws IOException {
628 if (obj instanceof AVA == false) {
631 AVA other = (AVA)obj;
637 * Returns a hashcode for this AVA.
639 * @return a hashcode for this AVA.
1079 * Special characters (e.g. AVA list separators) cause strings
1201 case AVA.RFC1779:
1203 case AVA.RFC2253:
1205 case AVA.DEFAULT:
1230 * OID String. Each AVA keyword will be mapped to the corresponding OID.
1241 if (standard == AVA.RFC2253) {
1265 if (standard == AVA.RFC1779) {
1270 } else if (standard == AVA.DEFAULT) {
1336 if (standard == AVA.RFC2253) {