Java Doc for X509CRLEntryImpl.java in  » 6.0-JDK-Modules » j2me » sun » security » 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 » 6.0 JDK Modules » j2me » sun.security.x509 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.security.cert.X509CRLEntry
      sun.security.x509.X509CRLEntryImpl

X509CRLEntryImpl
public class X509CRLEntryImpl extends X509CRLEntry (Code)

Abstract class for a revoked certificate in a CRL. This class is for each entry in the revokedCertificates, so it deals with the inner SEQUENCE. The ASN.1 definition for this is:

 revokedCertificates    SEQUENCE OF SEQUENCE  {
 userCertificate    CertificateSerialNumber,
 revocationDate     ChoiceOfTime,
 crlEntryExtensions Extensions OPTIONAL
 -- if present, must be v2
 }  OPTIONAL
 CertificateSerialNumber  ::=  INTEGER
 Extensions  ::=  SEQUENCE SIZE (1..MAX) OF Extension
 Extension  ::=  SEQUENCE  {
 extnId        OBJECT IDENTIFIER,
 critical      BOOLEAN DEFAULT FALSE,
 extnValue     OCTET STRING
 -- contains a DER encoding of a value
 -- of the type registered for use with
 -- the extnId object identifier value
 }
 

author:
   Hemma Prafullchandra
version:
   1.16 02/02/00



Constructor Summary
public  X509CRLEntryImpl(BigInteger num, Date date)
     Constructs a revoked certificate entry using the given serial number and revocation date.
public  X509CRLEntryImpl(BigInteger num, Date date, CRLExtensions crlEntryExts)
     Constructs a revoked certificate entry using the given serial number, revocation date and the entry extensions.
public  X509CRLEntryImpl(byte[] revokedCert)
     Unmarshals a revoked certificate from its encoded form.
public  X509CRLEntryImpl(DerValue derValue)
     Unmarshals a revoked certificate from its encoded form.

Method Summary
public  voidencode(DerOutputStream outStrm)
     Encodes the revoked certificate to an output stream.
public  SetgetCriticalExtensionOIDs()
     Gets a Set of the extension(s) marked CRITICAL in this X509CRLEntry.
public  byte[]getEncoded()
     Returns the ASN.1 DER-encoded form of this CRL Entry, which corresponds to the inner SEQUENCE.
public  ExtensiongetExtension(ObjectIdentifier oid)
    
public  byte[]getExtensionValue(String oid)
     Gets the DER encoded OCTET string for the extension value (extnValue) identified by the passed in oid String. The oid string is represented by a set of positive whole number separated by ".", that means,
<positive whole number>.<positive whole number>.<positive whole number>.<...>
Parameters:
  oid - the Object Identifier value for the extension.
public  SetgetNonCriticalExtensionOIDs()
     Gets a Set of the extension(s) marked NON-CRITICAL in this X509CRLEntry.
public  IntegergetReasonCode()
     get Reason Code from CRL entry.
public  DategetRevocationDate()
     Gets the revocation date from this X509CRLEntry, the revocationDate.
public  BigIntegergetSerialNumber()
     Gets the serial number from this X509CRLEntry, i.e.
public  booleanhasExtensions()
     Returns true if this revoked certificate entry has extensions, otherwise false.
public  booleanhasUnsupportedCriticalExtension()
     Return true if a critical extension is found that is not supported, otherwise return false.
public static  X509CRLEntryImpltoImpl(X509CRLEntry entry)
     Utility method to convert an arbitrary instance of X509CRLEntry to a X509CRLEntryImpl.
public  StringtoString()
     Returns a printable string of this revoked certificate.


Constructor Detail
X509CRLEntryImpl
public X509CRLEntryImpl(BigInteger num, Date date)(Code)
Constructs a revoked certificate entry using the given serial number and revocation date.
Parameters:
  num - the serial number of the revoked certificate.
Parameters:
  date - the Date on which revocation took place.



