jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSASignature.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
46 import java.security.spec.RSAPrivateCrtKeySpec; |
46 import java.security.spec.RSAPrivateCrtKeySpec; |
47 import java.security.spec.RSAPublicKeySpec; |
47 import java.security.spec.RSAPublicKeySpec; |
48 import java.security.spec.InvalidKeySpecException; |
48 import java.security.spec.InvalidKeySpecException; |
49 import sun.nio.ch.DirectBuffer; |
49 import sun.nio.ch.DirectBuffer; |
50 import java.nio.ByteBuffer; |
50 import java.nio.ByteBuffer; |
51 import sun.security.rsa.RSAPadding; |
|
52 |
51 |
53 /** |
52 /** |
54 * Signature implementation class. This class currently supports the |
53 * Signature implementation class. This class currently supports the |
55 * following algorithms: |
54 * following algorithms: |
56 * |
55 * |