|
|
@ -354,45 +354,20 @@ rfc5280.EDIPartyName = asn1.define('EDIPartyName', function() { |
|
|
|
); |
|
|
|
}); |
|
|
|
|
|
|
|
// https://www.google.com/search?q=TeletexString
|
|
|
|
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb540814(v=vs.85).aspx
|
|
|
|
|
|
|
|
var DirectoryString = |
|
|
|
rfc5280.DirectoryString = asn1.define('DirectoryString', function() { |
|
|
|
this.choice({ |
|
|
|
teletexString: this.use(TeletexString), |
|
|
|
printableString: this.use(PrintableString), |
|
|
|
universalString: this.use(UniversalString), |
|
|
|
utf8String: this.use(UTF8String), |
|
|
|
bmpString: this.use(BMPString) |
|
|
|
teletexString: this.t61str(), |
|
|
|
printableString: this.printstr(), |
|
|
|
universalString: this.unistr(), |
|
|
|
utf8String: this.utf8str(), |
|
|
|
bmpString: this.bmpstr() |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
// https://www.google.com/search?q=TeletexString
|
|
|
|
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb540814(v=vs.85).aspx
|
|
|
|
|
|
|
|
var TeletexString = |
|
|
|
rfc5280.TeletexString = asn1.define('TeletexString', function() { |
|
|
|
this.t61str(); |
|
|
|
}); |
|
|
|
|
|
|
|
var PrintableString = |
|
|
|
rfc5280.PrintableString = asn1.define('PrintableString', function() { |
|
|
|
this.printstr(); |
|
|
|
}); |
|
|
|
|
|
|
|
var UniversalString = |
|
|
|
rfc5280.UniversalString = asn1.define('UniversalString', function() { |
|
|
|
this.unistr(); |
|
|
|
}); |
|
|
|
|
|
|
|
var UTF8String = |
|
|
|
rfc5280.UTF8String = asn1.define('UTF8String', function() { |
|
|
|
this.utf8str(); |
|
|
|
}); |
|
|
|
|
|
|
|
var BMPString = |
|
|
|
rfc5280.BMPString = asn1.define('BMPString', function() { |
|
|
|
this.bmpstr(); |
|
|
|
}); |
|
|
|
|
|
|
|
// var SubjectKeyIdentifier =
|
|
|
|
// rfc5280.SubjectKeyIdentifier = asn1.define('SubjectKeyIdentifier', function() {
|
|
|
|
// this.seq().obj(
|
|
|
|