Top Description Inners Fields Constructors Methods
sun.security.ec

public final Class SunEC

extends Provider
Class Inheritance
Imports
java.security.AccessController, .InvalidParameterException, .NoSuchAlgorithmException, .PrivilegedAction, .Provider, .ProviderException, java.util.HashMap, .List, sun.security.ec.ed.EdDSAKeyFactory, .EdDSAKeyPairGenerator, .EdDSASignature, sun.security.util.CurveDB, .NamedCurve

Provider class for the Elliptic Curve provider.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
pack-priv void
private void
Inherited from java.security.Provider:
clearcomputecomputeIfAbsentcomputeIfPresentconfigureelementsentrySetforEachgetgetInfogetNamegetOrDefaultgetPropertygetServicegetServicesgetVersiongetVersionStrisConfiguredkeyskeySetloadmergeputputAllputIfAbsentputServiceremoveremoveremoveServicereplacereplacereplaceAlltoStringvalues

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.Provider.serialVersionUID.

Constructor Detail

SunECback to summary
public SunEC()
Annotations
@SuppressWarnings:removal

Method Detail

putEdDSAEntriesback to summary
private void putEdDSAEntries()
putEntriesback to summary
pack-priv void putEntries()
putXDHEntriesback to summary
private void putXDHEntries()
sun.security.ec back to summary

private Class SunEC.ProviderService

extends Service
Class Inheritance
Known Direct Subclasses
sun.security.ec.SunEC.ProviderServiceA

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
ProviderService(Provider p, String type, String algo, String cn, List<String> aliases, HashMap<String, String> attrs)

Method Summary

Modifier and TypeMethod and Description
public Object
newInstance(Object
the value to pass to the constructor, or null if this type of service does not use a constructorParameter.
ctrParamObj
)

Overrides java.security.Provider.Service.newInstance.

Return a new instance of the implementation described by this service.
Inherited from java.security.Provider.Service:
getAlgorithmgetAttributegetClassNamegetProvidergetTypesupportsParametertoString

Constructor Detail

ProviderServiceback to summary
pack-priv ProviderService(Provider p, String type, String algo, String cn)
ProviderServiceback to summary
pack-priv ProviderService(Provider p, String type, String algo, String cn, List<String> aliases, HashMap<String, String> attrs)

Method Detail

newInstanceback to summary
public Object newInstance(Object ctrParamObj) throws NoSuchAlgorithmException

Overrides java.security.Provider.Service.newInstance.

Doc from java.security.Provider.Service.newInstance.

Return a new instance of the implementation described by this service. The security provider framework uses this method to construct implementations. Applications will typically not need to call it.

The default implementation uses reflection to invoke the standard constructor for this type of service. Security providers can override this method to implement instantiation in a different way. For details and the values of constructorParameter that are valid for the various types of services see the Java Cryptography Architecture (JCA) Reference Guide.

Parameters
ctrParamObj:Object

the value to pass to the constructor, or null if this type of service does not use a constructorParameter.

Returns:Object

a new implementation of this service

Annotations
@Override
Exceptions
NoSuchAlgorithmException:
if instantiation failed for any other reason.
sun.security.ec back to summary

private Class SunEC.ProviderServiceA

extends ProviderService
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from sun.security.ec.SunEC.ProviderService:
newInstance

Constructor Detail

ProviderServiceAback to summary
pack-priv ProviderServiceA(Provider p, String type, String algo, String cn, HashMap<String, String> attrs)