X509CRLEntryImpl
public X509CRLEntryImpl(BigInteger num, Date date, CRLExtensions crlEntryExts)(Code)
Constructs a revoked certificate entry using the given serial number, revocation date and the entry extensions.
Parameters:
  num - the serial number of the revoked certificate.
Parameters:
  date - the Date on which revocation took place.
Parameters:
  crlEntryExts - the extensions for this entry.



X509CRLEntryImpl
public X509CRLEntryImpl(byte[] revokedCert) throws CRLException(Code)
Unmarshals a revoked certificate from its encoded form.
Parameters:
  revokedCert - the encoded bytes.
exception:
  CRLException - on parsing errors.



X509CRLEntryImpl
public X509CRLEntryImpl(DerValue derValue) throws CRLException(Code)
Unmarshals a revoked certificate from its encoded form.
Parameters:
  derVal - the DER value containing the revoked certificate.
exception:
  CRLException - on parsing errors.




Method Detail
encode
public void encode(DerOutputStream outStrm) throws CRLException(Code)
Encodes the revoked certificate to an output stream.
Parameters:
  outStrm - an output stream to which the encoded revokedcertificate is written.
exception:
  CRLException - on encoding errors.



getCriticalExtensionOIDs
public Set getCriticalExtensionOIDs()(Code)
Gets a Set of the extension(s) marked CRITICAL in this X509CRLEntry. In the returned set, each extension is represented by its OID string. a set of the extension oid strings in theObject that are marked critical.



getEncoded
public byte[] getEncoded() throws CRLException(Code)
Returns the ASN.1 DER-encoded form of this CRL Entry, which corresponds to the inner SEQUENCE.
exception:
  CRLException - if an encoding error occurs.



getExtension
public Extension getExtension(ObjectIdentifier oid)(Code)
get an extension
Parameters:
  oid - ObjectIdentifier of extension desired



getExtensionValue
public byte[] getExtensionValue(String oid)(Code)
Gets the DER encoded OCTET string for the extension value (extnValue) identified by the passed in oid String. The oid string is represented by a set of positive whole number separated by ".", that means,
<positive whole number>.<positive whole number>.<positive whole number>.<...>
Parameters:
  oid - the Object Identifier value for the extension. the DER encoded octet string of the extension value.



getNonCriticalExtensionOIDs
public Set getNonCriticalExtensionOIDs()(Code)
Gets a Set of the extension(s) marked NON-CRITICAL in this X509CRLEntry. In the returned set, each extension is represented by its OID string. a set of the extension oid strings in theObject that are marked critical.



getReasonCode
public Integer getReasonCode() throws IOException(Code)
get Reason Code from CRL entry.
throws:
  IOException - on error



getRevocationDate
public Date getRevocationDate()(Code)
Gets the revocation date from this X509CRLEntry, the revocationDate. the revocation date.



getSerialNumber
public BigInteger getSerialNumber()(Code)
Gets the serial number from this X509CRLEntry, i.e. the userCertificate. the serial number.



hasExtensions
public boolean hasExtensions()(Code)
Returns true if this revoked certificate entry has extensions, otherwise false. true if this CRL entry has extensions, otherwisefalse.



hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()(Code)
Return true if a critical extension is found that is not supported, otherwise return false.



toImpl
public static X509CRLEntryImpl toImpl(X509CRLEntry entry) throws CRLException(Code)
Utility method to convert an arbitrary instance of X509CRLEntry to a X509CRLEntryImpl. Does a cast if possible, otherwise reparses the encoding.



toString
public String toString()(Code)
Returns a printable string of this revoked certificate. value of this revoked certificate in a printable form.



Methods inherited from java.security.cert.X509CRLEntry
public boolean equals(Object other)(Code)(Java Doc)
abstract public byte[] getEncoded() throws CRLException(Code)(Java Doc)
abstract public Date getRevocationDate()(Code)(Java Doc)
abstract public BigInteger getSerialNumber()(Code)(Java Doc)
abstract public boolean hasExtensions()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.