Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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;
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;
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;
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;
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;
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;