public function asUTCTime(): Primitive\UTCTime
    {
        if (!$this->_element instanceof Primitive\UTCTime) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_UTC_TIME));
        }
        return $this->_element;
    }
public function asUTCTime(): Primitive\UTCTime
    {
        if (!$this->_element instanceof Primitive\UTCTime) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_UTC_TIME));
        }
        return $this->_element;
    }
public function asUTCTime ( ) : Primitive \ UTCTime { if ( ! $ this -> _element instanceof Primitive \ UTCTime ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_UTC_TIME ) ) ; } return $ this -> _element ; }
Get the wrapped element as an UTC time type.

@throws \UnexpectedValueException If the element is not a UTC time
@return \ASN1\Type\Primitive\UTCTime
Get the wrapped element as an UTC time type .