Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/x509/public_key.ex
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ defmodule X509.PublicKey do

algorithm_identifier(algorithm: oid(:"id-ecPublicKey"), parameters: parameters) ->
{ec_point(point: public_key), :public_key.der_decode(:EcpkParameters, parameters)}

_ -> public_key
end
end

Expand All @@ -142,6 +144,8 @@ defmodule X509.PublicKey do

public_key_algorithm(algorithm: oid(:"id-ecPublicKey"), parameters: parameters) ->
{public_key, parameters}

_ -> public_key
end
end

Expand Down