How to use the asn1.js-rfc5280.AlgorithmIdentifier function in asn1

To help you get started, we’ve selected a few asn1 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tpadjen / ng2-prism / jspm_packages / npm / asn1.js@4.5.0 / rfc / 2560 / index.js View on Github external
var BasicOCSPResponse = asn1.define('BasicOCSPResponse', function() {
  this.seq().obj(this.key('tbsResponseData').use(ResponseData), this.key('signatureAlgorithm').use(rfc5280.AlgorithmIdentifier), this.key('signature').bitstr(), this.key('certs').optional().explicit(0).seqof(rfc5280.Certificate));
});
exports.BasicOCSPResponse = BasicOCSPResponse;
github mendersoftware / gui / node_modules / asn1.js / rfc / 2560 / index.js View on Github external
var Signature = asn1.define('Signature', function() {
  this.seq().obj(
    this.key('signatureAlgorithm').use(rfc5280.AlgorithmIdentifier),
    this.key('signature').bitstr(),
    this.key('certs').optional().explicit(0).seqof(rfc5280.Certificate)
  );
});
exports.Signature = Signature;
github tpadjen / ng2-prism / jspm_packages / npm / asn1.js@4.5.0 / rfc / 2560 / index.js View on Github external
var Signature = asn1.define('Signature', function() {
  this.seq().obj(this.key('signatureAlgorithm').use(rfc5280.AlgorithmIdentifier), this.key('signature').bitstr(), this.key('certs').optional().explicit(0).seqof(rfc5280.Certificate));
});
exports.Signature = Signature;
github jamesshore / automatopia / node_modules / browserify / node_modules / crypto-browserify / node_modules / browserify-sign / node_modules / parse-asn1 / node_modules / asn1.js / rfc / 2560 / index.js View on Github external
var Signature = asn1.define('Signature', function() {
  this.seq().obj(
    this.key('signatureAlgorithm').use(rfc5280.AlgorithmIdentifier),
    this.key('signature').bitstr(),
    this.key('certs').optional().explicit(0).seqof(rfc5280.Certificate)
  );
});
exports.Signature = Signature;
github mendersoftware / gui / node_modules / asn1.js / rfc / 2560 / index.js View on Github external
var BasicOCSPResponse = asn1.define('BasicOCSPResponse', function() {
  this.seq().obj(
    this.key('tbsResponseData').use(ResponseData),
    this.key('signatureAlgorithm').use(rfc5280.AlgorithmIdentifier),
    this.key('signature').bitstr(),
    this.key('certs').optional().explicit(0).seqof(rfc5280.Certificate)
  );
});
exports.BasicOCSPResponse = BasicOCSPResponse;
github jamesshore / automatopia / node_modules / browserify / node_modules / crypto-browserify / node_modules / browserify-sign / node_modules / parse-asn1 / node_modules / asn1.js / rfc / 2560 / index.js View on Github external
var CertID = asn1.define('CertID', function() {
  this.seq().obj(
    this.key('hashAlgorithm').use(rfc5280.AlgorithmIdentifier),
    this.key('issuerNameHash').octstr(),
    this.key('issuerKeyHash').octstr(),
    this.key('serialNumber').use(rfc5280.CertificateSerialNumber)
  );
});
exports.CertID = CertID;