-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Corey Bonnell
committed
Dec 28, 2023
1 parent
a4d0ea5
commit 0b71315
Showing
2 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from typing import Tuple | ||
from pyasn1.type.base import Asn1Type | ||
|
||
from ._native import decode_der as native_decode | ||
from ._native import decode_der as native_decode_der | ||
|
||
|
||
def decode_der(substrate, asn1Spec: Asn1Type) -> Tuple[Asn1Type, bytes]: | ||
return native_decode(bytes(substrate), asn1Spec), b'' | ||
return native_decode_der(bytes(substrate), asn1Spec), b'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters