summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Utilities.cs
diff options
context:
space:
mode:
authorAlexander Scheel <alexander.scheel@keyfactor.com>2024-06-21 15:58:07 -0400
committerAlexander Scheel <alexander.scheel@keyfactor.com>2024-06-21 15:58:34 -0400
commitb7c105616243b251f03b9adde96357486a9e40f7 (patch)
tree3b0384915940ff12addf9a11adb151e317593f54 /crypto/src/asn1/Asn1Utilities.cs
parentASN.1: GetOptional for universal types should not convert (diff)
downloadBouncyCastle.NET-ed25519-b7c105616243b251f03b9adde96357486a9e40f7.tar.xz
Add support for modified UTF-8 in JKS
When parsing JKS entries, BC C# previously failed to parse entries with
UTF-8 entries. This is because Java encodes them using a modified UTF-8
wherein NULL bytes and 4-byte extended values do not appear.

Add support for both reading and writing this modified method of UTF-8
within the JKS parsing code.

Signed-off-by: Alexander Scheel <alexander.scheel@keyfactor.com>
Diffstat (limited to 'crypto/src/asn1/Asn1Utilities.cs')
0 files changed, 0 insertions, 0 deletions