Skip to content

Commit b708a98

Browse files
committed
misc: remove unused method
1 parent 73968f0 commit b708a98

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Cryptography/ECPublicKey.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,4 @@ public static IPublicKey CreateFromValue(ReadOnlyMemory<byte> publicPoint, KeyTy
151151
/// </exception>
152152
public static IPublicKey CreateFromPkcs8(ReadOnlyMemory<byte> encodedKey) =>
153153
AsnPublicKeyDecoder.CreatePublicKey(encodedKey);
154-
155-
/// <summary>
156-
/// Gets the bytes representing the public key coordinates.
157-
/// </summary>
158-
/// <returns>A <see cref="ReadOnlyMemory{T}"/> containing the public key bytes with the format 0x04 || X || Y.</returns>
159-
[Obsolete("Use PublicPoint instead")]
160-
public ReadOnlyMemory<byte> GetBytes() => _publicPointBytes;
161154
}

0 commit comments

Comments
 (0)