de.flexiprovider.ec.asn1
Class PpBasis

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--codec.asn1.ASN1AbstractCollection
                          |
                          +--codec.asn1.ASN1Sequence
                                |
                                +--de.flexiprovider.ec.asn1.PpBasis
All Implemented Interfaces:
codec.asn1.ASN1Collection, codec.asn1.ASN1Type, java.lang.Cloneable, java.util.Collection, java.io.Externalizable, java.util.List, java.io.Serializable

public class PpBasis
extends codec.asn1.ASN1Sequence

This class represents a prime-field as defined in ANS X9.62 - 1998. The ASN.1 definition of this structure is

   ppBasis ::= SEQUENCE {
               k1  INTEGER;
               k2  INTEGER;
               k3  INTEGER;
   }
 

Author:
Michele Boivin, Martin Döring
See Also:
Serialized Form

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PpBasis()
          Constructor used for decoding.
PpBasis(int pc1, int pc2, int pc3)
          Constructor used for encoding.
 
Method Summary
 int getPC1()
           
 int getPC2()
           
 int getPC3()
           
 
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
, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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

PpBasis

public PpBasis()
Constructor used for decoding.

PpBasis

public PpBasis(int pc1,
               int pc2,
               int pc3)
Constructor used for encoding.
Parameters:
pc1 - the first value for pentanomial representation
pc2 - the second value for pentanomial representation
pc3 - the third value for pentanomial representation
Method Detail

getPC1

public int getPC1()

getPC2

public int getPC2()

getPC3

public int getPC3()