Artifact Content
Not logged in

Artifact b45160a0dcaaf5f37d2e201cbf76ead7375e6600:


package org.interledger.cryptoconditions.der;

import java.math.BigInteger;

public class DerObject {
  
  private int tag;
  private int length;
  private byte[] value;
  
  public int getTag() {
    return tag;
  }
  
  public int getLength() {
    return length;
  }
  
  public byte[] getValue() {
    return value;
  }
 
  public void setTag(int tag) {
    this.tag = tag;
  }
  
  public void setLength(int length) {
    this.length = length;
  }
  
  public void setValue(byte[] value) {
    this.value = value;
  }
  
  public BigInteger toInteger() {
    return new BigInteger(getValue());
  }
  
}