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

Commit7c5fcbf

Browse files
author
Wolfgang Glas
committed
Refactor asn1 package in several subpackages.
1 parentd57d642 commit7c5fcbf

File tree

59 files changed

+120
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+120
-54
lines changed

‎pkcs15/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dependency>
5858
<groupId>org.bouncycastle</groupId>
5959
<artifactId>bcprov</artifactId>
60-
<version>jdk15-136</version>
60+
<version>jdk15-138</version>
6161
</dependency>
6262
<dependency>
6363
<groupId>junit</groupId>

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15Key.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
packageorg.opensc.pkcs15.asn1;
2424

25+
importorg.opensc.pkcs15.asn1.attr.CommonKeyAttributes;
26+
2527
/**
2628
* This interface is implemented by all private and public key objects.
2729
*

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15Object.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
packageorg.opensc.pkcs15.asn1;
2424

2525
importorg.bouncycastle.asn1.DEREncodable;
26+
importorg.opensc.pkcs15.asn1.attr.CommonObjectAttributes;
2627

2728
/**
2829
* This interface is implemented by all toplevel ASN.1 objects.

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15PrivateKey.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
packageorg.opensc.pkcs15.asn1;
2424

25+
importorg.opensc.pkcs15.asn1.attr.CommonPrivateKeyAttributes;
26+
2527
/**
2628
* This interface is implemented by all private key objects.
2729
*

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15PublicKey.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
packageorg.opensc.pkcs15.asn1;
2424

25+
importorg.opensc.pkcs15.asn1.attr.CommonPublicKeyAttributes;
26+
2527
publicinterfacePKCS15PublicKeyextendsPKCS15Key {
2628

2729
/**

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15RSAPrivateKey.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
importorg.bouncycastle.asn1.DERObject;
3333
importorg.bouncycastle.asn1.DERSequence;
3434
importorg.bouncycastle.asn1.DERTaggedObject;
35+
importorg.opensc.pkcs15.asn1.attr.CommonKeyAttributes;
36+
importorg.opensc.pkcs15.asn1.attr.CommonObjectAttributes;
37+
importorg.opensc.pkcs15.asn1.attr.CommonPrivateKeyAttributes;
38+
importorg.opensc.pkcs15.asn1.attr.PrivateRSAKeyAttributes;
39+
importorg.opensc.pkcs15.asn1.attr.RSAPrivateKeyObject;
40+
importorg.opensc.pkcs15.asn1.basic.RSAKeyInfo;
41+
importorg.opensc.pkcs15.asn1.proxy.Directory;
42+
importorg.opensc.pkcs15.asn1.ref.Path;
3543

3644
/**
3745
* <PRE>

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/PKCS15RSAPublicKey.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
importorg.bouncycastle.asn1.DERObject;
3333
importorg.bouncycastle.asn1.DERSequence;
3434
importorg.bouncycastle.asn1.DERTaggedObject;
35+
importorg.opensc.pkcs15.asn1.attr.CommonKeyAttributes;
36+
importorg.opensc.pkcs15.asn1.attr.CommonObjectAttributes;
37+
importorg.opensc.pkcs15.asn1.attr.CommonPublicKeyAttributes;
38+
importorg.opensc.pkcs15.asn1.attr.PublicRSAKeyAttributes;
39+
importorg.opensc.pkcs15.asn1.attr.RSAPublicKeyObject;
40+
importorg.opensc.pkcs15.asn1.basic.RSAKeyInfo;
41+
importorg.opensc.pkcs15.asn1.proxy.Directory;
42+
importorg.opensc.pkcs15.asn1.ref.Path;
3543

3644
/**
3745
* <PRE>

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/CommonCertificateAttributes.java‎renamed to ‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/attr/CommonCertificateAttributes.java‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
***********************************************************/
2222

23-
packageorg.opensc.pkcs15.asn1;
23+
packageorg.opensc.pkcs15.asn1.attr;
2424

2525
importjava.util.Enumeration;
2626

@@ -34,6 +34,9 @@
3434
importorg.bouncycastle.asn1.DERSequence;
3535
importorg.bouncycastle.asn1.DERTaggedObject;
3636
importorg.bouncycastle.asn1.cmp.OOBCertHash;
37+
importorg.opensc.pkcs15.asn1.basic.KeyIdentifier;
38+
importorg.opensc.pkcs15.asn1.basic.KeyIdentifiers;
39+
importorg.opensc.pkcs15.asn1.basic.Usage;
3740

3841
/**
3942
* <PRE>

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/CommonKeyAttributes.java‎renamed to ‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/attr/CommonKeyAttributes.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
***********************************************************/
2222

23-
packageorg.opensc.pkcs15.asn1;
23+
packageorg.opensc.pkcs15.asn1.attr;
2424

2525
importjava.math.BigInteger;
2626
importjava.util.Enumeration;
@@ -37,6 +37,8 @@
3737
importorg.bouncycastle.asn1.DERObject;
3838
importorg.bouncycastle.asn1.DERSequence;
3939
importorg.bouncycastle.asn1.DERTaggedObject;
40+
importorg.opensc.pkcs15.asn1.basic.KeyAccessFlags;
41+
importorg.opensc.pkcs15.asn1.basic.KeyUsageFlags;
4042

4143
/**
4244
* <PRE>

‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/CommonObjectAttributes.java‎renamed to ‎pkcs15/src/main/java/org/opensc/pkcs15/asn1/attr/CommonObjectAttributes.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
***********************************************************/
2222

23-
packageorg.opensc.pkcs15.asn1;
23+
packageorg.opensc.pkcs15.asn1.attr;
2424

2525
importjava.math.BigInteger;
2626
importjava.util.ArrayList;
@@ -36,6 +36,8 @@
3636
importorg.bouncycastle.asn1.DERObject;
3737
importorg.bouncycastle.asn1.DERSequence;
3838
importorg.bouncycastle.asn1.DERUTF8String;
39+
importorg.opensc.pkcs15.asn1.basic.AccessControlRule;
40+
importorg.opensc.pkcs15.asn1.basic.CommonObjectFlags;
3941

4042
/**
4143
* <PRE>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp