R/asn1.R

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)
NCEAS/PKIplus documentation built on May 7, 2019, 5:58 p.m.