Skip to content

Commit 9c272cc

Browse files
committed
replaced DERBitString with super class.
1 parent fedf8b4 commit 9c272cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/main/java/org/bouncycastle/asn1/pkcs/CertificationRequest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.bouncycastle.asn1.pkcs;
22

3+
import org.bouncycastle.asn1.ASN1BitString;
34
import org.bouncycastle.asn1.ASN1EncodableVector;
45
import org.bouncycastle.asn1.ASN1Object;
56
import org.bouncycastle.asn1.ASN1Primitive;
@@ -23,7 +24,7 @@ public class CertificationRequest
2324
{
2425
protected CertificationRequestInfo reqInfo = null;
2526
protected AlgorithmIdentifier sigAlgId = null;
26-
protected DERBitString sigBits = null;
27+
protected ASN1BitString sigBits = null;
2728

2829
public static CertificationRequest getInstance(Object o)
2930
{
@@ -47,7 +48,7 @@ protected CertificationRequest()
4748
public CertificationRequest(
4849
CertificationRequestInfo requestInfo,
4950
AlgorithmIdentifier algorithm,
50-
DERBitString signature)
51+
ASN1BitString signature)
5152
{
5253
this.reqInfo = requestInfo;
5354
this.sigAlgId = algorithm;
@@ -75,7 +76,7 @@ public AlgorithmIdentifier getSignatureAlgorithm()
7576
return sigAlgId;
7677
}
7778

78-
public DERBitString getSignature()
79+
public ASN1BitString getSignature()
7980
{
8081
return sigBits;
8182
}

0 commit comments

Comments
 (0)