|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--de.flexiprovider.ec.asn1.Curve
This class represents a Curve as defined in ANS X9.62 - 1998. The ASN.1 definition of this structure is
Curve ::= SEQUENCE {
a fieldElement,
b fieldElement,
seed BIT STRING OPTIONAL,
}
FieldElement ::= OCTET STRING;
Parameters Parameters are the Parameters defined in the internet
draft ... for elliptic curves
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
Curve()
Default constructor. |
|
Curve(codec.asn1.ASN1OctetString a,
codec.asn1.ASN1OctetString b)
Constructor from two curve coefficients. |
|
Curve(GFElement a,
GFElement b)
Constructor from two curve coefficients. |
|
| Method Summary | |
(package private) byte[] |
getA()
|
(package private) byte[] |
getB()
|
| Methods inherited from class codec.asn1.ASN1Sequence |
getTag |
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, decode, encode, getCollection, getConstraint, getTagClass, getValue, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, toString, writeExternal |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public Curve()
public Curve(codec.asn1.ASN1OctetString a,
codec.asn1.ASN1OctetString b)
a - the curve coefficient ab - the curve coefficient b
public Curve(GFElement a,
GFElement b)
a - the curve coefficient ab - the curve coefficient b| Method Detail |
byte[] getA()
byte[] getB()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||