1 /* 2 * Copyright (c) 1997, 2012, 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 CertificateExtensions 33 implements sun.security.x509.CertAttrSet<sun.security.x509.Extension> { 34 35 @android.compat.annotation.UnsupportedAppUsage CertificateExtensions()36 public CertificateExtensions() { 37 throw new RuntimeException("Stub!"); 38 } 39 40 @android.compat.annotation.UnsupportedAppUsage CertificateExtensions(sun.security.util.DerInputStream in)41 public CertificateExtensions(sun.security.util.DerInputStream in) throws java.io.IOException { 42 throw new RuntimeException("Stub!"); 43 } 44 init(sun.security.util.DerInputStream in)45 private void init(sun.security.util.DerInputStream in) throws java.io.IOException { 46 throw new RuntimeException("Stub!"); 47 } 48 parseExtension(sun.security.x509.Extension ext)49 private void parseExtension(sun.security.x509.Extension ext) throws java.io.IOException { 50 throw new RuntimeException("Stub!"); 51 } 52 encode(java.io.OutputStream out)53 public void encode(java.io.OutputStream out) 54 throws java.security.cert.CertificateException, java.io.IOException { 55 throw new RuntimeException("Stub!"); 56 } 57 58 @android.compat.annotation.UnsupportedAppUsage encode(java.io.OutputStream out, boolean isCertReq)59 public void encode(java.io.OutputStream out, boolean isCertReq) 60 throws java.security.cert.CertificateException, java.io.IOException { 61 throw new RuntimeException("Stub!"); 62 } 63 64 @android.compat.annotation.UnsupportedAppUsage set(java.lang.String name, java.lang.Object obj)65 public void set(java.lang.String name, java.lang.Object obj) throws java.io.IOException { 66 throw new RuntimeException("Stub!"); 67 } 68 69 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) get(java.lang.String name)70 public sun.security.x509.Extension get(java.lang.String name) throws java.io.IOException { 71 throw new RuntimeException("Stub!"); 72 } 73 getExtension(java.lang.String name)74 sun.security.x509.Extension getExtension(java.lang.String name) { 75 throw new RuntimeException("Stub!"); 76 } 77 delete(java.lang.String name)78 public void delete(java.lang.String name) throws java.io.IOException { 79 throw new RuntimeException("Stub!"); 80 } 81 getNameByOid(sun.security.util.ObjectIdentifier oid)82 public java.lang.String getNameByOid(sun.security.util.ObjectIdentifier oid) 83 throws java.io.IOException { 84 throw new RuntimeException("Stub!"); 85 } 86 getElements()87 public java.util.Enumeration<sun.security.x509.Extension> getElements() { 88 throw new RuntimeException("Stub!"); 89 } 90 getAllExtensions()91 public java.util.Collection<sun.security.x509.Extension> getAllExtensions() { 92 throw new RuntimeException("Stub!"); 93 } 94 getUnparseableExtensions()95 public java.util.Map<java.lang.String, sun.security.x509.Extension> getUnparseableExtensions() { 96 throw new RuntimeException("Stub!"); 97 } 98 getName()99 public java.lang.String getName() { 100 throw new RuntimeException("Stub!"); 101 } 102 hasUnsupportedCriticalExtension()103 public boolean hasUnsupportedCriticalExtension() { 104 throw new RuntimeException("Stub!"); 105 } 106 equals(java.lang.Object other)107 public boolean equals(java.lang.Object other) { 108 throw new RuntimeException("Stub!"); 109 } 110 hashCode()111 public int hashCode() { 112 throw new RuntimeException("Stub!"); 113 } 114 toString()115 public java.lang.String toString() { 116 throw new RuntimeException("Stub!"); 117 } 118 119 public static final java.lang.String IDENT = "x509.info.extensions"; 120 121 public static final java.lang.String NAME = "extensions"; 122 123 private static java.lang.Class[] PARAMS; 124 125 private static final sun.security.util.Debug debug; 126 127 static { 128 debug = null; 129 } 130 131 private java.util.Map<java.lang.String, sun.security.x509.Extension> map; 132 133 private java.util.Map<java.lang.String, sun.security.x509.Extension> unparseableExtensions; 134 135 private boolean unsupportedCritExt = false; 136 } 137