Skip to content

Commit

Permalink
self review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed May 23, 2024
1 parent d5f28f1 commit ccf082f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ class PivCertificateFragment : Fragment() {
binding.title.text = getString(requireArguments().getInt(ARG_TITLE))
showCerts(false)

pivViewModel.certificates

pivViewModel.certificates.observe(viewLifecycleOwner, Observer {
it ?: return@Observer
val cert = it.get(slot.value)
Expand Down
7 changes: 0 additions & 7 deletions piv/src/main/java/com/yubico/yubikit/piv/jca/PivProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ public Object newInstance(Object constructorParameter) {
}
});

putService(new Service(this, "Signature", "X25519", PivEcSignatureSpi.Prehashed.class.getName(), null, x25519Attributes) {
@Override
public Object newInstance(Object constructorParameter) {
return new PivEcSignatureSpi.Prehashed(sessionRequester);
}
});

putService(new Service(this, "KeyAgreement", "X25519", PivKeyAgreementSpi.class.getName(), null, x25519Attributes) {
@Override
public Object newInstance(Object constructorParameter) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public static void testSign(PivSession piv, KeyType keyType) throws NoSuchAlgori

break;
}

}

public static byte[] testSign(KeyPair keyPair, String signatureAlgorithm, AlgorithmParameterSpec param) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, SignatureException {
Expand Down

0 comments on commit ccf082f

Please sign in to comment.