Your IP : 216.73.216.220


Current Path : /var/www/fidelitychain/www/node_modules/jwk-to-pem/src/asn1/
Upload File :
Current File : /var/www/fidelitychain/www/node_modules/jwk-to-pem/src/asn1/private-key-info.js

'use strict';

var AlgorithmIdentifier = require('./algorithm-identifier');
var Version = require('./version');

module.exports = require('asn1.js').define('PrivateKeyInfo', /* @this */ function() {
	this.seq().obj(
		this.key('version').use(Version),
		this.key('privateKeyAlgorithm').use(AlgorithmIdentifier),
		this.key('privateKey').octstr(),
		this.key('attributes').optional().any()
	);
});