6676643: Improve current C_GetAttributeValue native implementation

Reviewed-by: xuelei
This commit is contained in:
Valerie Peng 2021-05-14 23:04:37 +00:00
parent 28f1c7ac4d
commit 7ab6dc83df
14 changed files with 258 additions and 388 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -73,6 +73,7 @@ import static sun.security.pkcs11.P11Util.*;
import sun.security.pkcs11.wrapper.*;
import static sun.security.pkcs11.wrapper.PKCS11Constants.*;
import static sun.security.pkcs11.wrapper.PKCS11Exception.*;
import sun.security.rsa.RSAKeyFactory;