1 /* 2 * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.security.x509; 27 28 import java.util.*; 29 import sun.security.util.*; 30 31 @SuppressWarnings({"unchecked", "deprecation", "all"}) 32 public class GeneralNames { 33 34 @dalvik.annotation.compat.UnsupportedAppUsage GeneralNames(sun.security.util.DerValue derVal)35 public GeneralNames(sun.security.util.DerValue derVal) throws java.io.IOException { 36 throw new RuntimeException("Stub!"); 37 } 38 39 @dalvik.annotation.compat.UnsupportedAppUsage GeneralNames()40 public GeneralNames() { 41 throw new RuntimeException("Stub!"); 42 } 43 44 @dalvik.annotation.compat.UnsupportedAppUsage add(sun.security.x509.GeneralName name)45 public sun.security.x509.GeneralNames add(sun.security.x509.GeneralName name) { 46 throw new RuntimeException("Stub!"); 47 } 48 get(int index)49 public sun.security.x509.GeneralName get(int index) { 50 throw new RuntimeException("Stub!"); 51 } 52 53 @dalvik.annotation.compat.UnsupportedAppUsage isEmpty()54 public boolean isEmpty() { 55 throw new RuntimeException("Stub!"); 56 } 57 size()58 public int size() { 59 throw new RuntimeException("Stub!"); 60 } 61 iterator()62 public java.util.Iterator<sun.security.x509.GeneralName> iterator() { 63 throw new RuntimeException("Stub!"); 64 } 65 names()66 public java.util.List<sun.security.x509.GeneralName> names() { 67 throw new RuntimeException("Stub!"); 68 } 69 70 @dalvik.annotation.compat.UnsupportedAppUsage encode(sun.security.util.DerOutputStream out)71 public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { 72 throw new RuntimeException("Stub!"); 73 } 74 equals(java.lang.Object obj)75 public boolean equals(java.lang.Object obj) { 76 throw new RuntimeException("Stub!"); 77 } 78 hashCode()79 public int hashCode() { 80 throw new RuntimeException("Stub!"); 81 } 82 toString()83 public java.lang.String toString() { 84 throw new RuntimeException("Stub!"); 85 } 86 87 private final java.util.List<sun.security.x509.GeneralName> names; 88 89 { 90 names = null; 91 } 92 } 93