Java Doc for X509CertImplTest.java in » Apache-Harmony-Java-SE » org-package » org » apache » harmony » security » tests » 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.tests.provider.cert
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.harmony.security.tests.provider.cert
.X509CertImplTest
X509CertImplTest
public
class X509CertImplTest extends TestCase
(Code)
X509CertImplTest
Field Summary
String
algName
String
algOID
byte[]
algParams
List
allCritical
List
allNonCritical
byte[]
certEncoding
public
X509Certificate
certificate
byte[]
extValEncoding
Extension
[]
extensions
int
extnBCLen
List
extnExtendedKeyUsage
static
GeneralNames
extnIANames
boolean[]
extnKeyUsage
static
GeneralNames
extnSANames
String
issuerName
boolean[]
issuerUniqueID
byte[]
key
byte[]
keyEncoding
static
NameConstraints
nameConstraints
long
notAfter
long
notBefore
static
PrivateKey
privateKey
static
PublicKey
publicKey
BigInteger
serialNumber
byte[]
signatureValue
static byte[]
signatureValueBytes
String
subjectName
boolean[]
subjectUniqueID
byte[]
tbsCertEncoding
int
version
Method Summary
public
static void
main
(
String
[] args)
public
static void
printAsHex
(int perLine,
String
prefix,
String
delimiter, byte[] data)
protected
void
setUp
()
Creates the master certificate on the base of which all functionality will be tested.
public
static Test
suite
()
public
void
testCheckValidity1
()
checkValidity() method testing.
public
void
testCheckValidity2
()
checkValidity(Date date) method testing.
public
void
testCreation
()
public
void
testGetBasicConstraints
()
getBasicConstraints() method testing.
public
void
testGetCriticalExtensionOIDs
()
getCriticalExtensionOIDs() method testing.
public
void
testGetEncoded
()
getEncoded() method testing.
public
void
testGetExtendedKeyUsage
()
getExtendedKeyUsage() method testing.
public
void
testGetExtensionValue
()
getExtensionValue(String oid) method testing.
public
void
testGetIssuerAlternativeNames
()
getIssuerAlternativeNames() method testing.
public
void
testGetIssuerDN
()
getIssuerDN() method testing.
public
void
testGetIssuerUniqueID
()
getIssuerUniqueID() method testing.
public
void
testGetIssuerX500Principal
()
getIssuerX500Principal() method testing.
public
void
testGetKeyUsage
()
getKeyUsage() method testing.
public
void
testGetNonCriticalExtensionOIDs
()
getNonCriticalExtensionOIDs() method testing.
public
void
testGetNotAfter
()
getNotAfter() method testing.
public
void
testGetNotBefore
()
getNotBefore() method testing.
public
void
testGetPublicKey
()
getPublicKey() method testing.
public
void
testGetSerialNumber
()
getSerialNumber() method testing.
public
void
testGetSigAlgName
()
getSigAlgName() method testing.
public
void
testGetSigAlgOID
()
getSigAlgOID() method testing.
public
void
testGetSigAlgParams
()
getSigAlgParams() method testing.
public
void
testGetSignature
()
getSignature() method testing.
public
void
testGetSubjectAlternativeNames
()
getSubjectAlternativeNames() method testing.
public
void
testGetSubjectDN
()
getSubjectDN() method testing.
public
void
testGetSubjectUniqueID
()
getSubjectUniqueID() method testing.
public
void
testGetSubjectX500Principal
()
getSubjectX500Principal() method testing.
public
void
testGetTBSCertificate
()
getTBSCertificate() method testing.
public
void
testGetVersion
()
public
void
testHasUnsupportedCriticalExtension
()
hasUnsupportedCriticalExtension() method testing.
public
void
testToString
()
toString() method testing.
public
void
testVerify1
()
TODO verify(PublicKey key) method testing.
public
void
testVerify2
()
TODO verify(PublicKey key, String sigProvider) method testing.
public
void
testVerify3
()
TODO verify(PublicKey key) method testing.
Field Detail
algName
String
algName
(Code)
algOID
String
algOID
(Code)
algParams
byte[] algParams
(Code)
allCritical
List
allCritical
(Code)
allNonCritical
List
allNonCritical
(Code)
certEncoding
byte[] certEncoding
(Code)
certificate
public
X509Certificate
certificate
(Code)
extValEncoding
byte[] extValEncoding
(Code)
extensions
Extension
[] extensions
(Code)
extnBCLen
int extnBCLen
(Code)
extnExtendedKeyUsage
List
extnExtendedKeyUsage
(Code)
extnIANames
static
GeneralNames
extnIANames
(Code)
extnKeyUsage
boolean[] extnKeyUsage
(Code)
extnSANames
static
GeneralNames
extnSANames
(Code)
issuerName
String
issuerName
(Code)
issuerUniqueID
boolean[] issuerUniqueID
(Code)
key
byte[] key
(Code)
keyEncoding
byte[] keyEncoding
(Code)
nameConstraints
static
NameConstraints
nameConstraints
(Code)
notAfter
long notAfter
(Code)
notBefore
long notBefore
(Code)
privateKey
static
PrivateKey
privateKey
(Code)
publicKey
static
PublicKey
publicKey
(Code)
serialNumber
BigInteger
serialNumber
(Code)
signatureValue
byte[] signatureValue
(Code)
signatureValueBytes
static byte[] signatureValueBytes
(Code)
subjectName
String
subjectName
(Code)
subjectUniqueID
boolean[] subjectUniqueID
(Code)
tbsCertEncoding
byte[] tbsCertEncoding
(Code)
version
int version
(Code)
Method Detail
main
public
static void main(
String
[] args) throws
Exception
(Code)
printAsHex
public
static void printAsHex(int perLine,
String
prefix,
String
delimiter, byte[] data)
(Code)
setUp
protected
void setUp() throws
java.lang.Exception
(Code)
Creates the master certificate on the base of which all functionality will be tested.
throws:
java.lang.Exception
-
suite
public
static Test suite()
(Code)
testCheckValidity1
public
void testCheckValidity1()
(Code)
checkValidity() method testing.
testCheckValidity2
public
void testCheckValidity2()
(Code)
checkValidity(Date date) method testing.
testCreation
public
void testCreation() throws
Exception
(Code)
testGetBasicConstraints
public
void testGetBasicConstraints()
(Code)
getBasicConstraints() method testing.
testGetCriticalExtensionOIDs
public
void testGetCriticalExtensionOIDs()
(Code)
getCriticalExtensionOIDs() method testing.
testGetEncoded
public
void testGetEncoded()
(Code)
getEncoded() method testing.
testGetExtendedKeyUsage
public
void testGetExtendedKeyUsage() throws
Exception
(Code)
getExtendedKeyUsage() method testing.
testGetExtensionValue
public
void testGetExtensionValue()
(Code)
getExtensionValue(String oid) method testing.
testGetIssuerAlternativeNames
public
void testGetIssuerAlternativeNames()
(Code)
getIssuerAlternativeNames() method testing.
testGetIssuerDN
public
void testGetIssuerDN()
(Code)
getIssuerDN() method testing.
testGetIssuerUniqueID
public
void testGetIssuerUniqueID()
(Code)
getIssuerUniqueID() method testing.
testGetIssuerX500Principal
public
void testGetIssuerX500Principal()
(Code)
getIssuerX500Principal() method testing.
testGetKeyUsage
public
void testGetKeyUsage()
(Code)
getKeyUsage() method testing.
testGetNonCriticalExtensionOIDs
public
void testGetNonCriticalExtensionOIDs()
(Code)
getNonCriticalExtensionOIDs() method testing.
testGetNotAfter
public
void testGetNotAfter()
(Code)
getNotAfter() method testing.
testGetNotBefore
public
void testGetNotBefore()
(Code)
getNotBefore() method testing.
testGetPublicKey
public
void testGetPublicKey()
(Code)
getPublicKey() method testing.
testGetSerialNumber
public
void testGetSerialNumber()
(Code)
getSerialNumber() method testing.
testGetSigAlgName
public
void testGetSigAlgName()
(Code)
getSigAlgName() method testing.
testGetSigAlgOID
public
void testGetSigAlgOID()
(Code)
getSigAlgOID() method testing.
testGetSigAlgParams
public
void testGetSigAlgParams()
(Code)
getSigAlgParams() method testing.
testGetSignature
public
void testGetSignature()
(Code)
getSignature() method testing.
testGetSubjectAlternativeNames
public
void testGetSubjectAlternativeNames()
(Code)
getSubjectAlternativeNames() method testing.
testGetSubjectDN
public
void testGetSubjectDN()
(Code)
getSubjectDN() method testing.
testGetSubjectUniqueID
public
void testGetSubjectUniqueID()
(Code)
getSubjectUniqueID() method testing.
testGetSubjectX500Principal
public
void testGetSubjectX500Principal()
(Code)
getSubjectX500Principal() method testing.
testGetTBSCertificate
public
void testGetTBSCertificate()
(Code)
getTBSCertificate() method testing.
testGetVersion
public
void testGetVersion() throws
IOException
(Code)
testHasUnsupportedCriticalExtension
public
void testHasUnsupportedCriticalExtension()
(Code)
hasUnsupportedCriticalExtension() method testing.
testToString
public
void testToString()
(Code)
toString() method testing.
testVerify1
public
void testVerify1() throws
Exception
(Code)
TODO verify(PublicKey key) method testing.
testVerify2
public
void testVerify2() throws
Exception
(Code)
TODO verify(PublicKey key, String sigProvider) method testing.
testVerify3
public
void testVerify3() throws
Exception
(Code)
TODO verify(PublicKey key) method testing.
ww___w___._jav__a2__s___.___c_o_m__
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.