Method: Krypt::ASN1::ASN1Data#value

Defined in:
ext/krypt/core/krypt_asn1.c

#valueObject

Obtain the value of an ASN1Data. Please see Constructive and Primitive docs for the mappings between ASN.1 data types and Ruby classes.



841
842
843
844
845
846
847
# File 'ext/krypt/core/krypt_asn1.c', line 841

static VALUE
krypt_asn1_data_get_value(VALUE self)
{
    if (int_asn1_decode_value(self) == KRYPT_ERR)
	krypt_error_raise(eKryptASN1Error, "Error while decoding value");
    return int_asn1_data_get_value(self);
}