de.flexiprovider.ec.asn1
Class TpBasis

java.lang.Object
  |
  +--codec.asn1.ASN1AbstractType
        |
        +--codec.asn1.ASN1Integer
              |
              +--de.flexiprovider.ec.asn1.TpBasis
All Implemented Interfaces:
codec.asn1.ASN1Type, java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

public class TpBasis
extends codec.asn1.ASN1Integer

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

   tpBasis ::= INTEGER;
 

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

Constructor Summary
TpBasis()
          Constructor used for decoding.
TpBasis(int tc)
          Constructor used for encoding.
 
Method Summary
 int getTC()
           
 
Methods inherited from class codec.asn1.ASN1Integer
, decode, encode, getBigInteger, getTag, getValue, setBigInteger, toString
 
Methods inherited from class codec.asn1.ASN1AbstractType
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TpBasis

public TpBasis()
Constructor used for decoding.

TpBasis

public TpBasis(int tc)
Constructor used for encoding.
Parameters:
tc - the trinomial coefficient
Method Detail

getTC

public int getTC()
Returns:
the trinomial coefficient