Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80540 views
1
'use strict'
2
exports['RSA-SHA224'] = exports.sha224WithRSAEncryption = {
3
sign: 'rsa',
4
hash: 'sha224',
5
id: new Buffer('302d300d06096086480165030402040500041c', 'hex')
6
}
7
exports['RSA-SHA256'] = exports.sha256WithRSAEncryption = {
8
sign: 'rsa',
9
hash: 'sha256',
10
id: new Buffer('3031300d060960864801650304020105000420', 'hex')
11
}
12
exports['RSA-SHA384'] = exports.sha384WithRSAEncryption = {
13
sign: 'rsa',
14
hash: 'sha384',
15
id: new Buffer('3041300d060960864801650304020205000430', 'hex')
16
}
17
exports['RSA-SHA512'] = exports.sha512WithRSAEncryption = {
18
sign: 'rsa',
19
hash: 'sha512',
20
id: new Buffer('3051300d060960864801650304020305000440', 'hex')
21
}
22
exports['RSA-SHA1'] = {
23
sign: 'rsa',
24
hash: 'sha1',
25
id: new Buffer('3021300906052b0e03021a05000414', 'hex')
26
}
27
exports['ecdsa-with-SHA1'] = {
28
sign: 'ecdsa',
29
hash: 'sha1',
30
id: new Buffer('', 'hex')
31
}
32
exports.DSA = exports['DSA-SHA1'] = exports['DSA-SHA'] = {
33
sign: 'dsa',
34
hash: 'sha1',
35
id: new Buffer('', 'hex')
36
}
37
exports['DSA-SHA224'] = exports['DSA-WITH-SHA224'] = {
38
sign: 'dsa',
39
hash: 'sha224',
40
id: new Buffer('', 'hex')
41
}
42
exports['DSA-SHA256'] = exports['DSA-WITH-SHA256'] = {
43
sign: 'dsa',
44
hash: 'sha256',
45
id: new Buffer('', 'hex')
46
}
47
exports['DSA-SHA384'] = exports['DSA-WITH-SHA384'] = {
48
sign: 'dsa',
49
hash: 'sha384',
50
id: new Buffer('', 'hex')
51
}
52
exports['DSA-SHA512'] = exports['DSA-WITH-SHA512'] = {
53
sign: 'dsa',
54
hash: 'sha512',
55
id: new Buffer('', 'hex')
56
}
57
exports['DSA-RIPEMD160'] = {
58
sign: 'dsa',
59
hash: 'rmd160',
60
id: new Buffer('', 'hex')
61
}
62
exports['RSA-RIPEMD160'] = exports.ripemd160WithRSA = {
63
sign: 'rsa',
64
hash: 'rmd160',
65
id: new Buffer('3021300906052b2403020105000414', 'hex')
66
}
67
exports['RSA-MD5'] = exports.md5WithRSAEncryption = {
68
sign: 'rsa',
69
hash: 'md5',
70
id: new Buffer('3020300c06082a864886f70d020505000410', 'hex')
71
}
72
73