Java Doc for X509CertImpl.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » security » provider » cert » 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 » Apache Harmony Java SE » org package » org.apache.harmony.security.provider.cert 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.security.x509.Certificate
      java.security.cert.X509Certificate
         org.apache.harmony.security.provider.cert.X509CertImpl

X509CertImpl
public class X509CertImpl extends X509Certificate (Code)
This class is an implementation of X509Certificate. It wraps the instance of org.apache.harmony.security.x509.Certificate built on the base of provided ASN.1 DER encoded form of Certificate structure (as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt).
See Also:   org.apache.harmony.security.x509.Certificate
See Also:   java.security.cert.X509Certificate



Constructor Summary
public  X509CertImpl(InputStream in)
     Constructs the instance on the base of ASN.1 encoded form of X.509 certificate provided via stream parameter.
public  X509CertImpl(Certificate certificate)
     Constructs the instance on the base of existing Certificate object to be wrapped.
public  X509CertImpl(byte[] encoding)
     Constructs the instance on the base of ASN.1 encoded form of X.509 certificate provided via array of bytes.

Method Summary
public  voidcheckValidity()
    
public  voidcheckValidity(Date date)
    
public  intgetBasicConstraints()
    
public  SetgetCriticalExtensionOIDs()
    
public  byte[]getEncoded()
    
public  ListgetExtendedKeyUsage()
    
public  byte[]getExtensionValue(String oid)
    
public  CollectiongetIssuerAlternativeNames()
    
public  PrincipalgetIssuerDN()
    
public  boolean[]getIssuerUniqueID()
    
public  X500PrincipalgetIssuerX500Principal()
    
public  boolean[]getKeyUsage()
    
public  SetgetNonCriticalExtensionOIDs()
    
public  DategetNotAfter()
    
public  DategetNotBefore()
    
public  PublicKeygetPublicKey()
    
public  BigIntegergetSerialNumber()
    
public  StringgetSigAlgName()
    
public  StringgetSigAlgOID()
    
public  byte[]getSigAlgParams()
    
public  byte[]getSignature()
    
public  CollectiongetSubjectAlternativeNames()
    
public  PrincipalgetSubjectDN()
    
public  boolean[]getSubjectUniqueID()
    
public  X500PrincipalgetSubjectX500Principal()
    
public  byte[]getTBSCertificate()
    
public  intgetVersion()
    
public  booleanhasUnsupportedCriticalExtension()
    
public  StringtoString()
    
public  voidverify(PublicKey key)
     Verifies the signature of the certificate.
public  voidverify(PublicKey key, String sigProvider)
     Verifies the signature of the certificate.


Constructor Detail
X509CertImpl
public X509CertImpl(InputStream in) throws CertificateException(Code)
Constructs the instance on the base of ASN.1 encoded form of X.509 certificate provided via stream parameter.
Parameters:
  in - input stream containing ASN.1 encoded form of certificate.
throws:
  CertificateException - if some decoding problems occur.



X509CertImpl
public X509CertImpl(Certificate certificate)(Code)
Constructs the instance on the base of existing Certificate object to be wrapped.



X509CertImpl
public X509CertImpl(byte[] encoding) throws IOException(Code)
Constructs the instance on the base of ASN.1 encoded form of X.509 certificate provided via array of bytes.
Parameters:
  encoding - byte array containing ASN.1 encoded form of certificate.
throws:
  IOException - if some decoding problems occur.




Method Detail
checkValidity
public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException(Code)

See Also:   java.security.cert.X509Certificate.checkValidity
See Also:   method documentation for more information.



checkValidity
public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException(Code)

See Also:   java.security.cert.X509Certificate.checkValidity(Date)
See Also:   method documentation for more information.



getBasicConstraints
public int getBasicConstraints()(Code)

See Also:   java.security.cert.X509Certificate.getBasicConstraints
See Also:   method documentation for more information.



getCriticalExtensionOIDs
public Set getCriticalExtensionOIDs()(Code)

See Also:   java.security.cert.X509Extension.getCriticalExtensionOIDs
See Also:   method documentation for more information.



getEncoded
public byte[] getEncoded() throws CertificateEncodingException(Code)

See Also:   java.security.cert.Certificate.getEncoded
See Also:   method documentation for more information.



getExtendedKeyUsage
public List getExtendedKeyUsage() throws CertificateParsingException(Code)

See Also:   java.security.cert.X509Certificate.getExtendedKeyUsage
See Also:   method documentation for more information.



getExtensionValue
public byte[] getExtensionValue(String oid)(Code)

See Also:   java.security.cert.X509Extension.getExtensionValue(String)
See Also:   method documentation for more information.



getIssuerAlternativeNames
public Collection getIssuerAlternativeNames() throws CertificateParsingException(Code)

See Also:   java.security.cert.X509Certificate.getIssuerAlternativeNames
See Also:   method documentation for more information.



getIssuerDN
public Principal getIssuerDN()(Code)

See Also:   java.security.cert.X509Certificate.getIssuerDN
See Also:   method documentation for more information.



getIssuerUniqueID
public boolean[] getIssuerUniqueID()(Code)

See Also:   java.security.cert.X509Certificate.getIssuerUniqueID
See Also:   method documentation for more information.



getIssuerX500Principal
public X500Principal getIssuerX500Principal()(Code)

See Also:   java.security.cert.X509Certificate.getIssuerX500Principal
See Also:   method documentation for more information.



getKeyUsage
public boolean[] getKeyUsage()(Code)

