Home
last modified time | relevance | path

Searched refs:security (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/libcore/ojluni/annotations/hiddenapi/java/security/
DSignature.java27 package java.security;
32 public abstract class Signature extends java.security.SignatureSpi {
38 public static java.security.Signature getInstance(java.lang.String algorithm) in getInstance()
39 throws java.security.NoSuchAlgorithmException { in getInstance()
44 private static java.security.Signature getInstance( in getInstance()
45 sun.security.jca.GetInstance.Instance instance, java.lang.String algorithm) { in getInstance()
49 private static boolean isSpi(java.security.Provider.Service s) { in isSpi()
53 public static java.security.Signature getInstance( in getInstance()
55 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getInstance()
59 public static java.security.Signature getInstance( in getInstance()
[all …]
DKeyStore.java26 package java.security;
34 java.security.KeyStoreSpi keyStoreSpi, in KeyStore()
35 java.security.Provider provider, in KeyStore()
40 public static java.security.KeyStore getInstance(java.lang.String type) in getInstance()
41 throws java.security.KeyStoreException { in getInstance()
45 public static java.security.KeyStore getInstance( in getInstance()
47 throws java.security.KeyStoreException, java.security.NoSuchProviderException { in getInstance()
51 public static java.security.KeyStore getInstance( in getInstance()
52 java.lang.String type, java.security.Provider provider) in getInstance()
53 throws java.security.KeyStoreException { in getInstance()
[all …]
DKeyPairGenerator.java26 package java.security;
31 public abstract class KeyPairGenerator extends java.security.KeyPairGeneratorSpi {
42 private static java.security.KeyPairGenerator getInstance( in getInstance()
43 sun.security.jca.GetInstance.Instance instance, java.lang.String algorithm) { in getInstance()
47 public static java.security.KeyPairGenerator getInstance(java.lang.String algorithm) in getInstance()
48 throws java.security.NoSuchAlgorithmException { in getInstance()
52 public static java.security.KeyPairGenerator getInstance( in getInstance()
54 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getInstance()
58 public static java.security.KeyPairGenerator getInstance( in getInstance()
59 java.lang.String algorithm, java.security.Provider provider) in getInstance()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS7.java27 package sun.security.pkcs;
30 import java.security.*;
32 import sun.security.timestamp.*;
33 import sun.security.util.*;
39 throws java.io.IOException, sun.security.pkcs.ParsingException { in PKCS7()
43 public PKCS7(sun.security.util.DerInputStream derin) throws sun.security.pkcs.ParsingException { in PKCS7()
48 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { in PKCS7()
54 sun.security.x509.AlgorithmId[] digestAlgorithmIds, in PKCS7()
55 sun.security.pkcs.ContentInfo contentInfo, in PKCS7()
56 java.security.cert.X509Certificate[] certificates, in PKCS7()
[all …]
DSignerInfo.java27 package sun.security.pkcs;
31 public class SignerInfo implements sun.security.util.DerEncoder {
39 sun.security.x509.X500Name issuerName, in SignerInfo()
41 sun.security.x509.AlgorithmId digestAlgorithmId, in SignerInfo()
42 sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, in SignerInfo()
49 sun.security.x509.X500Name issuerName, in SignerInfo()
51 sun.security.x509.AlgorithmId digestAlgorithmId, in SignerInfo()
52 sun.security.pkcs.PKCS9Attributes authenticatedAttributes, in SignerInfo()
53 sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, in SignerInfo()
55 sun.security.pkcs.PKCS9Attributes unauthenticatedAttributes) { in SignerInfo()
[all …]
DContentInfo.java26 package sun.security.pkcs;
29 import sun.security.util.*;
36 sun.security.util.ObjectIdentifier contentType, sun.security.util.DerValue content) { in ContentInfo()
45 public ContentInfo(sun.security.util.DerInputStream derin) in ContentInfo()
46 throws java.io.IOException, sun.security.pkcs.ParsingException { in ContentInfo()
50 public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle) in ContentInfo()
51 throws java.io.IOException, sun.security.pkcs.ParsingException { in ContentInfo()
55 public sun.security.util.DerValue getContent() { in getContent()
59 public sun.security.util.ObjectIdentifier getContentType() { in getContentType()
69 public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { in encode()
[all …]
DPKCS8Key.java26 package sun.security.pkcs;
29 import sun.security.util.*;
30 import sun.security.x509.*;
33 public class PKCS8Key implements java.security.PrivateKey {
40 private PKCS8Key(sun.security.x509.AlgorithmId algid, byte[] key) in PKCS8Key()
41 throws java.security.InvalidKeyException { in PKCS8Key()
45 public static sun.security.pkcs.PKCS8Key parse(sun.security.util.DerValue in) in parse()
50 public static java.security.PrivateKey parseKey(sun.security.util.DerValue in) in parseKey()
55 protected void parseKeyBits() throws java.io.IOException, java.security.InvalidKeyException { in parseKeyBits()
59 static java.security.PrivateKey buildPKCS8Key(sun.security.x509.AlgorithmId algid, byte[] key) in buildPKCS8Key()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CRLImpl.java26 package sun.security.x509;
29 import sun.security.util.*;
32 public class X509CRLImpl extends java.security.cert.X509CRL
33 implements sun.security.util.DerEncoder {
40 public X509CRLImpl(byte[] crlData) throws java.security.cert.CRLException { in X509CRLImpl()
45 public X509CRLImpl(sun.security.util.DerValue val) throws java.security.cert.CRLException { in X509CRLImpl()
50 public X509CRLImpl(java.io.InputStream inStrm) throws java.security.cert.CRLException { in X509CRLImpl()
55 sun.security.x509.X500Name issuer, java.util.Date thisDate, java.util.Date nextDate) { in X509CRLImpl()
60 sun.security.x509.X500Name issuer, in X509CRLImpl()
63 java.security.cert.X509CRLEntry[] badCerts) in X509CRLImpl()
[all …]
DX509CertImpl.java26 package sun.security.x509;
28 import java.security.*;
29 import java.security.cert.*;
31 import sun.security.util.*;
34 public class X509CertImpl extends java.security.cert.X509Certificate
35 implements sun.security.util.DerEncoder {
42 public X509CertImpl(byte[] certData) throws java.security.cert.CertificateException { in X509CertImpl()
47 public X509CertImpl(sun.security.x509.X509CertInfo certInfo) { in X509CertImpl()
52 public X509CertImpl(sun.security.util.DerValue derVal) in X509CertImpl()
53 throws java.security.cert.CertificateException { in X509CertImpl()
[all …]
DAlgorithmId.java27 package sun.security.x509;
32 public class AlgorithmId implements java.io.Serializable, sun.security.util.DerEncoder {
41 public AlgorithmId(sun.security.util.ObjectIdentifier oid) { in AlgorithmId()
47 sun.security.util.ObjectIdentifier oid, java.security.AlgorithmParameters algparams) { in AlgorithmId()
51 private AlgorithmId(sun.security.util.ObjectIdentifier oid, sun.security.util.DerValue params) in AlgorithmId()
61 public final void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { in encode()
76 public final sun.security.util.ObjectIdentifier getOID() { in getOID()
86 public java.security.AlgorithmParameters getParameters() { in getParameters()
96 public boolean equals(sun.security.x509.AlgorithmId other) { in equals()
104 public final boolean equals(sun.security.util.ObjectIdentifier id) { in equals()
[all …]
DX509CRLEntryImpl.java26 package sun.security.x509;
29 import sun.security.util.*;
32 public class X509CRLEntryImpl extends java.security.cert.X509CRLEntry
33 implements java.lang.Comparable<sun.security.x509.X509CRLEntryImpl> {
42 sun.security.x509.CRLExtensions crlEntryExts) { in X509CRLEntryImpl()
46 public X509CRLEntryImpl(byte[] revokedCert) throws java.security.cert.CRLException { in X509CRLEntryImpl()
50 public X509CRLEntryImpl(sun.security.util.DerValue derValue) in X509CRLEntryImpl()
51 throws java.security.cert.CRLException { in X509CRLEntryImpl()
59 public void encode(sun.security.util.DerOutputStream outStrm) in encode()
60 throws java.security.cert.CRLException { in encode()
[all …]
DX509Key.java26 package sun.security.x509;
29 import sun.security.util.*;
32 public class X509Key implements java.security.PublicKey {
39 private X509Key(sun.security.x509.AlgorithmId algid, sun.security.util.BitArray key) in X509Key()
40 throws java.security.InvalidKeyException { in X509Key()
44 protected void setKey(sun.security.util.BitArray key) { in setKey()
48 protected sun.security.util.BitArray getKey() { in getKey()
53 public static java.security.PublicKey parse(sun.security.util.DerValue in) in parse()
58 protected void parseKeyBits() throws java.io.IOException, java.security.InvalidKeyException { in parseKeyBits()
62 static java.security.PublicKey buildX509Key( in buildX509Key()
[all …]
DPKIXExtensions.java26 package sun.security.x509;
29 import sun.security.util.*;
38 public static final sun.security.util.ObjectIdentifier AuthInfoAccess_Id;
50 public static final sun.security.util.ObjectIdentifier AuthorityKey_Id;
62 public static final sun.security.util.ObjectIdentifier BasicConstraints_Id;
74 public static final sun.security.util.ObjectIdentifier CRLDistributionPoints_Id;
86 public static final sun.security.util.ObjectIdentifier CRLNumber_Id;
99 public static final sun.security.util.ObjectIdentifier CertificateIssuer_Id;
111 public static final sun.security.util.ObjectIdentifier CertificatePolicies_Id;
123 public static final sun.security.util.ObjectIdentifier DeltaCRLIndicator_Id;
[all …]
DX509CertInfo.java26 package sun.security.x509;
28 import java.security.cert.*;
30 import sun.security.util.*;
33 public class X509CertInfo implements sun.security.x509.CertAttrSet<java.lang.String> {
41 public X509CertInfo(byte[] cert) throws java.security.cert.CertificateParsingException { in X509CertInfo()
45 public X509CertInfo(sun.security.util.DerValue derVal) in X509CertInfo()
46 throws java.security.cert.CertificateParsingException { in X509CertInfo()
51 throws java.security.cert.CertificateException, java.io.IOException { in encode()
63 public byte[] getEncodedInfo() throws java.security.cert.CertificateEncodingException { in getEncodedInfo()
71 public boolean equals(sun.security.x509.X509CertInfo other) { in equals()
[all …]
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DPKCS7.annotated.java28 package sun.security.pkcs;
32 import java.security.*;
33 import sun.security.util.*;
34 import sun.security.x509.AlgorithmId;
35 import sun.security.x509.X500Name;
43 public PKCS7(java.io.InputStream in) throws java.io.IOException, sun.security.pkcs.ParsingException… in PKCS7()
45 public PKCS7(sun.security.util.DerInputStream derin) throws sun.security.pkcs.ParsingException { th… in PKCS7()
48 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { throw new RuntimeException("… in PKCS7()
50security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.se… in PKCS7()
52security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo contentInfo, java.se… in PKCS7()
[all …]
DSignerInfo.annotated.java28 package sun.security.pkcs;
30 import sun.security.util.DerEncoder;
36 public class SignerInfo implements sun.security.util.DerEncoder {
41 …ignerInfo(sun.security.x509.X500Name issuerName, java.math.BigInteger serial, sun.security.x509.Al… in SignerInfo()
43security.x509.X500Name issuerName, java.math.BigInteger serial, sun.security.x509.AlgorithmId dige… in SignerInfo()
45 public SignerInfo(sun.security.util.DerInputStream derin) throws java.io.IOException, sun.security.… in SignerInfo()
47 public SignerInfo(sun.security.util.DerInputStream derin, boolean oldStyle) throws java.io.IOExcept… in SignerInfo()
49 public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { throw new Ru… in encode()
53 public java.security.cert.X509Certificate getCertificate(sun.security.pkcs.PKCS7 block) throws java… in getCertificate()
56 public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.security.pkc… in getCertificateChain()
[all …]
DContentInfo.annotated.java27 package sun.security.pkcs;
30 import sun.security.util.*;
43 public ContentInfo(sun.security.util.ObjectIdentifier contentType, sun.security.util.DerValue conte… in ContentInfo()
55 public ContentInfo(sun.security.util.DerInputStream derin) throws java.io.IOException, sun.security in ContentInfo()
68 public ContentInfo(sun.security.util.DerInputStream derin, boolean oldStyle) throws java.io.IOExcep… in ContentInfo()
70 public sun.security.util.DerValue getContent() { throw new RuntimeException("Stub!"); } in getContent()
72 public sun.security.util.ObjectIdentifier getContentType() { throw new RuntimeException("Stub!"); } in getContentType()
76 public void encode(sun.security.util.DerOutputStream out) throws java.io.IOException { throw new Ru… in encode()
88 public static sun.security.util.ObjectIdentifier DATA_OID;
90 public static sun.security.util.ObjectIdentifier DIGESTED_DATA_OID;
[all …]
/libcore/ojluni/annotations/mmodule/java/security/
DSignature.annotated.java28 package java.security;
32 import sun.security.jca.*;
34 import java.security.spec.AlgorithmParameterSpec;
37 public abstract class Signature extends java.security.SignatureSpi {
41 public static java.security.Signature getInstance(java.lang.String algorithm) throws java.security.… in getInstance()
43 …va.security.Signature getInstance(java.lang.String algorithm, java.lang.String provider) throws ja… in getInstance()
45 public static java.security.Signature getInstance(java.lang.String algorithm, java.security.Provide… in getInstance()
47 public final java.security.Provider getProvider() { throw new RuntimeException("Stub!"); } in getProvider()
49 public final void initVerify(java.security.PublicKey publicKey) throws java.security.InvalidKeyExce… in initVerify()
51 public final void initVerify(java.security.cert.Certificate certificate) throws java.security.Inval… in initVerify()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DSignatureFileVerifier.java26 package sun.security.util;
33 java.util.ArrayList<java.security.CodeSigner[]> signerCache, in SignatureFileVerifier()
34 sun.security.util.ManifestDigester md, in SignatureFileVerifier()
37 throws java.security.cert.CertificateException, java.io.IOException { in SignatureFileVerifier()
62 private java.security.MessageDigest getDigest(java.lang.String algorithm) in getDigest()
63 throws java.security.SignatureException { in getDigest()
68 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in process()
70 throws java.security.cert.CertificateException, java.io.IOException, in process()
71 java.util.jar.JarException, java.security.NoSuchAlgorithmException, in process()
72 java.security.SignatureException { in process()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviderList.java26 package sun.security.jca;
28 import java.security.*;
34 private ProviderList(sun.security.jca.ProviderConfig[] configs, boolean allLoaded) { in ProviderList()
42 static sun.security.jca.ProviderList fromSecurityProperties() { in fromSecurityProperties()
46 public static sun.security.jca.ProviderList add( in add()
47 sun.security.jca.ProviderList providerList, java.security.Provider p) { in add()
51 public static sun.security.jca.ProviderList insertAt( in insertAt()
52 sun.security.jca.ProviderList providerList, java.security.Provider p, int position) { in insertAt()
56 public static sun.security.jca.ProviderList remove( in remove()
57 sun.security.jca.ProviderList providerList, java.lang.String name) { in remove()
[all …]
DGetInstance.java26 package sun.security.jca;
28 import java.security.*;
38 public static java.security.Provider.Service getService( in getService()
40 throws java.security.NoSuchAlgorithmException { in getService()
44 public static java.security.Provider.Service getService( in getService()
46 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getService()
50 public static java.security.Provider.Service getService( in getService()
51 java.lang.String type, java.lang.String algorithm, java.security.Provider provider) in getService()
52 throws java.security.NoSuchAlgorithmException { in getService()
56 public static java.util.List<java.security.Provider.Service> getServices( in getServices()
[all …]
DProviders.java27 package sun.security.jca;
37 public static java.security.Provider getSunProvider() { in getSunProvider()
52 public static sun.security.jca.ProviderList getProviderList() { in getProviderList()
56 public static void setProviderList(sun.security.jca.ProviderList newList) { in setProviderList()
60 public static sun.security.jca.ProviderList getFullProviderList() { in getFullProviderList()
64 private static sun.security.jca.ProviderList getSystemProviderList() { in getSystemProviderList()
68 private static void setSystemProviderList(sun.security.jca.ProviderList list) { in setSystemProviderList()
72 public static sun.security.jca.ProviderList getThreadProviderList() { in getThreadProviderList()
76 private static void changeThreadProviderList(sun.security.jca.ProviderList list) { in changeThreadProviderList()
80 public static synchronized sun.security.jca.ProviderList beginThreadProviderList( in beginThreadProviderList()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertificatePair.java26 package sun.security.provider.certpath;
37 java.security.cert.X509Certificate forward, java.security.cert.X509Certificate reverse) in X509CertificatePair()
38 throws java.security.cert.CertificateException { in X509CertificatePair()
42 private X509CertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in X509CertificatePair()
51 public static synchronized sun.security.provider.certpath.X509CertificatePair
52 generateCertificatePair(byte[] encoded) throws java.security.cert.CertificateException { in generateCertificatePair()
56 public void setForward(java.security.cert.X509Certificate cert) in setForward()
57 throws java.security.cert.CertificateException { in setForward()
61 public void setReverse(java.security.cert.X509Certificate cert) in setReverse()
62 throws java.security.cert.CertificateException { in setReverse()
[all …]
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java32 import java.security.*;
34 import sun.security.jca.*;
37 import java.security.spec.AlgorithmParameterSpec;
38 import java.security.Provider.Service;
43 protected Cipher(javax.crypto.CipherSpi cipherSpi, java.security.Provider provider, java.lang.Strin… in Cipher()
45 ….crypto.Cipher getInstance(java.lang.String transformation) throws java.security.NoSuchAlgorithmEx… in getInstance()
47 …lang.String provider) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingExc… in getInstance()
49 …r getInstance(java.lang.String transformation, java.security.Provider provider) throws java.securi… in getInstance()
51 public final java.security.Provider getProvider() { throw new RuntimeException("Stub!"); } in getProvider()
61 public final java.security.AlgorithmParameters getParameters() { throw new RuntimeException("Stub!"… in getParameters()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java18 package org.apache.harmony.security.tests.java.security;
20 import java.security.NoSuchAlgorithmException;
21 import java.security.Signature;
22 import java.security.SignedObject;
27 import org.apache.harmony.security.tests.support.TestKeyPair;
32 import java.security.InvalidKeyException;
33 import java.security.InvalidParameterException;
34 import java.security.NoSuchAlgorithmException;
35 import java.security.PrivateKey;
36 import java.security.PublicKey;
[all …]

12345678910>>...43