APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.provider

public final Class SunEntries

extends Object
Class Inheritance
Imports
java.io.File, .IOException, java.net.URI, .URISyntaxException, .URL, java.security.Provider, .Security, java.util.HashMap, .Iterator, .LinkedHashSet, jdk.internal.util.StaticProperty

Defines the entries of the SUN provider. Algorithms supported, and their names: - SHA is the message digest scheme described in FIPS 180-1. Aliases for SHA are SHA-1 and SHA1. - SHA1withDSA is the signature scheme described in FIPS 186. (SHA used in DSA is SHA-1: FIPS 186 with Change No 1.) Aliases for SHA1withDSA are DSA, DSS, SHA/DSA, SHA-1/DSA, SHA1/DSA, SHAwithDSA, DSAWithSHA1, and the object identifier strings "OID.1.3.14.3.2.13", "OID.1.3.14.3.2.27" and "OID.1.2.840.10040.4.3". - SHA-2 is a set of message digest schemes described in FIPS 180-2. SHA-2 family of hash functions includes SHA-224, SHA-256, SHA-384, and SHA-512. - [SHA-224|SHA-256|SHA-384|SHA-512]withDSA are the signature schemes described in FIPS 186-3. The associated object identifiers are "OID.2.16.840.1.101.3.4.3.[1|2|3|4]" respectively. - [SHA3-224|SHA3-256|SHA3-384|SHA3-512]withDSA are the signature schemes using SHA-3 family of digests with DSA. The associated object identifiers are "OID.2.16.840.1.101.3.4.3.[5|6|7|8]" respectively. - DSA is the key generation scheme as described in FIPS 186. Aliases for DSA include the OID strings "OID.1.3.14.3.2.12" and "OID.1.2.840.10040.4.1". - MD5 is the message digest scheme described in RFC 1321. There are no aliases for MD5. - X.509 is the certificate factory type for X.509 certificates and CRLs. Aliases for X.509 are X509. - PKIX is the certification path validation algorithm described in RFC 5280. The ValidationAlgorithm attribute notes the specification that this provider implements. - JavaLoginConfig is the default file-based LoginModule Configuration type.

Field Summary

Modifier and TypeField and Description
public static final String
private static final String
private static final String
private static final String
private final LinkedHashSet<Provider.Service>
pack-priv static final String
pack-priv static final String
private static final boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
add(Provider p, String type, String algo, String cn)

private void
add(Provider p, String type, String algo, String cn, HashMap<String, String> attrs)

private void
pack-priv static File
private static String
pack-priv static String
pack-priv Iterator<Provider.Service>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEF_SECURE_RANDOM_ALGOback to summary
public static final String DEF_SECURE_RANDOM_ALGO
PROP_EGDback to summary
private static final String PROP_EGD
PROP_RNDSOURCEback to summary
private static final String PROP_RNDSOURCE
seedSourceback to summary
private static final String seedSource
servicesback to summary
private final LinkedHashSet<Provider.Service> services
URL_DEV_RANDOMback to summary
pack-priv static final String URL_DEV_RANDOM
URL_DEV_URANDOMback to summary
pack-priv static final String URL_DEV_URANDOM
useLegacyDSAback to summary
private static final boolean useLegacyDSA

Constructor Detail

SunEntriesback to summary
pack-priv SunEntries(Provider p)

Method Detail

addback to summary
private void add(Provider p, String type, String algo, String cn)
addback to summary
private void add(Provider p, String type, String algo, String cn, HashMap<String, String> attrs)
addWithAliasback to summary
private void addWithAlias(Provider p, String type, String algo, String cn, HashMap<String, String> attrs)
getDeviceFileback to summary
pack-priv static File getDeviceFile(URL device) throws IOException
getOverridableSeedSourceback to summary
private static String getOverridableSeedSource()
getSeedSourceback to summary
pack-priv static String getSeedSource()
iteratorback to summary
pack-priv Iterator<Provider.Service> iterator()