• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 
28 package sun.security.pkcs;
29 
30 import sun.security.util.DerEncoder;
31 import sun.security.util.DerInputStream;
32 import sun.security.x509.X500Name;
33 import java.io.IOException;
34 
35 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
36 @libcore.api.CorePlatformApi(status = libcore.api.CorePlatformApi.Status.STABLE)
37 @libcore.api.Hide
38 @SuppressWarnings({"unchecked", "deprecation", "all"})
39 public class SignerInfo implements sun.security.util.DerEncoder {
40 
41 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
42 @libcore.api.CorePlatformApi(status = libcore.api.CorePlatformApi.Status.STABLE)
43 @libcore.api.Hide
SignerInfo()44 public SignerInfo() { throw new RuntimeException("Stub!"); }
45 
46 @libcore.api.Hide
SignerInfo(X500Name issuerName, java.math.BigInteger serial, sun.security.x509.AlgorithmId digestAlgorithmId, sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest)47 public SignerInfo(X500Name issuerName, java.math.BigInteger serial, sun.security.x509.AlgorithmId digestAlgorithmId, sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest) { throw new RuntimeException("Stub!"); }
48 
49 @libcore.api.Hide
SignerInfo(X500Name issuerName, java.math.BigInteger serial, sun.security.x509.AlgorithmId digestAlgorithmId, PKCS9Attributes authenticatedAttributes, sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest, PKCS9Attributes unauthenticatedAttributes)50 public SignerInfo(X500Name issuerName, java.math.BigInteger serial, sun.security.x509.AlgorithmId digestAlgorithmId, PKCS9Attributes authenticatedAttributes, sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, byte[] encryptedDigest, PKCS9Attributes unauthenticatedAttributes) { throw new RuntimeException("Stub!"); }
51 
52 @libcore.api.Hide
SignerInfo(DerInputStream derin)53 public SignerInfo(DerInputStream derin) throws java.io.IOException, sun.security.pkcs.ParsingException { throw new RuntimeException("Stub!"); }
54 
55 @libcore.api.Hide
SignerInfo(DerInputStream derin, boolean oldStyle)56 public SignerInfo(DerInputStream derin, boolean oldStyle) throws java.io.IOException, sun.security.pkcs.ParsingException { throw new RuntimeException("Stub!"); }
57 
58 @libcore.api.Hide
encode(DerOutputStream out)59 public void encode(DerOutputStream out) throws java.io.IOException { throw new RuntimeException("Stub!"); }
60 
61 @libcore.api.Hide
derEncode(java.io.OutputStream out)62 public void derEncode(java.io.OutputStream out) throws java.io.IOException { throw new RuntimeException("Stub!"); }
63 
64 @libcore.api.Hide
getCertificate(sun.security.pkcs.PKCS7 block)65 public java.security.cert.X509Certificate getCertificate(sun.security.pkcs.PKCS7 block) throws java.io.IOException { throw new RuntimeException("Stub!"); }
66 
67 @android.annotation.SystemApi(client = android.annotation.SystemApi.Client.MODULE_LIBRARIES)
68 @libcore.api.CorePlatformApi(status = libcore.api.CorePlatformApi.Status.STABLE)
69 @libcore.api.Hide
getCertificateChain(sun.security.pkcs.PKCS7 block)70 public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.security.pkcs.PKCS7 block) throws java.io.IOException { throw new RuntimeException("Stub!"); }
71 
72 @libcore.api.Hide
getVersion()73 public java.math.BigInteger getVersion() { throw new RuntimeException("Stub!"); }
74 
75 @libcore.api.Hide
getIssuerName()76 public sun.security.x509.X500Name getIssuerName() { throw new RuntimeException("Stub!"); }
77 
78 @libcore.api.Hide
getCertificateSerialNumber()79 public java.math.BigInteger getCertificateSerialNumber() { throw new RuntimeException("Stub!"); }
80 
81 @libcore.api.Hide
getDigestAlgorithmId()82 public sun.security.x509.AlgorithmId getDigestAlgorithmId() { throw new RuntimeException("Stub!"); }
83 
84 @libcore.api.Hide
getAuthenticatedAttributes()85 public sun.security.pkcs.PKCS9Attributes getAuthenticatedAttributes() { throw new RuntimeException("Stub!"); }
86 
87 @libcore.api.Hide
getDigestEncryptionAlgorithmId()88 public sun.security.x509.AlgorithmId getDigestEncryptionAlgorithmId() { throw new RuntimeException("Stub!"); }
89 
90 @libcore.api.Hide
getEncryptedDigest()91 public byte[] getEncryptedDigest() { throw new RuntimeException("Stub!"); }
92 
93 @libcore.api.Hide
getUnauthenticatedAttributes()94 public sun.security.pkcs.PKCS9Attributes getUnauthenticatedAttributes() { throw new RuntimeException("Stub!"); }
95 
96 @libcore.api.Hide
getTsToken()97 public sun.security.pkcs.PKCS7 getTsToken() throws java.io.IOException { throw new RuntimeException("Stub!"); }
98 
99 @libcore.api.Hide
getTimestamp()100 public java.security.Timestamp getTimestamp() throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException, java.security.SignatureException { throw new RuntimeException("Stub!"); }
101 
102 @libcore.api.Hide
toString()103 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
104 }
105