public class EdParameterSpec extends ECParameterSpec
ECParameterSpec, 
EdStandardizedParameterFactory| Modifier | Constructor and Description | 
|---|---|
protected  | 
EdParameterSpec(String name,
               String oid,
               ECParameterSpec ecParams,
               int keySize,
               iaik.asn1.structures.AlgorithmID hashAlgorithm)  | 
| Modifier and Type | Method and Description | 
|---|---|
EdParameterSpec | 
clone()
Creates a clone of this ECParameterSpec. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getAlgorithmName()
Return the canonical name of the algorithm, i.e. 
 | 
iaik.asn1.structures.AlgorithmID | 
getHashAlgorithm()
Return (hash) algorithm used to hash the initial seed and during signature
 generation. 
 | 
int | 
getKeySize()
Return size of the (private) key in bits. 
 | 
int | 
hashCode()  | 
iaik.asn1.structures.AlgorithmID | 
toAlgorithmID()
Represent parameters as instance if  
AlgorithmID. | 
iaik.asn1.ASN1Object | 
toASN1Object()
If the default encoding is set to oid encoding this method just returns the
  
ObjectID otherwise the following ASN.1 structure: | 
String | 
toString()
Returns a human readable  
String containing the base point, the
 order, and the elliptic curve. | 
decode, getCurve, getEndomorphismAux0, getEndomorphismAux1, getHashAlgorithmID, getOID, getParameterSpec, getParameterSpec, setDefaultOIDEncoding, usesDefaultOIDEncodinggetCofactor, getGenerator, getOrderprotected EdParameterSpec(String name, String oid, ECParameterSpec ecParams, int keySize, iaik.asn1.structures.AlgorithmID hashAlgorithm)
public String getAlgorithmName()
public iaik.asn1.structures.AlgorithmID getHashAlgorithm()
public int getKeySize()
public int hashCode()
hashCode in class ECParameterSpecpublic boolean equals(Object obj)
equals in class ECParameterSpecpublic EdParameterSpec clone()
ECParameterSpecThe clone is not deep, i.e. the fields of this ECParameterSpec are only copied, not cloned.
clone in class ECParameterSpecpublic iaik.asn1.structures.AlgorithmID toAlgorithmID()
AlgorithmID.AlgorithmIDpublic iaik.asn1.ASN1Object toASN1Object()
ECParameterSpecObjectID otherwise the following ASN.1 structure:
 
 ECParameters  ::= SEQUENCE {          -- Elliptic curve parameters
  version   ECPVer,
  fieldID   FieldID,
  curve     Curve,
  base      ECPoint,                   -- Base point G
  order     INTEGER,                   -- Order n of the base point
  cofactor  INTEGER  OPTIONAL,         -- The integer h = #E(Fq)/n
  hash      HashAlgorithm OPTIONAL     -- The hash algorithm that was used to generate the curve and/or the generator
 }
 toASN1Object in class ECParameterSpecASN1Object instancepublic String toString()
String containing the base point, the
 order, and the elliptic curve.toString in class ECParameterSpecString containing the base point, the
         order, and the elliptic curveCopyright © 2011–2022 Stiftung SIC. All rights reserved.