Source Code Cross Referenced for X509AttributeCertificate.java in  » Security » Bouncy-Castle » org » bouncycastle » x509 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Security » Bouncy Castle » org.bouncycastle.x509 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.bouncycastle.x509;
002:
003:        import java.io.IOException;
004:        import java.math.BigInteger;
005:        import java.security.InvalidKeyException;
006:        import java.security.NoSuchAlgorithmException;
007:        import java.security.NoSuchProviderException;
008:        import java.security.PublicKey;
009:        import java.security.SignatureException;
010:        import java.security.cert.CertificateException;
011:        import java.security.cert.CertificateExpiredException;
012:        import java.security.cert.CertificateNotYetValidException;
013:        import java.security.cert.X509Extension;
014:        import java.util.Date;
015:
016:        /**
017:         * Interface for an X.509 Attribute Certificate.
018:         */
019:        public interface X509AttributeCertificate extends X509Extension {
020:            /**
021:             * Return the version number for the certificate.
022:             * 
023:             * @return the version number.
024:             */
025:            public int getVersion();
026:
027:            /**
028:             * Return the serial number for the certificate.
029:             * 
030:             * @return the serial number.
031:             */
032:            public BigInteger getSerialNumber();
033:
034:            /**
035:             * Return the date before which the certificate is not valid.
036:             * 
037:             * @return the "not valid before" date.
038:             */
039:            public Date getNotBefore();
040:
041:            /**
042:             * Return the date after which the certificate is not valid.
043:             * 
044:             * @return the "not valid afer" date.
045:             */
046:            public Date getNotAfter();
047:
048:            /**
049:             * Return the holder of the certificate.
050:             * 
051:             * @return the holder.
052:             */
053:            public AttributeCertificateHolder getHolder();
054:
055:            /**
056:             * Return the issuer details for the certificate.
057:             * 
058:             * @return the issuer details.
059:             */
060:            public AttributeCertificateIssuer getIssuer();
061:
062:            /**
063:             * Return the attributes contained in the attribute block in the certificate.
064:             * 
065:             * @return an array of attributes.
066:             */
067:            public X509Attribute[] getAttributes();
068:
069:            /**
070:             * Return the attributes with the same type as the passed in oid.
071:             * 
072:             * @param oid the object identifier we wish to match.
073:             * @return an array of matched attributes, null if there is no match.
074:             */
075:            public X509Attribute[] getAttributes(String oid);
076:
077:            public boolean[] getIssuerUniqueID();
078:
079:            public void checkValidity() throws CertificateExpiredException,
080:                    CertificateNotYetValidException;
081:
082:            public void checkValidity(Date date)
083:                    throws CertificateExpiredException,
084:                    CertificateNotYetValidException;
085:
086:            public byte[] getSignature();
087:
088:            public void verify(PublicKey key, String provider)
089:                    throws CertificateException, NoSuchAlgorithmException,
090:                    InvalidKeyException, NoSuchProviderException,
091:                    SignatureException;
092:
093:            /**
094:             * Return an ASN.1 encoded byte array representing the attribute certificate.
095:             * 
096:             * @return an ASN.1 encoded byte array.
097:             * @throws IOException if the certificate cannot be encoded.
098:             */
099:            public byte[] getEncoded() throws IOException;
100:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.