Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit407052d

Browse files
authored
Merge pull request#5 from micharu123/master
Changed BigInt to BigInteger
2 parents0e1b114 +704707c commit407052d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎pkcs11/java/src/org/opensc/pkcs11/wrap/PKCS11Certificate.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
importjavax.security.auth.x500.X500Principal;
3939

40-
importsun.security.util.BigInt;
40+
importjava.math.BigInteger;
4141

4242
/**
4343
* This class manages X509 certificates stored on the card.
@@ -52,7 +52,7 @@ public class PKCS11Certificate extends PKCS11Object
5252

5353
privateX500Principalsubject;
5454
privateX500Principalissuer;
55-
privateBigIntserial;
55+
privateBigIntegerserial;
5656

5757
/**
5858
* @param session The session to which we are associated.
@@ -72,7 +72,7 @@ protected PKCS11Certificate(PKCS11Session session, long handle)
7272
this.issuer =newX500Principal(raw_issuer);
7373

7474
byte[]raw_serial =getRawAttribute(PKCS11Attribute.CKA_SERIAL_NUMBER);
75-
this.serial =newBigInt(raw_serial);
75+
this.serial =newBigInteger(raw_serial);
7676
}
7777

7878
/**
@@ -176,7 +176,7 @@ public X500Principal getIssuer()
176176
/**
177177
* @return Returns the serial, which is the value of the CKA_SERIAL_NUMBER attribute.
178178
*/
179-
publicBigIntgetSerial()
179+
publicBigIntegergetSerial()
180180
{
181181
returnthis.serial;
182182
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp