1 /* 2 * Copyright (c) 1997, 2013, 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 @SuppressWarnings({"unchecked", "deprecation", "all"}) 29 public class URIName implements sun.security.x509.GeneralNameInterface { 30 URIName(sun.security.util.DerValue derValue)31 public URIName(sun.security.util.DerValue derValue) throws java.io.IOException { 32 throw new RuntimeException("Stub!"); 33 } 34 URIName(java.lang.String name)35 public URIName(java.lang.String name) throws java.io.IOException { 36 throw new RuntimeException("Stub!"); 37 } 38 URIName(java.net.URI uri, java.lang.String host, sun.security.x509.DNSName hostDNS)39 URIName(java.net.URI uri, java.lang.String host, sun.security.x509.DNSName hostDNS) { 40 throw new RuntimeException("Stub!"); 41 } 42 nameConstraint(sun.security.util.DerValue value)43 public static sun.security.x509.URIName nameConstraint(sun.security.util.DerValue value) 44 throws java.io.IOException { 45 throw new RuntimeException("Stub!"); 46 } 47 getType()48 public int getType() { 49 throw new RuntimeException("Stub!"); 50 } 51 encode(sun.security.util.DerOutputStream out)52 public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { 53 throw new RuntimeException("Stub!"); 54 } 55 toString()56 public java.lang.String toString() { 57 throw new RuntimeException("Stub!"); 58 } 59 equals(java.lang.Object obj)60 public boolean equals(java.lang.Object obj) { 61 throw new RuntimeException("Stub!"); 62 } 63 getURI()64 public java.net.URI getURI() { 65 throw new RuntimeException("Stub!"); 66 } 67 68 @android.compat.annotation.UnsupportedAppUsage getName()69 public java.lang.String getName() { 70 throw new RuntimeException("Stub!"); 71 } 72 73 @android.compat.annotation.UnsupportedAppUsage getScheme()74 public java.lang.String getScheme() { 75 throw new RuntimeException("Stub!"); 76 } 77 getHost()78 public java.lang.String getHost() { 79 throw new RuntimeException("Stub!"); 80 } 81 getHostObject()82 public java.lang.Object getHostObject() { 83 throw new RuntimeException("Stub!"); 84 } 85 hashCode()86 public int hashCode() { 87 throw new RuntimeException("Stub!"); 88 } 89 constrains(sun.security.x509.GeneralNameInterface inputName)90 public int constrains(sun.security.x509.GeneralNameInterface inputName) 91 throws java.lang.UnsupportedOperationException { 92 throw new RuntimeException("Stub!"); 93 } 94 subtreeDepth()95 public int subtreeDepth() throws java.lang.UnsupportedOperationException { 96 throw new RuntimeException("Stub!"); 97 } 98 99 private java.lang.String host; 100 101 private sun.security.x509.DNSName hostDNS; 102 103 private sun.security.x509.IPAddressName hostIP; 104 105 private java.net.URI uri; 106 } 107