On Tue, 2005-07-19 at 10:40 +0100, Andrew Haley wrote: > Chris Hubick writes: > > [hubick@cs14 ~]$ eclipse > > Exception in thread "main" java.lang.NoSuchFieldError: field org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_RSAES_OAEP was not found. > > Does PKCSObjectIdentifiers contain this field or not? Does > BouncyCastleProvider refer to a field that doesn't exist? Courtesy of the Eclipse "Open Type" function, it appears as though it *does* exist (8th field down): public abstract interface org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers extends java.lang.Object { public static final java.lang.String pkcs_1 = "1.2.840.113549.1.1"; public static final org.bouncycastle.asn1.DERObjectIdentifier rsaEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier md2WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier md4WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier md5WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier sha1WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier srsaOAEPEncryptionSET; public static final org.bouncycastle.asn1.DERObjectIdentifier id_RSAES_OAEP; public static final org.bouncycastle.asn1.DERObjectIdentifier id_mgf1; public static final org.bouncycastle.asn1.DERObjectIdentifier id_pSpecified; public static final org.bouncycastle.asn1.DERObjectIdentifier id_RSASSA_PSS; public static final org.bouncycastle.asn1.DERObjectIdentifier sha256WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier sha384WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier sha512WithRSAEncryption; public static final org.bouncycastle.asn1.DERObjectIdentifier sha224WithRSAEncryption; public static final java.lang.String pkcs_3 = "1.2.840.113549.1.3"; public static final org.bouncycastle.asn1.DERObjectIdentifier dhKeyAgreement; public static final java.lang.String pkcs_5 = "1.2.840.113549.1.5"; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithMD2AndDES_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithMD2AndRC2_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithMD5AndDES_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithMD5AndRC2_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHA1AndDES_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHA1AndRC2_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier id_PBES2; public static final org.bouncycastle.asn1.DERObjectIdentifier id_PBKDF2; public static final java.lang.String encryptionAlgorithm = "1.2.840.113549.3"; public static final org.bouncycastle.asn1.DERObjectIdentifier des_EDE3_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier RC2_CBC; public static final java.lang.String digestAlgorithm = "1.2.840.113549.2"; public static final org.bouncycastle.asn1.DERObjectIdentifier md2; public static final org.bouncycastle.asn1.DERObjectIdentifier md4; public static final org.bouncycastle.asn1.DERObjectIdentifier md5; public static final org.bouncycastle.asn1.DERObjectIdentifier id_hmacWithSHA1; public static final java.lang.String pkcs_7 = "1.2.840.113549.1.7"; public static final org.bouncycastle.asn1.DERObjectIdentifier data; public static final org.bouncycastle.asn1.DERObjectIdentifier signedData; public static final org.bouncycastle.asn1.DERObjectIdentifier envelopedData; public static final org.bouncycastle.asn1.DERObjectIdentifier signedAndEnvelopedData; public static final org.bouncycastle.asn1.DERObjectIdentifier digestedData; public static final org.bouncycastle.asn1.DERObjectIdentifier encryptedData; public static final java.lang.String pkcs_9 = "1.2.840.113549.1.9"; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_emailAddress; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_unstructuredName; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_contentType; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_messageDigest; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_signingTime; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_counterSignature; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_challengePassword; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_unstructuredAddress; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_extendedCertificateAttributes; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_signingDescription; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_extensionRequest; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_smimeCapabilities; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_friendlyName; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs_9_at_localKeyId; public static final org.bouncycastle.asn1.DERObjectIdentifier x509certType; public static final org.bouncycastle.asn1.DERObjectIdentifier id_alg_PWRI_KEK; public static final org.bouncycastle.asn1.DERObjectIdentifier preferSignedData; public static final org.bouncycastle.asn1.DERObjectIdentifier canNotDecryptAny; public static final org.bouncycastle.asn1.DERObjectIdentifier sMIMECapabilitiesVersions; public static final java.lang.String id_ct = "1.2.840.113549.1.9.16.1"; public static final org.bouncycastle.asn1.DERObjectIdentifier id_ct_TSTInfo; public static final org.bouncycastle.asn1.DERObjectIdentifier id_ct_compressedData; public static final java.lang.String id_aa = "1.2.840.113549.1.9.16.2"; public static final org.bouncycastle.asn1.DERObjectIdentifier id_aa_encrypKeyPref; public static final org.bouncycastle.asn1.DERObjectIdentifier id_aa_signingCertificate; public static final java.lang.String pkcs_12 = "1.2.840.113549.1.12"; public static final java.lang.String bagtypes = "1.2.840.113549.1.12.10.1"; public static final org.bouncycastle.asn1.DERObjectIdentifier keyBag; public static final org.bouncycastle.asn1.DERObjectIdentifier pkcs8ShroudedKeyBag; public static final org.bouncycastle.asn1.DERObjectIdentifier certBag; public static final org.bouncycastle.asn1.DERObjectIdentifier crlBag; public static final org.bouncycastle.asn1.DERObjectIdentifier secretBag; public static final org.bouncycastle.asn1.DERObjectIdentifier safeContentsBag; public static final java.lang.String pkcs_12PbeIds = "1.2.840.113549.1.12.1"; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHAAnd128BitRC4; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHAAnd40BitRC4; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHAAnd3_KeyTripleDES_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHAAnd2_KeyTripleDES_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbeWithSHAAnd128BitRC2_CBC; public static final org.bouncycastle.asn1.DERObjectIdentifier pbewithSHAAnd40BitRC2_CBC; static {}; } -- Chris Hubick mailto:chris@xxxxxxxxxx http://www.hubick.com/