testSetKeyUsage() setKeyUsage(boolean[] keyUsage) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
getAuthorityKeyIdentifier() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
and its modification does not cause the modification of internal object.
getCertificate() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getCertificateValid() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
and its modification does not cause the modification of internal object.
getIssuer() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getIssuerAsBytes() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getIssuerAsString() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getKeyUsage() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
and its modification does not cause the modification of internal object.
testGetMatchAllSubjectAltNames
public void testGetMatchAllSubjectAltNames()(Code)
getPrivateKeyValid() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
and its modification does not cause the modification of internal object.
getSerialNumber() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getSubject() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
testGetSubjectAlternativeNames
public void testGetSubjectAlternativeNames()(Code)
getSubjectAsBytes() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getSubjectAsString() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
getSubjectKeyIdentifier() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
and its modification does not cause the modification of internal object.
testGetSubjectPublicKey1
public void testGetSubjectPublicKey1() throws Exception(Code)
getSubjectPublicKey() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value corresponds to specified
testGetSubjectPublicKey2
public void testGetSubjectPublicKey2() throws Exception(Code)
getSubjectPublicKey() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value corresponds to specified
getSubjectPublicKeyAlgID() method testing.
Tests if the method return null in the case of not specified criteria,
if the returned value [does not]corresponds to [not]specified
match(Certificate cert) method testing.
Tests if the null object matches to the selector or does not,
and if the certificate conforming to the multiple matching criteria
matches or does not..
setAuthorityKeyIdentifier(byte[] authorityKeyID) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
setCertificate(X509Certificate certificate) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match
setCertificateValid(Date certificateValid) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
setIssuer(X500Principal issuer) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match
setKeyUsage(boolean[] keyUsage) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization. Also checks if selector
matches the certificate which does not have a keyUsage extension.
testSetMatchAllSubjectAltNames
public void testSetMatchAllSubjectAltNames()(Code)
setNameConstraints(byte[] bytes) method testing.
Constructs the NameConstraints DER structure with
GeneralNames of types: 1, 2, 6, 7 and set it as a criterion.
setNameConstraints(byte[] bytes) method testing.
Constructs the NameConstraints DER structure with
GeneralNames of types: 1, 2, 6, 7 and set it as a criterion.
setNameConstraints(byte[] bytes) method testing.
Constructs the different NameConstraints DER structures with
GeneralNames of type 4 and checks if the different certificates
matches or does not.
setPrivateKeyValid(Date privateKeyValid) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
setSerialNumber(BigInteger serial) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match
setSubject(X500Principal subject) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match
setSubjectKeyIdentifier(byte[] subjectKeyID) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
testSetSubjectPublicKey1
public void testSetSubjectPublicKey1() throws Exception(Code)
setSubjectPublicKey(PublicKey key) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match.
testSetSubjectPublicKey2
public void testSetSubjectPublicKey2() throws Exception(Code)
setSubjectPublicKey(byte[] key) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match, and if the initialization
object are copied during the initialization.
testSetSubjectPublicKeyAlgID
public void testSetSubjectPublicKeyAlgID() throws Exception(Code)
setSubjectPublicKeyAlgID(String oid) method testing.
Tests if any certificates match in the case of null criteria,
if [not]proper certificates [do not]match