• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1996, 2013, 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 java.io.*;
31 import java.util.*;
32 import java.security.*;
33 import sun.security.util.*;
34 import sun.security.x509.AlgorithmId;
35 import sun.security.x509.X500Name;
36 
37 @libcore.api.CorePlatformApi
38 @libcore.api.Hide
39 @SuppressWarnings({"unchecked", "deprecation", "all"})
40 public class PKCS7 {
41 
42 @libcore.api.CorePlatformApi
PKCS7(java.io.InputStream in)43 public PKCS7(java.io.InputStream in) throws java.io.IOException, sun.security.pkcs.ParsingException { throw new RuntimeException("Stub!"); }
44 
PKCS7(sun.security.util.DerInputStream derin)45 public PKCS7(sun.security.util.DerInputStream derin) throws sun.security.pkcs.ParsingException { throw new RuntimeException("Stub!"); }
46 
47 @libcore.api.CorePlatformApi
PKCS7(byte[] bytes)48 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { throw new RuntimeException("Stub!"); }
49 
PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.security.cert.X509Certificate[] certificates, java.security.cert.X509CRL[] crls, sun.security.pkcs.SignerInfo[] signerInfos)50 public PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.security.cert.X509Certificate[] certificates, java.security.cert.X509CRL[] crls, sun.security.pkcs.SignerInfo[] signerInfos) { throw new RuntimeException("Stub!"); }
51 
PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.security.cert.X509Certificate[] certificates, sun.security.pkcs.SignerInfo[] signerInfos)52 public PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.security.cert.X509Certificate[] certificates, sun.security.pkcs.SignerInfo[] signerInfos) { throw new RuntimeException("Stub!"); }
53 
encodeSignedData(java.io.OutputStream out)54 public void encodeSignedData(java.io.OutputStream out) throws java.io.IOException { throw new RuntimeException("Stub!"); }
55 
encodeSignedData(sun.security.util.DerOutputStream out)56 public void encodeSignedData(sun.security.util.DerOutputStream out) throws java.io.IOException { throw new RuntimeException("Stub!"); }
57 
verify(sun.security.pkcs.SignerInfo info, byte[] bytes)58 public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo info, byte[] bytes) throws java.security.NoSuchAlgorithmException, java.security.SignatureException { throw new RuntimeException("Stub!"); }
59 
60 @libcore.api.CorePlatformApi
verify(sun.security.pkcs.SignerInfo info, java.io.InputStream dataInputStream)61 public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo info, java.io.InputStream dataInputStream) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.SignatureException { throw new RuntimeException("Stub!"); }
62 
63 @libcore.api.CorePlatformApi
verify(byte[] bytes)64 public sun.security.pkcs.SignerInfo[] verify(byte[] bytes) throws java.security.NoSuchAlgorithmException, java.security.SignatureException { throw new RuntimeException("Stub!"); }
65 
verify()66 public sun.security.pkcs.SignerInfo[] verify() throws java.security.NoSuchAlgorithmException, java.security.SignatureException { throw new RuntimeException("Stub!"); }
67 
getVersion()68 public java.math.BigInteger getVersion() { throw new RuntimeException("Stub!"); }
69 
getDigestAlgorithmIds()70 public sun.security.x509.AlgorithmId[] getDigestAlgorithmIds() { throw new RuntimeException("Stub!"); }
71 
72 @libcore.api.CorePlatformApi
getContentInfo()73 public sun.security.pkcs.ContentInfo getContentInfo() { throw new RuntimeException("Stub!"); }
74 
75 @libcore.api.CorePlatformApi
getCertificates()76 public java.security.cert.X509Certificate[] getCertificates() { throw new RuntimeException("Stub!"); }
77 
getCRLs()78 public java.security.cert.X509CRL[] getCRLs() { throw new RuntimeException("Stub!"); }
79 
80 @libcore.api.CorePlatformApi
getSignerInfos()81 public sun.security.pkcs.SignerInfo[] getSignerInfos() { throw new RuntimeException("Stub!"); }
82 
getCertificate(java.math.BigInteger serial, sun.security.x509.X500Name issuerName)83 public java.security.cert.X509Certificate getCertificate(java.math.BigInteger serial, sun.security.x509.X500Name issuerName) { throw new RuntimeException("Stub!"); }
84 
toString()85 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
86 
isOldStyle()87 public boolean isOldStyle() { throw new RuntimeException("Stub!"); }
88 }
89