mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
node-forge: Asn1.value may be Bytes
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Vendored
+2
-2
@@ -359,10 +359,10 @@ declare module "node-forge" {
|
||||
type: Type;
|
||||
constructed: boolean;
|
||||
composed: boolean;
|
||||
value: Asn1[];
|
||||
value: Bytes | Asn1[];
|
||||
}
|
||||
|
||||
function create(tagClass: Class, type: Type, constructed: boolean, value: string | Asn1[]): Asn1;
|
||||
function create(tagClass: Class, type: Type, constructed: boolean, value: Bytes | Asn1[]): Asn1;
|
||||
function fromDer(bytes: Bytes | util.ByteBuffer, strict?: boolean): Asn1;
|
||||
function toDer(obj: Asn1): util.ByteBuffer;
|
||||
function oidToDer(oid: OID): util.ByteStringBuffer;
|
||||
|
||||
Reference in New Issue
Block a user