Package net.aifusion.asn
Class RealValue
java.lang.Object
net.aifusion.asn.AsnValue
net.aifusion.asn.RealValue
Wrapper class for ASN.1 real values
- Author:
- Sharad Singhal
-
Constructor Summary
-
Method Summary
Methods inherited from class net.aifusion.asn.AsnValue
getLength, getTag, getTagClass, getTagEncoding, getTagNumber, toAsnString, toHex, toHex, toHex, toHex
-
Constructor Details
-
RealValue
public RealValue(double value) Create a real value- Parameters:
value
- - value to use
-
-
Method Details
-
create
-
getValue
public double getValue()Get the value for this real value- Returns:
- - value of this real value
-
getEncodedValue
public byte[] getEncodedValue()Description copied from class:AsnValue
Get the encoded value for this ASN.1 value. This method should be implemented by subclasses to provide the encoded ASN.1 value- Specified by:
getEncodedValue
in classAsnValue
- Returns:
- byte [] containing encoded value for this ASN.1 value (including tag, length, content)
-
equals
-
hashCode
public int hashCode() -
toString
-