BIGNUMint {PKI} | R Documentation |
as.BIGNUMint
encodes integer in BIGNUM format as raw vector as
used by ASN.1 format.
as.BIGNUMint(what, scalar = TRUE)
what |
representation of an integer or a vector
thereof. Currently supported formats include |
scalar |
if |
The BIGNUM representation as used in ASN.1 is a big-endian encoding of
variable length stored in a raw vector. Negative numbers are stored in
two-complement's encoding, but are currently unsupported by
as.BIGNUMint
.
Raw vector in BIGNUM integer representation.
Unless the input is of class "bigz"
then 32-bit platforms only
support integers up to 32-bit, 64-bit platforms up to 53-bit (when
real vectors are used).
Simon Urbanek
as.BIGNUMint(65537)