Skip to content

Commit

Permalink
Update docs after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Jul 2, 2024
1 parent 3c63b19 commit aaa8b8c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions aries_cloudagent/wallet/askar.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ async def create_key(
key_type: Key type to create
seed: Seed for key
metadata: Optional metadata to store with the keypair
kid: Optional key identifier
Returns:
A `KeyInfo` representing the new record
Expand Down
1 change: 1 addition & 0 deletions aries_cloudagent/wallet/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async def create_key(
key_type: Key type to create
seed: Seed for key
metadata: Optional metadata to store with the keypair
kid: Optional key identifier
Returns:
A `KeyInfo` representing the new record
Expand Down
16 changes: 8 additions & 8 deletions aries_cloudagent/wallet/in_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
import asyncio
from typing import List, Optional, Sequence, Tuple, Union

from .did_parameters_validation import DIDParametersValidation
from ..core.in_memory import InMemoryProfile

from .base import BaseWallet
from .crypto import (
create_keypair,
validate_seed,
decode_pack_message,
encode_pack_message,
sign_message,
validate_seed,
verify_signed_message,
encode_pack_message,
decode_pack_message,
)
from .did_info import KeyInfo, DIDInfo
from .did_posture import DIDPosture
from .did_info import DIDInfo, KeyInfo
from .did_method import DIDMethod, DIDMethods
from .error import WalletError, WalletDuplicateError, WalletNotFoundError
from .did_parameters_validation import DIDParametersValidation
from .did_posture import DIDPosture
from .error import WalletDuplicateError, WalletError, WalletNotFoundError
from .key_type import KeyType
from .util import b58_to_bytes, bytes_to_b58, random_seed

Expand Down Expand Up @@ -70,6 +69,7 @@ async def create_key(
key_type: Key type to create
seed: Seed for key
metadata: Optional metadata to store with the keypair
kid: Key identifier
Returns:
A `KeyInfo` representing the new record
Expand Down

0 comments on commit aaa8b8c

Please sign in to comment.