• Parameters

    • key: Uint8Array

    Returns {
        bytes: {
            _bytes: Uint8Array;
            _padding: number;
            _tag: number;
        };
        type: {
            algorithm: {
                _bytes: Uint8Array;
                _tag: number;
            };
            curve: {
                _bytes: Uint8Array;
                _tag: number;
            };
        };
    }

    • bytes: {
          _bytes: Uint8Array;
          _padding: number;
          _tag: number;
      }
      • _bytes: Uint8Array
      • _padding: number
      • _tag: number
    • type: {
          algorithm: {
              _bytes: Uint8Array;
              _tag: number;
          };
          curve: {
              _bytes: Uint8Array;
              _tag: number;
          };
      }
      • algorithm: {
            _bytes: Uint8Array;
            _tag: number;
        }
        • _bytes: Uint8Array
        • _tag: number
      • curve: {
            _bytes: Uint8Array;
            _tag: number;
        }
        • _bytes: Uint8Array
        • _tag: number