R/asn1.R

Defines functions as.BIGNUMint ASN1.type ASN1.item ASN1.encode ASN1.decode

Documented in as.BIGNUMint ASN1.decode ASN1.encode ASN1.item ASN1.type

ASN1.decode <- function(what) .Call(decode_ASN1, what)
ASN1.encode <- function(what) .Call(encode_ASN1, what)
ASN1.item <- function(what, type) {
  what <- as.raw(what)
  attr(what, "type") <- type
  what
}
ASN1.type <- function(what) attr(what, "type")

as.BIGNUMint <- function(what, scalar=TRUE) .Call(PKI_asBIGNUMint, what, scalar)
s-u/PKI documentation built on Feb. 12, 2024, 10:43 p.m.