private void setVersion ( Object val ) throws CertificateException { if ( ! ( val instanceof CertificateVersion ) ) { throw new CertificateException ( "Version class type invalid." ) ; } version = ( CertificateVersion ) val ; }
Set the version number of the certificate .