Package net.corda.core.crypto.internal
Class Secp256k1SupportProvider
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Cloneable
,kotlin.collections.Map
,kotlin.collections.MutableMap
public final class Secp256k1SupportProvider extends Provider
Augment the SunEC provider with secp256k1 curve support by delegating to BouncyCastleProvider when secp256k1 keys or params are requested. Otherwise delegates to SunEC.
Note, this class only exists to cater for the scenerio where Signature.getInstance is called directly without a provider (which happens to be the JCE recommendation) and thus the
SunEC
provider is selected. Bouncy Castle is already automatically used via Crypto.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Secp256k1SupportProvider.Secp256k1SupportSignatureSpi
public final class
Secp256k1SupportProvider.Secp256k1SupportKeyPairGeneratorSpi
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final String
info
private final Double
version
private final String
versionStr
private final Collection<Object>
values
private final Set<Entry.Map<Object, Object>>
entries
private final Set<Object>
keys
private final Integer
size
-
Constructor Summary
Constructors Constructor Description Secp256k1SupportProvider()
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, configure, elements, forEach, get, getEntries, getInfo, getKeys, getName, getOrDefault, getProperty, getService, getServices, getValues, getVersion, getVersionStr, isConfigured, keys, load, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, toString
-
Methods inherited from class java.util.Properties
clone, contains, containsKey, containsValue, equals, getProperty, getSize, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-