1 |
/* X509CRL.java --- X.509 Certificate Revocation List |
/* X509CRL.java --- X.509 Certificate Revocation List |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
37 |
|
|
38 |
|
|
39 |
package java.security.cert; |
package java.security.cert; |
40 |
|
|
41 |
import java.math.BigInteger; |
import java.math.BigInteger; |
|
import java.security.Principal; |
|
|
import java.security.PublicKey; |
|
|
import java.security.NoSuchAlgorithmException; |
|
42 |
import java.security.InvalidKeyException; |
import java.security.InvalidKeyException; |
43 |
|
import java.security.NoSuchAlgorithmException; |
44 |
import java.security.NoSuchProviderException; |
import java.security.NoSuchProviderException; |
45 |
|
import java.security.Principal; |
46 |
|
import java.security.PublicKey; |
47 |
import java.security.SignatureException; |
import java.security.SignatureException; |
48 |
import java.util.Date; |
import java.util.Date; |
49 |
import java.util.Set; |
import java.util.Set; |
127 |
if( getEncoded().length != x.getEncoded().length ) |
if( getEncoded().length != x.getEncoded().length ) |
128 |
return false; |
return false; |
129 |
|
|
130 |
byte b1[] = getEncoded(); |
byte[] b1 = getEncoded(); |
131 |
byte b2[] = x.getEncoded(); |
byte[] b2 = x.getEncoded(); |
132 |
|
|
133 |
for( int i = 0; i < b1.length; i++ ) |
for( int i = 0; i < b1.length; i++ ) |
134 |
if( b1[i] != b2[i] ) |
if( b1[i] != b2[i] ) |