1 /* 2 * Copyright (c) 2003, 2011, 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 final class AccessDescription { 32 AccessDescription( sun.security.util.ObjectIdentifier accessMethod, sun.security.x509.GeneralName accessLocation)33 public AccessDescription( 34 sun.security.util.ObjectIdentifier accessMethod, 35 sun.security.x509.GeneralName accessLocation) { 36 throw new RuntimeException("Stub!"); 37 } 38 39 @dalvik.annotation.compat.UnsupportedAppUsage AccessDescription(sun.security.util.DerValue derValue)40 public AccessDescription(sun.security.util.DerValue derValue) throws java.io.IOException { 41 throw new RuntimeException("Stub!"); 42 } 43 44 @dalvik.annotation.compat.UnsupportedAppUsage getAccessMethod()45 public sun.security.util.ObjectIdentifier getAccessMethod() { 46 throw new RuntimeException("Stub!"); 47 } 48 49 @dalvik.annotation.compat.UnsupportedAppUsage getAccessLocation()50 public sun.security.x509.GeneralName getAccessLocation() { 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 hashCode()58 public int hashCode() { 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 toString()66 public java.lang.String toString() { 67 throw new RuntimeException("Stub!"); 68 } 69 70 public static final sun.security.util.ObjectIdentifier Ad_CAISSUERS_Id; 71 72 static { 73 Ad_CAISSUERS_Id = null; 74 } 75 76 public static final sun.security.util.ObjectIdentifier Ad_CAREPOSITORY_Id; 77 78 static { 79 Ad_CAREPOSITORY_Id = null; 80 } 81 82 public static final sun.security.util.ObjectIdentifier Ad_OCSP_Id; 83 84 static { 85 Ad_OCSP_Id = null; 86 } 87 88 public static final sun.security.util.ObjectIdentifier Ad_TIMESTAMPING_Id; 89 90 static { 91 Ad_TIMESTAMPING_Id = null; 92 } 93 94 private sun.security.x509.GeneralName accessLocation; 95 96 private sun.security.util.ObjectIdentifier accessMethod; 97 98 private int myhash = -1; // 0xffffffff 99 } 100