FileDocCategorySizeDatePackage
ThreeIntegerSequence.javaAPI DocAndroid 1.5 API2341Wed May 06 22:41:06 BST 2009org.apache.harmony.security.provider.crypto

ThreeIntegerSequence

public class ThreeIntegerSequence extends Object
The auxiliary class providing means to process ASN1Sequence of three Integers. Such sequences are parts of ASN1 encoded formats for DSA private and public keys.

Fields Summary
byte[]
p
byte[]
q
byte[]
g
private byte[]
encoding
public static final org.apache.harmony.security.asn1.ASN1Sequence
ASN1
Constructors Summary
ThreeIntegerSequence(byte[] p, byte[] q, byte[] g)


        this.p = p;
        this.q = q;
        this.g = g;
        encoding = null;
    
Methods Summary
public byte[]getEncoded()

        if (encoding == null) {
            encoding = ASN1.encode(this);
        }
        return encoding;