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