See Also:   java.security.cert.X509Certificate.getKeyUsage
See Also:   method documentation for more information.



getNonCriticalExtensionOIDs
public Set getNonCriticalExtensionOIDs()(Code)

See Also:   java.security.cert.X509Extension.getNonCriticalExtensionOIDs
See Also:   method documentation for more information.



getNotAfter
public Date getNotAfter()(Code)

See Also:   java.security.cert.X509Certificate.getNotAfter
See Also:   method documentation for more information.



getNotBefore
public Date getNotBefore()(Code)

See Also:   java.security.cert.X509Certificate.getNotBefore
See Also:   method documentation for more information.



getPublicKey
public PublicKey getPublicKey()(Code)

See Also:   java.security.cert.Certificate.getPublicKey
See Also:   method documentation for more information.



getSerialNumber
public BigInteger getSerialNumber()(Code)

See Also:   java.security.cert.X509Certificate.getSerialNumber
See Also:   method documentation for more information.



getSigAlgName
public String getSigAlgName()(Code)

See Also:   java.security.cert.X509Certificate.getSigAlgName
See Also:   method documentation for more information.



getSigAlgOID
public String getSigAlgOID()(Code)

See Also:   java.security.cert.X509Certificate.getSigAlgOID
See Also:   method documentation for more information.



getSigAlgParams
public byte[] getSigAlgParams()(Code)

See Also:   java.security.cert.X509Certificate.getSigAlgParams
See Also:   method documentation for more information.



getSignature
public byte[] getSignature()(Code)

See Also:   java.security.cert.X509Certificate.getSignature
See Also:   method documentation for more information.



getSubjectAlternativeNames
public Collection getSubjectAlternativeNames() throws CertificateParsingException(Code)

See Also:   java.security.cert.X509Certificate.getSubjectAlternativeNames
See Also:   method documentation for more information.



getSubjectDN
public Principal getSubjectDN()(Code)

See Also:   java.security.cert.X509Certificate.getSubjectDN
See Also:   method documentation for more information.



getSubjectUniqueID
public boolean[] getSubjectUniqueID()(Code)

See Also:   java.security.cert.X509Certificate.getSubjectUniqueID
See Also:   method documentation for more information.



getSubjectX500Principal
public X500Principal getSubjectX500Principal()(Code)

See Also:   java.security.cert.X509Certificate.getSubjectX500Principal
See Also:   method documentation for more information.



getTBSCertificate
public byte[] getTBSCertificate() throws CertificateEncodingException(Code)

See Also:   java.security.cert.X509Certificate.getTBSCertificate
See Also:   method documentation for more information.



getVersion
public int getVersion()(Code)

See Also:   java.security.cert.X509Certificate.getVersion
See Also:   method documentation for more information.



hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()(Code)

See Also:   java.security.cert.X509Extension.hasUnsupportedCriticalExtension
See Also:   method documentation for more information.



toString
public String toString()(Code)

See Also:   java.security.cert.Certificate.toString
See Also:   method documentation for more information.



verify
public void verify(PublicKey key) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException(Code)
Verifies the signature of the certificate.
See Also:   java.security.cert.Certificate.verify(PublicKey)
See Also:   method documentation for more information.



verify
public void verify(PublicKey key, String sigProvider) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException(Code)
Verifies the signature of the certificate.
See Also:   java.security.cert.Certificate.verify(PublicKeyString)
See Also:   method documentation for more information.



Methods inherited from java.security.cert.X509Certificate
abstract public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException(Code)(Java Doc)
abstract public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException(Code)(Java Doc)
abstract public int getBasicConstraints()(Code)(Java Doc)
public List<String> getExtendedKeyUsage() throws CertificateParsingException(Code)(Java Doc)
public Collection<List<?>> getIssuerAlternativeNames() throws CertificateParsingException(Code)(Java Doc)
abstract public Principal getIssuerDN()(Code)(Java Doc)
abstract public boolean[] getIssuerUniqueID()(Code)(Java Doc)
public X500Principal getIssuerX500Principal()(Code)(Java Doc)
abstract public boolean[] getKeyUsage()(Code)(Java Doc)
abstract public Date getNotAfter()(Code)(Java Doc)
abstract public Date getNotBefore()(Code)(Java Doc)
abstract public BigInteger getSerialNumber()(Code)(Java Doc)
abstract public String getSigAlgName()(Code)(Java Doc)
abstract public String getSigAlgOID()(Code)(Java Doc)
abstract public byte[] getSigAlgParams()(Code)(Java Doc)
abstract public byte[] getSignature()(Code)(Java Doc)
public Collection<List<?>> getSubjectAlternativeNames() throws CertificateParsingException(Code)(Java Doc)
abstract public Principal getSubjectDN()(Code)(Java Doc)
abstract public boolean[] getSubjectUniqueID()(Code)(Java Doc)
public X500Principal getSubjectX500Principal()(Code)(Java Doc)
abstract public byte[] getTBSCertificate() throws CertificateEncodingException(Code)(Java Doc)
abstract public int getVersion()(Code)(Java Doc)

Fields inherited from org.apache.harmony.security.x509.Certificate
final public static ASN1Sequence ASN1(Code)(Java Doc)

Methods inherited from org.apache.harmony.security.x509.Certificate
public byte[] getEncoded()(Code)(Java Doc)
public AlgorithmIdentifier getSignatureAlgorithm()(Code)(Java Doc)
public byte[] getSignatureValue()(Code)(Java Doc)
public TBSCertificate getTbsCertificate()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.